From 085693dd5731d1614587493cd312f8193ad53057 Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Thu, 19 Dec 2024 10:36:54 -0800 Subject: [PATCH] Add support for recipe licenses Reworks how all recipe details are shown depending on what license the recipe has. --- docs/recipes/ai/findcommentslanguage.md | 8 ++++++-- .../ai/fixmisencodedcommentsinfrench.md | 11 +++++----- docs/recipes/ai/listallmethodsused.md | 8 ++++++-- .../ai/research/findcodethatresembles.md | 17 +++++++++------- docs/recipes/ai/research/getcodeembedding.md | 17 +++++++++------- .../recipes/ai/research/getrecommendations.md | 17 +++++++++------- docs/recipes/ai/spellcheckcommentsinfrench.md | 8 ++++++-- .../ai/spellcheckcommentsinfrenchpomxml.md | 8 ++++++-- .../solver/migration/changeversion.md | 11 +++++++--- .../fork/timefoldchangedependencies.md | 11 +++++++--- .../fromoptaplannertotimefoldsolver.md | 11 +++++++--- .../ai/timefold/solver/migration/tolatest.md | 11 +++++++--- .../solver/migration/v8/asconstraintrecipe.md | 9 +++++++-- .../migration/v8/constraintrefrecipe.md | 9 +++++++-- .../solver/migration/v8/nullablerecipe.md | 11 +++++++--- .../v8/removeconstraintpackagerecipe.md | 9 +++++++-- .../solver/migration/v8/scoregettersrecipe.md | 9 +++++++-- .../migration/v8/scoremanagermethodsrecipe.md | 9 +++++++-- .../singleconstraintassertionmethodsrecipe.md | 11 +++++++--- ...olutionmanagerrecommendassignmentrecipe.md | 11 +++++++--- .../v8/solvermanagerbuilderrecipe.md | 9 +++++++-- .../controlflow/controlflowvisualization.md | 14 ++++++++----- .../analysis/search/findflowbetweenmethods.md | 14 ++++++++----- docs/recipes/analysis/search/findmethods.md | 14 ++++++++----- .../search/uricreatedwithhttpscheme.md | 9 +++++++-- .../android/changeandroidsdkversion.md | 17 +++++++++------- .../migratetoandroidgradleplugin_7_2.md | 8 ++++++-- .../migratetoandroidgradleplugin_7_3.md | 8 ++++++-- .../migratetoandroidgradleplugin_7_4.md | 8 ++++++-- .../migratetoandroidgradleplugin_8_0.md | 8 ++++++-- .../migratetoandroidgradleplugin_8_1.md | 8 ++++++-- .../migratetoandroidgradleplugin_8_2.md | 8 ++++++-- .../migratetoandroidgradleplugin_8_3.md | 8 ++++++-- .../migratetoandroidgradleplugin_8_4.md | 8 ++++++-- .../migratetoandroidgradleplugin_8_5.md | 8 ++++++-- .../migratetoandroidgradleplugin_8_6.md | 8 ++++++-- .../migratetoandroidgradleplugin_8_7.md | 8 ++++++-- .../upgradeandroidgradlepluginversion.md | 20 +++++++++---------- docs/recipes/android/upgradetoandroidsdk33.md | 11 +++++----- docs/recipes/android/upgradetoandroidsdk34.md | 11 +++++----- docs/recipes/android/upgradetoandroidsdk35.md | 11 +++++----- .../commons/codec/apachebase64tojavabase64.md | 9 +++++++-- .../upgradeapachecommonscollections_3_4.md | 11 +++++++--- ...hecommonsfileutilsrecipes$getfilerecipe.md | 9 +++++++-- ...ileutilsrecipes$writestringtofilerecipe.md | 9 +++++++-- .../io/apachecommonsfileutilsrecipes.md | 11 +++++++--- .../commons/io/apachefileutilstojavafiles.md | 9 +++++++-- .../io/apacheioutilsuseexplicitcharset.md | 11 +++++++--- .../commons/io/relocateapachecommonsio.md | 9 +++++++-- .../apache/commons/io/usestandardcharsets.md | 11 +++++++--- .../commons/io/usesystemlineseparator.md | 9 +++++++-- ...monsstringutilsrecipes$abbreviaterecipe.md | 9 +++++++-- ...monsstringutilsrecipes$capitalizerecipe.md | 9 +++++++-- ...tilsrecipes$defaultstringfallbackrecipe.md | 9 +++++++-- ...sstringutilsrecipes$defaultstringrecipe.md | 9 +++++++-- ...ringutilsrecipes$deletewhitespacerecipe.md | 9 +++++++-- ...ringutilsrecipes$equalsignorecaserecipe.md | 9 +++++++-- ...ecommonsstringutilsrecipes$equalsrecipe.md | 9 +++++++-- ...mmonsstringutilsrecipes$lowercaserecipe.md | 9 +++++++-- ...mmonsstringutilsrecipes$removeendrecipe.md | 9 +++++++-- ...commonsstringutilsrecipes$replacerecipe.md | 9 +++++++-- ...commonsstringutilsrecipes$reverserecipe.md | 9 +++++++-- ...hecommonsstringutilsrecipes$splitrecipe.md | 9 +++++++-- ...hecommonsstringutilsrecipes$striprecipe.md | 9 +++++++-- ...checommonsstringutilsrecipes$trimrecipe.md | 9 +++++++-- ...onsstringutilsrecipes$trimtoemptyrecipe.md | 9 +++++++-- ...monsstringutilsrecipes$trimtonullrecipe.md | 9 +++++++-- ...mmonsstringutilsrecipes$uppercaserecipe.md | 9 +++++++-- .../lang/apachecommonsstringutilsrecipes.md | 11 +++++++--- .../apache/commons/lang/isnotemptytojdk.md | 9 +++++++-- .../lang/upgradeapachecommonslang_2_3.md | 11 +++++++--- .../math/upgradeapachecommonsmath_2_3.md | 11 +++++++--- .../httpclient4/mappingdeprecatedclasses.md | 11 +++++++--- .../httpclient4/migratedefaulthttpclient.md | 9 +++++++-- .../upgradeapachehttpclient_4_5.md | 11 +++++++--- .../apache/httpclient5/addtimeunitargument.md | 14 ++++++++----- .../apache/httpclient5/migrateauthscope.md | 9 +++++++-- .../httpclient5/migraterequestconfig.md | 9 +++++++-- .../apache/httpclient5/newstatusline.md | 9 +++++++-- docs/recipes/apache/httpclient5/statusline.md | 11 +++++++--- .../httpclient5/upgradeapachehttpclient_5.md | 11 +++++++--- .../upgradeapachehttpclient_5_classmapping.md | 11 +++++++--- ...adeapachehttpclient_5_deprecatedmethods.md | 11 +++++++--- .../upgradeapachehttpclient_5_timeunit.md | 11 +++++++--- .../usernamepasswordcredentials.md | 9 +++++++-- ...aredstringutilsrecipes$abbreviaterecipe.md | 9 +++++++-- ...aredstringutilsrecipes$capitaliserecipe.md | 9 +++++++-- ...tilsrecipes$defaultstringfallbackrecipe.md | 9 +++++++-- ...dstringutilsrecipes$defaultstringrecipe.md | 9 +++++++-- ...ringutilsrecipes$deletewhitespacerecipe.md | 9 +++++++-- ...ringutilsrecipes$equalsignorecaserecipe.md | 9 +++++++-- ...ensharedstringutilsrecipes$equalsrecipe.md | 9 +++++++-- ...haredstringutilsrecipes$lowercaserecipe.md | 9 +++++++-- ...nsharedstringutilsrecipes$replacerecipe.md | 9 +++++++-- ...nsharedstringutilsrecipes$reverserecipe.md | 9 +++++++-- ...vensharedstringutilsrecipes$splitrecipe.md | 9 +++++++-- ...vensharedstringutilsrecipes$striprecipe.md | 9 +++++++-- ...avensharedstringutilsrecipes$trimrecipe.md | 9 +++++++-- ...haredstringutilsrecipes$uppercaserecipe.md | 9 +++++++-- .../shared/mavensharedstringutilsrecipes.md | 11 +++++++--- ...esetboldweightboldwithsetboldtruerecipe.md | 9 +++++++-- ...tboldweightnormalwithsetboldfalserecipe.md | 9 +++++++-- .../replacesetboldweightwithsetboldrecipes.md | 11 +++++++--- ...perecipes$replacesetcelltypeblankrecipe.md | 9 +++++++-- ...recipes$replacesetcelltypebooleanrecipe.md | 9 +++++++-- ...perecipes$replacesetcelltypeerrorrecipe.md | 9 +++++++-- ...recipes$replacesetcelltypeformularecipe.md | 9 +++++++-- ...recipes$replacesetcelltypenumericrecipe.md | 9 +++++++-- ...erecipes$replacesetcelltypestringrecipe.md | 9 +++++++-- .../apache/poi/replacesetcelltyperecipes.md | 11 +++++++--- .../apache/poi/upgradeapachepoi_3_17.md | 11 +++++++--- docs/recipes/circleci/installorb.md | 17 +++++++++------- docs/recipes/circleci/updateimage.md | 17 +++++++++------- .../plexus/abstractlogenabledtoslf4j.md | 9 +++++++-- ...eutilsrecipes$deletedirectoryfilerecipe.md | 9 +++++++-- ...tilsrecipes$deletedirectorystringrecipe.md | 9 +++++++-- ...fileutilsrecipes$fileexistsstringrecipe.md | 9 +++++++-- .../plexusfileutilsrecipes$getfilerecipe.md | 9 +++++++-- .../codehaus/plexus/plexusfileutilsrecipes.md | 11 +++++++--- ...exusstringutilsrecipes$abbreviaterecipe.md | 9 +++++++-- ...exusstringutilsrecipes$capitaliserecipe.md | 9 +++++++-- ...tilsrecipes$defaultstringfallbackrecipe.md | 9 +++++++-- ...sstringutilsrecipes$defaultstringrecipe.md | 9 +++++++-- ...ringutilsrecipes$deletewhitespacerecipe.md | 9 +++++++-- ...ringutilsrecipes$equalsignorecaserecipe.md | 9 +++++++-- .../plexusstringutilsrecipes$equalsrecipe.md | 9 +++++++-- ...lexusstringutilsrecipes$lowercaserecipe.md | 9 +++++++-- .../plexusstringutilsrecipes$replacerecipe.md | 9 +++++++-- .../plexusstringutilsrecipes$reverserecipe.md | 9 +++++++-- .../plexusstringutilsrecipes$splitrecipe.md | 9 +++++++-- .../plexusstringutilsrecipes$striprecipe.md | 9 +++++++-- .../plexusstringutilsrecipes$trimrecipe.md | 9 +++++++-- ...lexusstringutilsrecipes$uppercaserecipe.md | 9 +++++++-- .../plexus/plexusstringutilsrecipes.md | 11 +++++++--- docs/recipes/codemods/applycodemod.md | 17 +++++++++------- .../cleanup/javascript/arrowbodystyle.md | 8 ++++++-- .../cleanup/javascript/betterregex.md | 8 ++++++-- .../cleanup/javascript/capitalizedcomments.md | 8 ++++++-- .../cleanup/javascript/catcherrorname.md | 8 ++++++-- .../javascript/consistentdestructuring.md | 8 ++++++-- .../consistenttypespecifierstyle.md | 8 ++++++-- .../codemods/cleanup/javascript/curly.md | 8 ++++++-- .../javascript/customerrordefinition.md | 8 ++++++-- .../cleanup/javascript/dotnotation.md | 8 ++++++-- .../cleanup/javascript/emptybracespaces.md | 8 ++++++-- .../codemods/cleanup/javascript/eqeqeq.md | 8 ++++++-- .../codemods/cleanup/javascript/escapecase.md | 8 ++++++-- .../cleanup/javascript/explicitlengthcheck.md | 8 ++++++-- .../codemods/cleanup/javascript/first.md | 8 ++++++-- .../javascript/logicalassignmentoperators.md | 8 ++++++-- .../javascript/multilinecommentstyle.md | 8 ++++++-- .../cleanup/javascript/newforbuiltins.md | 8 ++++++-- .../cleanup/javascript/newlineafterimport.md | 8 ++++++-- .../cleanup/javascript/noabsolutepath.md | 8 ++++++-- .../cleanup/javascript/noarrayforeach.md | 8 ++++++-- .../javascript/noarraymethodthisargument.md | 8 ++++++-- .../cleanup/javascript/noarraypushpush.md | 8 ++++++-- .../javascript/noawaitexpressionmember.md | 8 ++++++-- .../cleanup/javascript/noconsolespaces.md | 8 ++++++-- .../codemods/cleanup/javascript/nodivregex.md | 8 ++++++-- .../cleanup/javascript/noduplicates.md | 8 ++++++-- .../cleanup/javascript/noelsereturn.md | 8 ++++++-- .../cleanup/javascript/noemptynamedblocks.md | 8 ++++++-- .../cleanup/javascript/noextrabind.md | 8 ++++++-- .../cleanup/javascript/noextralabel.md | 8 ++++++-- .../codemods/cleanup/javascript/noforloop.md | 8 ++++++-- .../cleanup/javascript/nohexescape.md | 8 ++++++-- .../cleanup/javascript/noimplicitcoercion.md | 8 ++++++-- .../javascript/noimportmoduleexports.md | 8 ++++++-- .../cleanup/javascript/noinstanceofarray.md | 8 ++++++-- .../codemods/cleanup/javascript/nolonelyif.md | 8 ++++++-- .../cleanup/javascript/nonamespace.md | 8 ++++++-- .../cleanup/javascript/nonegatedcondition.md | 8 ++++++-- .../cleanup/javascript/nonestedternary.md | 8 ++++++-- .../codemods/cleanup/javascript/nonewarray.md | 8 ++++++-- .../cleanup/javascript/nonewbuffer.md | 8 ++++++-- .../codemods/cleanup/javascript/nonull.md | 8 ++++++-- .../cleanup/javascript/norelativepackages.md | 8 ++++++-- .../cleanup/javascript/nostaticonlyclass.md | 8 ++++++-- .../cleanup/javascript/notypeofundefined.md | 8 ++++++-- .../cleanup/javascript/noundefinit.md | 8 ++++++-- .../cleanup/javascript/nounnecessaryawait.md | 8 ++++++-- .../cleanup/javascript/nounneededternary.md | 8 ++++++-- .../nounreadablearraydestructuring.md | 8 ++++++-- .../javascript/nouselesscomputedkey.md | 8 ++++++-- .../javascript/nouselessfallbackinspread.md | 8 ++++++-- .../javascript/nouselesslengthcheck.md | 8 ++++++-- .../javascript/nouselesspathsegments.md | 8 ++++++-- .../nouselesspromiseresolvereject.md | 8 ++++++-- .../cleanup/javascript/nouselessrename.md | 8 ++++++-- .../cleanup/javascript/nouselessreturn.md | 8 ++++++-- .../cleanup/javascript/nouselessspread.md | 8 ++++++-- .../cleanup/javascript/nouselessundefined.md | 8 ++++++-- .../codemods/cleanup/javascript/novar.md | 8 ++++++-- .../cleanup/javascript/nozerofractions.md | 8 ++++++-- .../cleanup/javascript/numberliteralcase.md | 8 ++++++-- .../javascript/numericseparatorsstyle.md | 8 ++++++-- .../cleanup/javascript/objectshorthand.md | 8 ++++++-- .../codemods/cleanup/javascript/onevar.md | 8 ++++++-- .../cleanup/javascript/operatorassignment.md | 8 ++++++-- .../codemods/cleanup/javascript/order.md | 8 ++++++-- .../javascript/preferaddeventlistener.md | 8 ++++++-- .../cleanup/javascript/preferarrayfind.md | 8 ++++++-- .../cleanup/javascript/preferarrayflat.md | 8 ++++++-- .../cleanup/javascript/preferarrayflatmap.md | 8 ++++++-- .../cleanup/javascript/preferarrayindexof.md | 8 ++++++-- .../cleanup/javascript/preferarraysome.md | 8 ++++++-- .../cleanup/javascript/preferarrowcallback.md | 8 ++++++-- .../codemods/cleanup/javascript/preferat.md | 8 ++++++-- .../cleanup/javascript/preferconst.md | 8 ++++++-- .../cleanup/javascript/preferdatenow.md | 8 ++++++-- .../javascript/preferdefaultparameters.md | 8 ++++++-- .../cleanup/javascript/preferdestructuring.md | 8 ++++++-- .../cleanup/javascript/preferdomnodeappend.md | 8 ++++++-- .../javascript/preferdomnodedataset.md | 8 ++++++-- .../cleanup/javascript/preferdomnoderemove.md | 8 ++++++-- .../preferexponentiationoperator.md | 8 ++++++-- .../cleanup/javascript/preferexportfrom.md | 8 ++++++-- .../cleanup/javascript/preferincludes.md | 8 ++++++-- .../javascript/preferjsonparsebuffer.md | 8 ++++++-- .../javascript/preferkeyboardeventkey.md | 8 ++++++-- .../cleanup/javascript/prefermathtrunc.md | 8 ++++++-- .../cleanup/javascript/prefermoderndomapis.md | 8 ++++++-- .../javascript/prefermodernmathapis.md | 8 ++++++-- .../cleanup/javascript/prefermodule.md | 8 ++++++-- .../prefernativecoercionfunctions.md | 8 ++++++-- .../cleanup/javascript/prefernegativeindex.md | 8 ++++++-- .../cleanup/javascript/prefernodeprotocol.md | 8 ++++++-- .../javascript/prefernumberproperties.md | 8 ++++++-- .../javascript/prefernumericliterals.md | 8 ++++++-- .../javascript/preferobjectfromentries.md | 8 ++++++-- .../cleanup/javascript/preferobjecthasown.md | 8 ++++++-- .../cleanup/javascript/preferobjectspread.md | 8 ++++++-- .../javascript/preferoptionalcatchbinding.md | 8 ++++++-- .../javascript/preferprototypemethods.md | 8 ++++++-- .../cleanup/javascript/preferqueryselector.md | 8 ++++++-- .../cleanup/javascript/preferreflectapply.md | 8 ++++++-- .../cleanup/javascript/preferregexptest.md | 8 ++++++-- .../cleanup/javascript/prefersethas.md | 8 ++++++-- .../cleanup/javascript/prefersetsize.md | 8 ++++++-- .../cleanup/javascript/preferspread.md | 8 ++++++-- .../javascript/preferstringreplaceall.md | 8 ++++++-- .../cleanup/javascript/preferstringslice.md | 8 ++++++-- .../javascript/preferstringstartsendswith.md | 8 ++++++-- .../javascript/preferstringtrimstartend.md | 8 ++++++-- .../cleanup/javascript/preferswitch.md | 8 ++++++-- .../cleanup/javascript/prefertemplate.md | 8 ++++++-- .../cleanup/javascript/preferternary.md | 8 ++++++-- .../cleanup/javascript/prefertypeerror.md | 8 ++++++-- .../javascript/preventabbreviations.md | 8 ++++++-- .../cleanup/javascript/relativeurlstyle.md | 8 ++++++-- .../javascript/requirearrayjoinseparator.md | 8 ++++++-- .../requirenumbertofixeddigitsargument.md | 8 ++++++-- .../cleanup/javascript/sortimports.md | 8 ++++++-- .../codemods/cleanup/javascript/sortvars.md | 8 ++++++-- .../codemods/cleanup/javascript/strict.md | 8 ++++++-- .../cleanup/javascript/stringcontent.md | 8 ++++++-- .../cleanup/javascript/switchcasebraces.md | 8 ++++++-- .../cleanup/javascript/templateindent.md | 8 ++++++-- .../javascript/textencodingidentifiercase.md | 8 ++++++-- .../cleanup/javascript/thrownewerror.md | 8 ++++++-- .../codemods/cleanup/javascript/unicodebom.md | 8 ++++++-- .../codemods/cleanup/javascript/yoda.md | 8 ++++++-- .../codemods/cleanup/jest/consistenttestit.md | 8 ++++++-- .../codemods/cleanup/jest/noaliasmethods.md | 8 ++++++-- .../cleanup/jest/nodeprecatedfunctions27.md | 8 ++++++-- .../codemods/cleanup/jest/nojasmineglobals.md | 8 ++++++-- .../codemods/cleanup/jest/notestprefixes.md | 8 ++++++-- .../cleanup/jest/nountypedmockfactory.md | 8 ++++++-- .../cleanup/jest/prefercomparisonmatcher.md | 8 ++++++-- .../cleanup/jest/preferexpectresolves.md | 8 ++++++-- .../cleanup/jest/preferlowercasetitle.md | 8 ++++++-- .../jest/prefermockpromiseshorthand.md | 8 ++++++-- .../codemods/cleanup/jest/preferspyon.md | 8 ++++++-- .../codemods/cleanup/jest/prefertobe.md | 8 ++++++-- .../codemods/cleanup/jest/prefertocontain.md | 8 ++++++-- .../codemods/cleanup/jest/prefertodo.md | 8 ++++++-- .../cleanup/jest/prefertohavelength.md | 8 ++++++-- .../jest/recommendedjestcodecleanup.md | 8 ++++++-- .../codemods/cleanup/jest/validtitle.md | 8 ++++++-- .../cleanup/react/destructuringassignment.md | 8 ++++++-- .../react/functioncomponentdefinition.md | 8 ++++++-- .../codemods/cleanup/react/jsxbooleanvalue.md | 8 ++++++-- .../react/jsxclosingbracketlocation.md | 8 ++++++-- .../cleanup/react/jsxclosingtaglocation.md | 8 ++++++-- .../cleanup/react/jsxcurlybracepresence.md | 8 ++++++-- .../codemods/cleanup/react/jsxcurlynewline.md | 8 ++++++-- .../codemods/cleanup/react/jsxcurlyspacing.md | 8 ++++++-- .../cleanup/react/jsxequalsspacing.md | 8 ++++++-- .../cleanup/react/jsxfirstpropnewline.md | 8 ++++++-- .../codemods/cleanup/react/jsxfragments.md | 8 ++++++-- .../codemods/cleanup/react/jsxindent.md | 8 ++++++-- .../codemods/cleanup/react/jsxindentprops.md | 8 ++++++-- .../cleanup/react/jsxmaxpropsperline.md | 8 ++++++-- .../codemods/cleanup/react/jsxnewline.md | 8 ++++++-- .../cleanup/react/jsxnoleakedrender.md | 8 ++++++-- .../cleanup/react/jsxnotargetblank.md | 8 ++++++-- .../cleanup/react/jsxnouselessfragment.md | 8 ++++++-- .../cleanup/react/jsxoneexpressionperline.md | 8 ++++++-- .../cleanup/react/jsxpropsnomultispaces.md | 8 ++++++-- .../codemods/cleanup/react/jsxsortprops.md | 8 ++++++-- .../cleanup/react/jsxspacebeforeclosing.md | 8 ++++++-- .../codemods/cleanup/react/jsxtagspacing.md | 8 ++++++-- .../cleanup/react/jsxwrapmultilines.md | 8 ++++++-- .../cleanup/react/noarrowfunctionlifecycle.md | 8 ++++++-- .../cleanup/react/nounknownproperty.md | 8 ++++++-- .../cleanup/react/preferreadonlyprops.md | 8 ++++++-- .../codemods/cleanup/react/selfclosingcomp.md | 8 ++++++-- .../codemods/cleanup/react/sortproptypes.md | 8 ++++++-- .../cleanup/storybook/awaitinteractions.md | 8 ++++++-- .../cleanup/storybook/defaultexports.md | 8 ++++++-- .../cleanup/storybook/hierarchyseparator.md | 8 ++++++-- .../cleanup/storybook/noredundantstoryname.md | 8 ++++++-- .../storybook/notitlepropertyinmeta.md | 8 ++++++-- .../cleanup/storybook/preferpascalcase.md | 8 ++++++-- .../recommendedstorybookcodecleanup.md | 8 ++++++-- .../cleanup/storybook/usestorybookexpect.md | 8 ++++++-- .../storybook/usestorybooktestinglibrary.md | 8 ++++++-- .../cleanup/svelte/firstattributelinebreak.md | 8 ++++++-- .../svelte/htmlclosingbracketspacing.md | 8 ++++++-- .../codemods/cleanup/svelte/htmlquotes.md | 8 ++++++-- .../cleanup/svelte/htmlselfclosing.md | 8 ++++++-- .../recipes/codemods/cleanup/svelte/indent.md | 8 ++++++-- .../cleanup/svelte/maxattributesperline.md | 8 ++++++-- .../cleanup/svelte/mustachespacing.md | 8 ++++++-- .../cleanup/svelte/nodynamicslotname.md | 8 ++++++-- .../nospacesaroundequalsignsinattribute.md | 8 ++++++-- .../cleanup/svelte/nouselessmustaches.md | 8 ++++++-- .../cleanup/svelte/preferclassdirective.md | 8 ++++++-- .../cleanup/svelte/preferstyledirective.md | 8 ++++++-- .../svelte/recommendedsveltecodecleanup.md | 8 ++++++-- .../svelte/requirestorereactiveaccess.md | 8 ++++++-- .../cleanup/svelte/shorthandattribute.md | 8 ++++++-- .../cleanup/svelte/shorthanddirective.md | 8 ++++++-- .../codemods/cleanup/svelte/sortattributes.md | 8 ++++++-- .../cleanup/svelte/spacedhtmlcomment.md | 8 ++++++-- .../cleanup/vue/arraybracketnewline.md | 8 ++++++-- .../cleanup/vue/arraybracketspacing.md | 8 ++++++-- .../cleanup/vue/arrayelementnewline.md | 8 ++++++-- .../codemods/cleanup/vue/arrowspacing.md | 8 ++++++-- .../codemods/cleanup/vue/attributesorder.md | 8 ++++++-- .../codemods/cleanup/vue/blockorder.md | 8 ++++++-- .../codemods/cleanup/vue/blockspacing.md | 8 ++++++-- .../codemods/cleanup/vue/blocktagnewline.md | 8 ++++++-- .../codemods/cleanup/vue/bracestyle.md | 8 ++++++-- .../codemods/cleanup/vue/commadangle.md | 8 ++++++-- .../codemods/cleanup/vue/commaspacing.md | 8 ++++++-- .../codemods/cleanup/vue/commastyle.md | 8 ++++++-- .../vue/componentnameintemplatecasing.md | 8 ++++++-- .../cleanup/vue/componentoptionsnamecasing.md | 8 ++++++-- .../cleanup/vue/componenttagsorder.md | 8 ++++++-- .../codemods/cleanup/vue/definemacrosorder.md | 8 ++++++-- .../codemods/cleanup/vue/dotlocation.md | 8 ++++++-- .../codemods/cleanup/vue/dotnotation.md | 8 ++++++-- docs/recipes/codemods/cleanup/vue/eqeqeq.md | 8 ++++++-- .../codemods/cleanup/vue/funccallspacing.md | 8 ++++++-- .../cleanup/vue/htmlcommentcontentnewline.md | 8 ++++++-- .../cleanup/vue/htmlcommentcontentspacing.md | 8 ++++++-- .../codemods/cleanup/vue/htmlcommentindent.md | 8 ++++++-- .../codemods/cleanup/vue/keyspacing.md | 8 ++++++-- .../codemods/cleanup/vue/keywordspacing.md | 8 ++++++-- .../codemods/cleanup/vue/multilineternary.md | 8 ++++++-- .../vue/newlinebetweenmultilineproperty.md | 8 ++++++-- .../codemods/cleanup/vue/nexttickstyle.md | 8 ++++++-- .../codemods/cleanup/vue/noextraparens.md | 8 ++++++-- .../cleanup/vue/norequiredpropwithdefault.md | 8 ++++++-- .../cleanup/vue/nounsupportedfeatures.md | 8 ++++++-- .../cleanup/vue/nouselessmustaches.md | 8 ++++++-- .../codemods/cleanup/vue/nouselessvbind.md | 8 ++++++-- .../cleanup/vue/objectcurlynewline.md | 8 ++++++-- .../cleanup/vue/objectcurlyspacing.md | 8 ++++++-- .../cleanup/vue/objectpropertynewline.md | 8 ++++++-- .../codemods/cleanup/vue/objectshorthand.md | 8 ++++++-- .../codemods/cleanup/vue/operatorlinebreak.md | 8 ++++++-- .../codemods/cleanup/vue/orderincomponents.md | 8 ++++++-- .../cleanup/vue/paddinglinebetweenblocks.md | 8 ++++++-- .../cleanup/vue/paddinglinebetweentags.md | 8 ++++++-- .../vue/paddinglinesincomponentdefinition.md | 8 ++++++-- .../cleanup/vue/preferdefineoptions.md | 8 ++++++-- .../cleanup/vue/preferseparatestaticclass.md | 8 ++++++-- .../codemods/cleanup/vue/prefertemplate.md | 8 ++++++-- .../codemods/cleanup/vue/quoteprops.md | 8 ++++++-- .../cleanup/vue/recommendedvuecodecleanup.md | 8 ++++++-- .../codemods/cleanup/vue/scriptindent.md | 8 ++++++-- .../codemods/cleanup/vue/spaceinfixops.md | 8 ++++++-- .../codemods/cleanup/vue/spaceinparens.md | 8 ++++++-- .../codemods/cleanup/vue/spaceunaryops.md | 8 ++++++-- .../cleanup/vue/staticclassnamesorder.md | 8 ++++++-- .../cleanup/vue/templatecurlyspacing.md | 8 ++++++-- .../codemods/cleanup/vue/thisintemplate.md | 8 ++++++-- .../cleanup/vue/vfordelimiterstyle.md | 8 ++++++-- .../codemods/cleanup/vue/vifelsekey.md | 8 ++++++-- .../codemods/cleanup/vue/vonhandlerstyle.md | 8 ++++++-- .../codemods/ecmascript/5to6/amdtoesm.md | 8 ++++++-- .../codemods/ecmascript/5to6/cjstoesm.md | 8 ++++++-- .../5to6/ecmascript6bestpractices.md | 11 +++++----- .../ecmascript/5to6/namedexportgeneration.md | 8 ++++++-- .../codemods/ecmascript/5to6/nostrict.md | 8 ++++++-- .../codemods/ecmascript/5to6/simplearrow.md | 8 ++++++-- .../codemods/ecmascript/5to6/vartolet.md | 8 ++++++-- .../ecmascript/eslinttypescriptdefaults.md | 8 ++++++-- .../ecmascript/eslinttypescriptprettier.md | 8 ++++++-- docs/recipes/codemods/eslint.md | 8 ++++++-- .../codemods/format/arraybracketnewline.md | 8 ++++++-- .../codemods/format/arraybracketspacing.md | 8 ++++++-- .../codemods/format/arrayelementnewline.md | 8 ++++++-- docs/recipes/codemods/format/arrowparens.md | 8 ++++++-- docs/recipes/codemods/format/arrowspacing.md | 8 ++++++-- docs/recipes/codemods/format/blockspacing.md | 8 ++++++-- docs/recipes/codemods/format/bracestyle.md | 8 ++++++-- docs/recipes/codemods/format/commadangle.md | 8 ++++++-- docs/recipes/codemods/format/commaspacing.md | 8 ++++++-- docs/recipes/codemods/format/commastyle.md | 8 ++++++-- .../format/computedpropertyspacing.md | 8 ++++++-- docs/recipes/codemods/format/dotlocation.md | 8 ++++++-- docs/recipes/codemods/format/eollast.md | 8 ++++++-- .../codemods/format/funccallspacing.md | 8 ++++++-- .../format/functioncallargumentnewline.md | 8 ++++++-- .../codemods/format/functioncallspacing.md | 8 ++++++-- .../codemods/format/functionparennewline.md | 8 ++++++-- .../codemods/format/generatorstarspacing.md | 8 ++++++-- .../codemods/format/implicitarrowlinebreak.md | 8 ++++++-- docs/recipes/codemods/format/indent.md | 8 ++++++-- .../codemods/format/indentbinaryops.md | 8 ++++++-- .../format/jsxclosingbracketlocation.md | 8 ++++++-- .../codemods/format/jsxclosingtaglocation.md | 8 ++++++-- .../codemods/format/jsxcurlybracepresence.md | 8 ++++++-- .../codemods/format/jsxcurlynewline.md | 8 ++++++-- .../codemods/format/jsxcurlyspacing.md | 8 ++++++-- .../codemods/format/jsxequalsspacing.md | 8 ++++++-- .../codemods/format/jsxfirstpropnewline.md | 8 ++++++-- docs/recipes/codemods/format/jsxindent.md | 8 ++++++-- .../recipes/codemods/format/jsxindentprops.md | 8 ++++++-- .../codemods/format/jsxmaxpropsperline.md | 8 ++++++-- docs/recipes/codemods/format/jsxnewline.md | 8 ++++++-- .../format/jsxoneexpressionperline.md | 8 ++++++-- docs/recipes/codemods/format/jsxpascalcase.md | 8 ++++++-- .../codemods/format/jsxpropsnomultispaces.md | 8 ++++++-- docs/recipes/codemods/format/jsxquotes.md | 8 ++++++-- .../codemods/format/jsxselfclosingcomp.md | 8 ++++++-- docs/recipes/codemods/format/jsxsortprops.md | 8 ++++++-- docs/recipes/codemods/format/jsxtagspacing.md | 8 ++++++-- .../codemods/format/jsxwrapmultilines.md | 8 ++++++-- docs/recipes/codemods/format/keyspacing.md | 8 ++++++-- .../recipes/codemods/format/keywordspacing.md | 8 ++++++-- .../recipes/codemods/format/linebreakstyle.md | 8 ++++++-- .../codemods/format/linesaroundcomment.md | 8 ++++++-- .../format/linesbetweenclassmembers.md | 8 ++++++-- .../codemods/format/memberdelimiterstyle.md | 8 ++++++-- .../codemods/format/multilineternary.md | 8 ++++++-- .../codemods/format/newlineperchainedcall.md | 8 ++++++-- docs/recipes/codemods/format/newparens.md | 8 ++++++-- .../codemods/format/noconfusingarrow.md | 8 ++++++-- docs/recipes/codemods/format/noextraparens.md | 8 ++++++-- docs/recipes/codemods/format/noextrasemi.md | 8 ++++++-- .../codemods/format/nofloatingdecimal.md | 8 ++++++-- .../codemods/format/nomultipleemptylines.md | 8 ++++++-- docs/recipes/codemods/format/nomultispaces.md | 8 ++++++-- .../format/nonblockstatementbodyposition.md | 8 ++++++-- .../codemods/format/notrailingspaces.md | 8 ++++++-- .../format/nowhitespacebeforeproperty.md | 8 ++++++-- .../codemods/format/objectcurlynewline.md | 8 ++++++-- .../codemods/format/objectcurlyspacing.md | 8 ++++++-- .../codemods/format/objectpropertynewline.md | 8 ++++++-- .../format/onevardeclarationperline.md | 8 ++++++-- .../codemods/format/operatorlinebreak.md | 8 ++++++-- docs/recipes/codemods/format/paddedblocks.md | 8 ++++++-- .../format/paddinglinebetweenstatements.md | 8 ++++++-- docs/recipes/codemods/format/quoteprops.md | 8 ++++++-- docs/recipes/codemods/format/quotes.md | 8 ++++++-- .../format/recommendedeslintstyling.md | 8 ++++++-- .../codemods/format/restspreadspacing.md | 8 ++++++-- docs/recipes/codemods/format/semi.md | 8 ++++++-- docs/recipes/codemods/format/semispacing.md | 8 ++++++-- docs/recipes/codemods/format/semistyle.md | 8 ++++++-- .../codemods/format/spacebeforeblocks.md | 8 ++++++-- .../format/spacebeforefunctionparen.md | 8 ++++++-- docs/recipes/codemods/format/spacedcomment.md | 8 ++++++-- docs/recipes/codemods/format/spaceinfixops.md | 8 ++++++-- docs/recipes/codemods/format/spaceinparens.md | 8 ++++++-- docs/recipes/codemods/format/spaceunaryops.md | 8 ++++++-- .../codemods/format/switchcolonspacing.md | 8 ++++++-- .../codemods/format/templatecurlyspacing.md | 8 ++++++-- .../codemods/format/templatetagspacing.md | 8 ++++++-- .../codemods/format/typeannotationspacing.md | 8 ++++++-- .../codemods/format/typegenericspacing.md | 8 ++++++-- .../codemods/format/typenamedtuplespacing.md | 8 ++++++-- docs/recipes/codemods/format/wrapiife.md | 8 ++++++-- docs/recipes/codemods/format/wrapregex.md | 8 ++++++-- .../codemods/format/yieldstarspacing.md | 8 ++++++-- .../migrate/angular/applyangularcli.md | 17 +++++++++------- docs/recipes/codemods/migrate/angular/v15.md | 8 ++++++-- docs/recipes/codemods/migrate/angular/v16.md | 8 ++++++-- docs/recipes/codemods/migrate/angular/v17.md | 8 ++++++-- docs/recipes/codemods/migrate/angular/v18.md | 8 ++++++-- docs/recipes/codemods/migrate/angular/v19.md | 8 ++++++-- .../migrate/lodash/lodashunderscorearray.md | 8 ++++++-- .../lodash/lodashunderscorefunction.md | 8 ++++++-- .../migrate/lodash/lodashunderscoreobjects.md | 8 ++++++-- .../migrate/lodash/lodashunderscoreutil.md | 8 ++++++-- docs/recipes/codemods/migrate/mui/adapterv.md | 8 ++++++-- docs/recipes/codemods/migrate/mui/all.md | 8 ++++++-- .../mui/autocompleterenamecloseicon.md | 8 ++++++-- .../migrate/mui/autocompleterenameoption.md | 8 ++++++-- .../migrate/mui/avatarcirclecircular.md | 8 ++++++-- .../codemods/migrate/mui/badgeoverlapvalue.md | 8 ++++++-- .../codemods/migrate/mui/basehookimports.md | 8 ++++++-- .../migrate/mui/baseremovecomponentprop.md | 8 ++++++-- .../migrate/mui/baseremoveunstyledsuffix.md | 8 ++++++-- .../mui/baserenamecomponentstoslots.md | 8 ++++++-- .../migrate/mui/baseusenamedexports.md | 8 ++++++-- .../migrate/mui/boxborderradiusvalues.md | 8 ++++++-- .../codemods/migrate/mui/boxrenamecss.md | 8 ++++++-- .../codemods/migrate/mui/boxrenamegap.md | 8 ++++++-- .../recipes/codemods/migrate/mui/boxsxprop.md | 8 ++++++-- .../codemods/migrate/mui/buttoncolorprop.md | 8 ++++++-- .../codemods/migrate/mui/chipvariantprop.md | 8 ++++++-- .../migrate/mui/circularprogressvariant.md | 8 ++++++-- .../mui/collapserenamecollapsedheight.md | 8 ++++++-- .../migrate/mui/componentrenameprop.md | 8 ++++++-- .../codemods/migrate/mui/corestylesimport.md | 8 ++++++-- .../codemods/migrate/mui/createtheme.md | 8 ++++++-- .../migrate/mui/datepickersmovedtox.md | 8 ++++++-- .../codemods/migrate/mui/dialogprops.md | 8 ++++++-- .../codemods/migrate/mui/dialogtitleprops.md | 8 ++++++-- .../migrate/mui/emotionprependcache.md | 8 ++++++-- .../migrate/mui/expansionpanelcomponent.md | 8 ++++++-- .../codemods/migrate/mui/fabvariant.md | 8 ++++++-- .../codemods/migrate/mui/faderenamealpha.md | 8 ++++++-- .../migrate/mui/gridjustifyjustifycontent.md | 8 ++++++-- .../codemods/migrate/mui/gridlistcomponent.md | 8 ++++++-- .../codemods/migrate/mui/gridvprops.md | 8 ++++++-- .../codemods/migrate/mui/hiddendownprops.md | 8 ++++++-- .../codemods/migrate/mui/iconbuttonsize.md | 8 ++++++-- .../migrate/mui/joyavatarremoveimgprops.md | 8 ++++++-- .../migrate/mui/joyrenameclassnameprefix.md | 8 ++++++-- .../migrate/mui/joyrenamecomponentstoslots.md | 8 ++++++-- .../codemods/migrate/mui/joyrenamerowprop.md | 8 ++++++-- .../migrate/mui/joytextfieldtoinput.md | 8 ++++++-- .../codemods/migrate/mui/jsstostyled.md | 8 ++++++-- .../codemods/migrate/mui/jsstotssreact.md | 8 ++++++-- .../migrate/mui/linkunderlinehover.md | 8 ++++++-- .../codemods/migrate/mui/materialuistyles.md | 8 ++++++-- .../codemods/migrate/mui/materialuitypes.md | 8 ++++++-- .../codemods/migrate/mui/modalprops.md | 8 ++++++-- .../codemods/migrate/mui/movedlabmodules.md | 8 ++++++-- .../codemods/migrate/mui/muireplace.md | 8 ++++++-- .../codemods/migrate/mui/optimalimports.md | 8 ++++++-- .../migrate/mui/paginationroundcircular.md | 8 ++++++-- .../codemods/migrate/mui/presetsafe.md | 8 ++++++-- .../migrate/mui/renamecssvariables.md | 8 ++++++-- docs/recipes/codemods/migrate/mui/rootref.md | 8 ++++++-- .../codemods/migrate/mui/skeletonvariant.md | 8 ++++++-- docs/recipes/codemods/migrate/mui/styled.md | 8 ++++++-- .../migrate/mui/styledengineprovider.md | 8 ++++++-- docs/recipes/codemods/migrate/mui/sxprop.md | 8 ++++++-- .../codemods/migrate/mui/systemprops.md | 8 ++++++-- .../codemods/migrate/mui/tableprops.md | 8 ++++++-- .../codemods/migrate/mui/tabsscrollbuttons.md | 8 ++++++-- .../migrate/mui/textareaminmaxrows.md | 8 ++++++-- .../codemods/migrate/mui/themeaugment.md | 8 ++++++-- .../codemods/migrate/mui/themebreakpoints.md | 8 ++++++-- .../migrate/mui/themebreakpointswidth.md | 8 ++++++-- .../codemods/migrate/mui/themeoptions.md | 8 ++++++-- .../codemods/migrate/mui/themepalettemode.md | 8 ++++++-- .../codemods/migrate/mui/themeprovider.md | 8 ++++++-- .../codemods/migrate/mui/themespacing.md | 8 ++++++-- .../codemods/migrate/mui/themespacingapi.md | 8 ++++++-- .../migrate/mui/themetypographyround.md | 8 ++++++-- docs/recipes/codemods/migrate/mui/themev.md | 8 ++++++-- .../codemods/migrate/mui/toplevelimports.md | 8 ++++++-- .../codemods/migrate/mui/transitions.md | 8 ++++++-- .../codemods/migrate/mui/treeviewmovedtox.md | 8 ++++++-- .../codemods/migrate/mui/useautocomplete.md | 8 ++++++-- .../migrate/mui/usetransitionprops.md | 8 ++++++-- .../codemods/migrate/mui/variantprop.md | 8 ++++++-- .../codemods/migrate/mui/withmobiledialog.md | 8 ++++++-- .../recipes/codemods/migrate/mui/withwidth.md | 8 ++++++-- .../codemods/migrate/nextjs/nextjscodemods.md | 11 +++++----- .../nextjs/v10/addmissingreactimport.md | 8 ++++++-- .../codemods/migrate/nextjs/v11/cratonext.md | 8 ++++++-- .../codemods/migrate/nextjs/v13_0/newlink.md | 8 ++++++-- .../nextjs/v13_0/nextimageexperimental.md | 8 ++++++-- .../nextjs/v13_0/nextimagetolegacyimage.md | 8 ++++++-- .../migrate/nextjs/v13_2/builtinnextfont.md | 8 ++++++-- .../migrate/nextjs/v14_0/nextogimport.md | 8 ++++++-- .../migrate/nextjs/v14_0/useviewportexport.md | 8 ++++++-- .../migrate/nextjs/v6/urltowithrouter.md | 8 ++++++-- .../migrate/nextjs/v8/withamptoconfig.md | 8 ++++++-- .../migrate/nextjs/v9/namedefaultcomponent.md | 8 ++++++-- .../classcomponenttofunctioncomponent.md | 8 ++++++-- docs/recipes/codemods/putout.md | 8 ++++++-- .../concourse/changeresourceversion.md | 17 +++++++++------- docs/recipes/concourse/changevalue.md | 17 +++++++++------- docs/recipes/concourse/findresource.md | 17 +++++++++------- .../concourse/search/findpinnedresource.md | 8 ++++++-- .../search/findprivilegedresourcetype.md | 8 ++++++-- .../recipes/concourse/updategitresourceuri.md | 17 +++++++++------- docs/recipes/config/compositerecipe.md | 7 ++++++- docs/recipes/core/deletesourcefiles.md | 14 ++++++++----- docs/recipes/core/excludefilefromgitignore.md | 14 ++++++++----- docs/recipes/core/findcallgraph.md | 11 +++++++--- docs/recipes/core/findcollidingsourcefiles.md | 7 ++++++- .../recipes/core/finddeserializationerrors.md | 7 ++++++- docs/recipes/core/findduplicatesourcefiles.md | 9 +++++++-- docs/recipes/core/findgitprovenance.md | 7 ++++++- docs/recipes/core/findlstprovenance.md | 7 ++++++- docs/recipes/core/findparsefailures.md | 9 +++++++-- docs/recipes/core/findquarks.md | 7 ++++++- docs/recipes/core/findsourcefiles.md | 9 +++++++-- docs/recipes/core/isinrepository.md | 14 ++++++++----- docs/recipes/core/languagecomposition.md | 9 +++++++-- docs/recipes/core/listruntimeclasspath.md | 7 ++++++- docs/recipes/core/renamefile.md | 14 ++++++++----- docs/recipes/core/setfilepermissions.md | 14 ++++++++----- .../csharp/dependencies/dependencyinsight.md | 8 ++++++-- .../dependencyvulnerabilitycheck.md | 8 ++++++-- .../dependencies/upgradedependencyversion.md | 17 +++++++++------- .../cucumber/jvm/cucumberannotationtosuite.md | 9 +++++++-- ...cumberjava8hookdefinitiontocucumberjava.md | 9 +++++++-- ...cumberjava8stepdefinitiontocucumberjava.md | 9 +++++++-- .../cucumber/jvm/cucumberjava8tojava.md | 11 +++++++--- .../jvm/cucumbertojunitplatformsuite.md | 11 +++++++--- .../cucumber/jvm/dropsummaryprinter.md | 9 +++++++-- .../cucumber/jvm/regextocucumberexpression.md | 9 +++++++-- .../recipes/cucumber/jvm/upgradecucumber2x.md | 11 +++++++--- .../recipes/cucumber/jvm/upgradecucumber5x.md | 11 +++++++--- .../recipes/cucumber/jvm/upgradecucumber7x.md | 11 +++++++--- .../docker/search/finddockerimageuses.md | 9 +++++++-- docs/recipes/dotnet/migratetonet6.md | 8 ++++++-- docs/recipes/dotnet/migratetonet7.md | 8 ++++++-- docs/recipes/dotnet/migratetonet8.md | 8 ++++++-- docs/recipes/dotnet/migratetonet9.md | 8 ++++++-- docs/recipes/dotnet/upgradeassistant.md | 17 +++++++++------- .../recipes/dotnet/upgradeassistantanalyze.md | 17 +++++++++------- docs/recipes/featureflags/ff4j/removecheck.md | 14 ++++++++----- .../ff4j/search/findfeatureflag.md | 11 +++++++--- .../launchdarkly/changevariationdefault.md | 14 ++++++++----- .../launchdarkly/migrateusertocontext.md | 9 +++++++-- .../launchdarkly/removeboolvariation.md | 14 ++++++++----- .../launchdarkly/removestringvariation.md | 14 ++++++++----- .../launchdarkly/search/findfeatureflag.md | 11 +++++++--- .../launchdarkly/upgradelaunchdarkly6.md | 11 +++++++--- .../launchdarkly/upgradelaunchdarkly7.md | 11 +++++++--- .../openfeature/removegetbooleanvalue.md | 14 ++++++++----- .../openfeature/search/findfeatureflag.md | 11 +++++++--- .../recipes/featureflags/removebooleanflag.md | 14 ++++++++----- docs/recipes/featureflags/removestringflag.md | 14 ++++++++----- .../featureflags/search/findfeatureflag.md | 14 ++++++++----- .../featureflags/unleash/removeisenabled.md | 14 ++++++++----- .../unleash/search/findfeatureflag.md | 11 +++++++--- docs/recipes/github/addcrontrigger.md | 17 +++++++++------- docs/recipes/github/addmanualtrigger.md | 8 ++++++-- .../github/autocancelinprogressworkflow.md | 8 ++++++-- docs/recipes/github/changeaction.md | 17 +++++++++------- docs/recipes/github/changeactionversion.md | 17 +++++++++------- .../changedependabotscheduleinterval.md | 17 +++++++++------- ...ndabotcheckforgithubactionsupdatesdaily.md | 8 ++++++-- ...dabotcheckforgithubactionsupdatesweekly.md | 8 ++++++-- .../findgithubactionsecretreferences.md | 8 ++++++-- docs/recipes/github/findmissingtimeout.md | 8 ++++++-- .../renamegradlebuildactiontosetupgradle.md | 8 ++++++-- .../gradle/renamewrappervalidationaction.md | 8 ++++++-- .../github/prefersecretsinheritworkflow.md | 8 ++++++-- .../github/prefertemurindistributions.md | 8 ++++++-- docs/recipes/github/removeallcrontriggers.md | 8 ++++++-- docs/recipes/github/replacerunners.md | 17 +++++++++------- .../github/setupjavaadoptopenj9tosemeru.md | 8 ++++++-- .../github/setupjavaadoptopenjdktotemurin.md | 8 ++++++-- docs/recipes/github/setupjavacaching.md | 8 ++++++-- .../github/setupjavaupgradejavaversion.md | 8 ++++++-- .../upgradeslacknotificationversion2.md | 8 ++++++-- docs/recipes/gitlab/addcomponent.md | 14 ++++++++----- docs/recipes/gitlab/addstages.md | 14 ++++++++----- docs/recipes/gitlab/addtemplate.md | 14 ++++++++----- docs/recipes/gitlab/changetemplate.md | 14 ++++++++----- docs/recipes/gitlab/removetemplate.md | 14 ++++++++----- docs/recipes/gitlab/search/findcomponent.md | 14 ++++++++----- docs/recipes/gitlab/search/findtemplate.md | 14 ++++++++----- docs/recipes/gradle/adddependency.md | 14 ++++++++----- .../gradle/addjunitplatformlauncher.md | 7 ++++++- docs/recipes/gradle/addproperty.md | 14 ++++++++----- docs/recipes/gradle/changedependency.md | 14 ++++++++----- .../gradle/changedependencyartifactid.md | 14 ++++++++----- .../gradle/changedependencyclassifier.md | 14 ++++++++----- .../gradle/changedependencyconfiguration.md | 14 ++++++++----- .../gradle/changedependencyextension.md | 14 ++++++++----- .../recipes/gradle/changedependencygroupid.md | 14 ++++++++----- docs/recipes/gradle/changeextraproperty.md | 14 ++++++++----- .../gradle/dependencyconstrainttorule.md | 7 ++++++- .../gradle/dependencyusemapnotation.md | 7 ++++++- .../gradle/dependencyusestringnotation.md | 7 ++++++- docs/recipes/gradle/enablegradlebuildcache.md | 7 ++++++- .../gradle/enablegradleparallelexecution.md | 7 ++++++- docs/recipes/gradle/migratetogradle5.md | 7 ++++++- docs/recipes/gradle/migratetogradle6.md | 9 +++++++-- docs/recipes/gradle/migratetogradle7.md | 9 +++++++-- docs/recipes/gradle/migratetogradle8.md | 9 +++++++-- docs/recipes/gradle/plugins/addbuildplugin.md | 14 ++++++++----- .../plugins/adddevelocitygradleplugin.md | 9 +++++++-- .../gradle/plugins/addsettingsplugin.md | 14 ++++++++----- .../plugins/addsettingspluginrepository.md | 14 ++++++++----- docs/recipes/gradle/plugins/changeplugin.md | 14 ++++++++----- .../gradle/plugins/changepluginversion.md | 14 ++++++++----- .../migrategradleenterprisetodevelocity.md | 9 +++++++-- .../gradle/plugins/removebuildplugin.md | 14 ++++++++----- .../gradle/plugins/removesettingsplugin.md | 14 ++++++++----- .../gradle/plugins/upgradepluginversion.md | 14 ++++++++----- docs/recipes/gradle/removedependency.md | 14 ++++++++----- .../gradle/removeenablefeaturepreview.md | 14 ++++++++----- .../removeredundantdependencyversions.md | 9 +++++++-- docs/recipes/gradle/removerepository.md | 14 ++++++++----- .../gradle/search/dependencyinsight.md | 14 ++++++++----- docs/recipes/gradle/search/finddependency.md | 14 ++++++++----- .../gradle/search/finddependencyhandler.md | 7 ++++++- .../gradle/search/findgradleproject.md | 14 ++++++++----- .../gradle/search/findgradlewrapper.md | 9 +++++++-- docs/recipes/gradle/search/findplugins.md | 14 ++++++++----- docs/recipes/gradle/search/findrepository.md | 9 +++++++-- .../security/usehttpsforrepositories.md | 7 ++++++- .../addspringdependencymanagementplugin.md | 9 +++++++-- docs/recipes/gradle/updategradlewrapper.md | 9 +++++++-- .../recipes/gradle/updatejavacompatibility.md | 14 ++++++++----- .../gradle/upgradedependencyversion.md | 14 ++++++++----- .../upgradetransitivedependencyversion.md | 14 ++++++++----- docs/recipes/groovy/format/autoformat.md | 7 ++++++- .../groovy/format/gstringcurlybraces.md | 7 ++++++- .../omitparenthesesforlastargumentlambda.md | 7 ++++++- .../groovy/format/omitparenthesesformat.md | 7 ++++++- docs/recipes/hcl/deletecontent.md | 14 ++++++++----- docs/recipes/hcl/format/autoformat.md | 7 ++++++- docs/recipes/hcl/format/blanklines.md | 7 ++++++- docs/recipes/hcl/format/normalizeformat.md | 7 ++++++- .../hcl/format/removetrailingwhitespace.md | 7 ++++++- docs/recipes/hcl/format/spaces.md | 7 ++++++- docs/recipes/hcl/format/tabsandindents.md | 7 ++++++- docs/recipes/hcl/movecontenttofile.md | 14 ++++++++----- .../hcl/search/findandreplaceliteral.md | 14 ++++++++----- docs/recipes/hcl/search/findcontent.md | 14 ++++++++----- .../hibernate/emptyinterceptortointerface.md | 9 +++++++-- .../hibernate/migratebooleanmappings.md | 9 +++++++-- .../migrateresultcheckstyletoexpectation.md | 9 +++++++-- .../recipes/hibernate/migratetohibernate60.md | 11 +++++++--- .../recipes/hibernate/migratetohibernate61.md | 11 +++++++--- .../recipes/hibernate/migratetohibernate62.md | 11 +++++++--- .../recipes/hibernate/migratetohibernate63.md | 11 +++++++--- .../recipes/hibernate/migratetohibernate64.md | 11 +++++++--- .../recipes/hibernate/migratetohibernate65.md | 11 +++++++--- .../migratetohibernatedependencies60.md | 11 +++++++--- .../0.md | 11 +++++++--- .../2.md | 9 +++++++-- .../3.md | 9 +++++++-- docs/recipes/hibernate/migrateusertype.md | 9 +++++++-- ...nvalidhibernategeneratedvalueannotation.md | 9 +++++++-- .../replacelazycollectionannotation.md | 9 +++++++-- .../hibernate/typeannotationparameter.md | 9 +++++++-- .../recipes/hibernate/typedescriptortotype.md | 11 +++++++--- .../validator/hibernatevalidator_8_0.md | 9 +++++++-- .../camel40/camelquarkusmigrationrecipe.md | 11 +++++++--- .../camel44/camelquarkusmigrationrecipe.md | 9 +++++++-- .../camel47/camelquarkusmigrationrecipe.md | 11 +++++++--- .../core/quarkus30/additionalchanges.md | 11 +++++++--- .../adjustapplicationpropertieswithjakarta.md | 9 +++++++-- .../adjustapplicationyamlwithjakarta.md | 9 +++++++-- .../adjustkotlinallopendirectives.md | 9 +++++++-- .../core/quarkus30/applicationproperties.md | 11 +++++++--- .../updates/core/quarkus30/applicationyml.md | 11 +++++++--- .../changejavaxannotationtojakarta.md | 11 +++++++--- .../core/quarkus30/jacksonjavaxtojakarta.md | 11 +++++++--- ...xactivationmigrationtojakartaactivation.md | 11 +++++++--- ...xannotationmigrationtojakartaannotation.md | 11 +++++++--- .../javaxannotationpackagetojakarta.md | 11 +++++++--- ...javaxannotationsecuritypackagetojakarta.md | 11 +++++++--- .../javaxannotationsqlpackagetojakarta.md | 11 +++++++--- ...icationmigrationtojakartaauthentication.md | 11 +++++++--- ...rizationmigrationtojakartaauthorization.md | 11 +++++++--- .../javaxbatchmigrationtojakartabatch.md | 11 +++++++--- .../core/quarkus30/javaxconfigurationfiles.md | 11 +++++++--- .../javaxdecoratortojakartadecorator.md | 11 +++++++--- .../core/quarkus30/javaxejbtojakartaejb.md | 11 +++++++--- .../core/quarkus30/javaxeltojakartael.md | 11 +++++++--- .../javaxenterprisetojakartaenterprise.md | 11 +++++++--- .../quarkus30/javaxfacestojakartafaces.md | 11 +++++++--- .../javaxinjectmigrationtojakartainject.md | 11 +++++++--- .../javaxinterceptortojakartainterceptor.md | 11 +++++++--- .../core/quarkus30/javaxjmstojakartajms.md | 11 +++++++--- .../core/quarkus30/javaxjsontojakartajson.md | 11 +++++++--- .../core/quarkus30/javaxjwstojakartajws.md | 11 +++++++--- .../core/quarkus30/javaxmailtojakartamail.md | 11 +++++++--- .../javaxpersistencetojakartapersistence.md | 11 +++++++--- ...axpersistencexmltojakartapersistencexml.md | 11 +++++++--- .../javaxresourcetojakartaresource.md | 11 +++++++--- .../javaxsecuritytojakartasecurity.md | 11 +++++++--- .../quarkus30/javaxservlettojakartaservlet.md | 11 +++++++--- .../javaxtojakartaadditionalmigration.md | 11 +++++++--- .../quarkus30/javaxtojakartacodestarts.md | 11 +++++++--- .../javaxtojakartacodestartstests.md | 11 +++++++--- .../javaxtojakartadocumentationadoc.md | 11 +++++++--- .../javaxtojakartadocumentationmd.md | 11 +++++++--- .../core/quarkus30/javaxtojakartakotlin.md | 11 +++++++--- .../javaxtojakartakotlincodestarts.md | 11 +++++++--- .../javaxtojakartakotlincodestartstests.md | 11 +++++++--- ...ransactionmigrationtojakartatransaction.md | 11 +++++++--- ...xvalidationmigrationtojakartavalidation.md | 11 +++++++--- .../javaxwebsockettojakartawebsocket.md | 11 +++++++--- .../core/quarkus30/javaxwstojakartaws.md | 11 +++++++--- .../javaxxmlbindmigrationtojakartaxmlbind.md | 11 +++++++--- .../quarkus30/javaxxmlsoaptojakartaxmlsoap.md | 11 +++++++--- .../javaxxmlwsmigrationtojakartaxmlws.md | 11 +++++++--- .../quarkus/updates/core/quarkus30/kotlin.md | 9 +++++++-- .../core/quarkus30/renamejavaxservicefiles.md | 11 +++++++--- .../quarkus30/restassuredjavaxtojakarta.md | 9 +++++++-- .../core/quarkus30/upgradequarkiverse.md | 9 +++++++-- .../core/quarkus31/removemockitoinline.md | 9 +++++++-- .../core/quarkus310/adjustpackageproperty.md | 9 +++++++-- .../updates/core/quarkus310/flywaydb2.md | 11 +++++++--- .../updates/core/quarkus310/flywayderby.md | 11 +++++++--- .../core/quarkus310/flywaypostgresql.md | 11 +++++++--- .../synchibernatejpamodelgenversionwithbom.md | 9 +++++++-- .../core/quarkus310/updateconfigpackagepom.md | 9 +++++++-- .../updateconfigpackagesimpleproperties.md | 11 +++++++--- .../updateconfigpackagetypefastjar.md | 11 +++++++--- .../quarkus310/updateconfigpackagetypejar.md | 11 +++++++--- .../updateconfigpackagetypemutablejar.md | 11 +++++++--- .../updateconfigpackagetypenative.md | 11 +++++++--- .../updateconfigpackagetypenativesources.md | 11 +++++++--- .../updateconfigpackagetypeuberjar.md | 11 +++++++--- .../synchibernatejpamodelgenversionwithbom.md | 9 +++++++-- .../synchibernatejpamodelgenversionwithbom.md | 9 +++++++-- .../synchibernatejpamodelgenversionwithbom.md | 9 +++++++-- .../quarkus313/updatetestoidcauthserverurl.md | 9 +++++++-- .../core/quarkus32/applicationproperties.md | 11 +++++++--- .../updates/core/quarkus32/applicationyml.md | 11 +++++++--- .../updates/core/quarkus32/injectmock.md | 9 +++++++-- .../core/quarkus33/applicationproperties.md | 11 +++++++--- .../updates/core/quarkus33/applicationyml.md | 11 +++++++--- .../quarkus33/graalvmsubstitutionsartifact.md | 9 +++++++-- .../mutinyuniandgroupcombinedwith.md | 9 +++++++-- .../core/quarkus35/mutinyunimemoizeatleast.md | 9 +++++++-- .../quarkus36/jaegersmallryeopentracing.md | 11 +++++++--- .../addjpamodelgenannotationprocessor.md | 11 +++++++--- ...odelgenannotationprocessorifoldartifact.md | 11 +++++++--- .../addmavencompilerannotationprocessor.md | 14 ++++++++----- ...annotationprocessorgroupidandartifactid.md | 14 ++++++++----- .../quarkus37/deprecatedjavaxsecuritycert.md | 9 +++++++-- .../quarkus37/deprecatedlogrecordthreadid.md | 11 +++++++--- .../quarkus37/hibernatesearchoutboxpolling.md | 11 +++++++--- .../updates/core/quarkus37/javaversion17.md | 11 +++++++--- .../quarkus37/jre17agentmainpremainpublic.md | 11 +++++++--- .../updates/core/quarkus37/mavenplugins.md | 11 +++++++--- .../removedlegacysunjsseprovidername.md | 9 +++++++-- .../removejpamodelgendependencies.md | 11 +++++++--- .../replacejpamodelgenannotationprocessor.md | 9 +++++++-- .../core/quarkus37/resteasyclientrenaming.md | 11 +++++++--- .../synchibernatejpamodelgenversionwithbom.md | 9 +++++++-- ...mavencompilerannotationprocessorversion.md | 14 ++++++++----- .../updates/core/quarkus37/upgradetojava17.md | 11 +++++++--- .../synchibernatejpamodelgenversionwithbom.md | 9 +++++++-- .../updates/core/quarkus383/graalsdk.md | 9 +++++++-- .../updates/core/quarkus39/graalsdk.md | 9 +++++++-- .../updates/core/quarkus39/relocations.md | 11 +++++++--- .../removemavencompilerannotationprocessor.md | 14 ++++++++----- .../removepanacheannotationprocessor.md | 9 +++++++-- .../synchibernatejpamodelgenversionwithbom.md | 9 +++++++-- .../core/quarkus39/updateconfigroots.md | 11 +++++++--- docs/recipes/java/addapache2licenseheader.md | 7 ++++++- docs/recipes/java/addcommenttomethod.md | 14 ++++++++----- docs/recipes/java/addlicenseheader.md | 14 ++++++++----- docs/recipes/java/addliteralmethodargument.md | 14 ++++++++----- docs/recipes/java/addmethodparameter.md | 14 ++++++++----- docs/recipes/java/addnullmethodargument.md | 14 ++++++++----- .../java/addorupdateannotationattribute.md | 14 ++++++++----- docs/recipes/java/ai/classdefinitionlength.md | 7 ++++++- .../recipes/java/ai/methoddefinitionlength.md | 7 ++++++- .../java/boot3/replacemockbeanandspybean.md | 11 +++++++--- .../java/camel/migrate/changepropertyvalue.md | 11 +++++++--- .../java/camel/migrate/removedextensions.md | 11 +++++++--- .../java/changeannotationattributename.md | 14 ++++++++----- docs/recipes/java/changemethodaccesslevel.md | 14 ++++++++----- docs/recipes/java/changemethodname.md | 14 ++++++++----- .../java/changemethodtargettostatic.md | 14 ++++++++----- .../java/changemethodtargettovariable.md | 14 ++++++++----- docs/recipes/java/changepackage.md | 14 ++++++++----- .../recipes/java/changestaticfieldtomethod.md | 14 ++++++++----- docs/recipes/java/changetype.md | 14 ++++++++----- docs/recipes/java/createemptyjavaclass.md | 14 ++++++++----- docs/recipes/java/deletemethodargument.md | 14 ++++++++----- .../java/dependencies/adddependency.md | 14 ++++++++----- .../java/dependencies/changedependency.md | 14 ++++++++----- .../java/dependencies/dependencyinsight.md | 14 ++++++++----- .../dependencies/dependencylicensecheck.md | 17 +++++++++------- .../java/dependencies/dependencylist.md | 14 ++++++++----- .../dependencyresolutiondiagnostic.md | 11 +++++++--- .../dependencyvulnerabilitycheck.md | 8 ++++++-- .../dependencies/relocateddependencycheck.md | 11 +++++++--- .../java/dependencies/removedependency.md | 14 ++++++++----- .../dependencies/removeexpiredsuppressions.md | 9 +++++++-- .../dependencies/removeunuseddependencies.md | 8 ++++++-- .../search/findminimumdependencyversion.md | 14 ++++++++----- .../dependencies/softwarebillofmaterials.md | 8 ++++++-- .../dependencies/upgradedependencyversion.md | 14 ++++++++----- .../upgradetransitivedependencyversion.md | 14 ++++++++----- docs/recipes/java/format/autoformat.md | 7 ++++++- docs/recipes/java/format/blanklines.md | 7 ++++++- .../java/format/emptynewlineatendoffile.md | 7 ++++++- docs/recipes/java/format/methodparampad.md | 7 ++++++- docs/recipes/java/format/normalizeformat.md | 7 ++++++- .../java/format/normalizelinebreaks.md | 7 ++++++- .../java/format/normalizetabsorspaces.md | 7 ++++++- docs/recipes/java/format/nowhitespaceafter.md | 7 ++++++- .../recipes/java/format/nowhitespacebefore.md | 7 ++++++- .../java/format/pademptyforloopcomponents.md | 7 ++++++- .../java/format/removetrailingwhitespace.md | 7 ++++++- .../recipes/java/format/singlelinecomments.md | 7 ++++++- docs/recipes/java/format/spaces.md | 7 ++++++- docs/recipes/java/format/tabsandindents.md | 7 ++++++- docs/recipes/java/format/typecastparenpad.md | 7 ++++++- docs/recipes/java/format/wrappingandbraces.md | 7 ++++++- .../codehaus/codehausdependencytofasterxml.md | 11 +++++----- .../jackson/codehaus/jsonincludeannotation.md | 8 ++++++-- ...emovedoublyannotatedcodehausannotations.md | 8 ++++++-- ...rializationconfigannotationintrospector.md | 8 ++++++-- ...rializeargumentsfromcodehaustofasterxml.md | 8 ++++++-- .../jackson/codehausclassestofasterxml.md | 11 +++++----- .../java/jackson/codehaustofasterxml.md | 11 +++++----- .../migratefromjakartaannotationapi.md | 11 +++++++--- .../jspecify/migratefromjavaxannotationapi.md | 11 +++++++--- .../migratefromjetbrainsannotations.md | 11 +++++++--- .../migratefromopenrewriteannotations.md | 9 +++++++-- .../migratefromspringframeworkannotations.md | 11 +++++++--- .../java/jspecify/migratetojspecify.md | 11 +++++++--- .../liberty/migratefromwebspheretoliberty.md | 11 +++++++--- .../removewas2libertynonportablejndilookup.md | 9 +++++++-- docs/recipes/java/liberty/servername.md | 9 +++++++-- .../websphereunavailablessocookiemethod.md | 9 +++++++-- .../liberty/websphereunavailablessomethods.md | 11 +++++++--- .../java/logging/changelomboklogannotation.md | 11 +++++++--- ...es$loglevelconfigsuppliertomethodrecipe.md | 9 +++++++-- ...hodrecipes$loglevelconfigtomethodrecipe.md | 9 +++++++-- ...pes$loglevelfinersuppliertomethodrecipe.md | 9 +++++++-- ...thodrecipes$loglevelfinertomethodrecipe.md | 9 +++++++-- ...es$loglevelfinestsuppliertomethodrecipe.md | 9 +++++++-- ...hodrecipes$loglevelfinesttomethodrecipe.md | 9 +++++++-- ...ipes$loglevelfinesuppliertomethodrecipe.md | 9 +++++++-- ...ethodrecipes$loglevelfinetomethodrecipe.md | 9 +++++++-- ...ipes$loglevelinfosuppliertomethodrecipe.md | 9 +++++++-- ...ethodrecipes$loglevelinfotomethodrecipe.md | 9 +++++++-- ...es$loglevelseveresuppliertomethodrecipe.md | 9 +++++++-- ...hodrecipes$loglevelseveretomethodrecipe.md | 9 +++++++-- ...s$loglevelwarningsuppliertomethodrecipe.md | 9 +++++++-- ...odrecipes$loglevelwarningtomethodrecipe.md | 9 +++++++-- .../jul/loggerlevelargumenttomethodrecipes.md | 11 +++++++--- .../logging/log4j/commonsloggingtolog4j.md | 11 +++++++--- .../java/logging/log4j/convertjulentering.md | 9 +++++++-- .../java/logging/log4j/convertjulexiting.md | 9 +++++++-- docs/recipes/java/logging/log4j/jultolog4j.md | 11 +++++++--- .../java/logging/log4j/log4j1tolog4j2.md | 11 +++++++--- .../loggersetleveltoconfiguratorrecipe.md | 9 +++++++-- .../loggingexceptionconcatenationrecipe.md | 9 +++++++-- .../logging/log4j/parameterizedlogging.md | 11 +++++++--- .../java/logging/log4j/prependrandomname.md | 9 +++++++-- .../java/logging/log4j/slf4jtolog4j.md | 11 +++++++--- .../log4j/upgradelog4j2dependencyversion.md | 9 +++++++-- .../logging/logback/log4jappendertologback.md | 9 +++++++-- .../logging/logback/log4jlayouttologback.md | 9 +++++++-- .../java/logging/logback/log4jtologback.md | 11 +++++++--- .../java/logging/parameterizedlogging.md | 14 ++++++++----- .../java/logging/printstacktracetologerror.md | 11 +++++++--- .../java/logging/slf4j/changeloglevel.md | 14 ++++++++----- .../logging/slf4j/commonslogging1toslf4j1.md | 11 +++++++--- .../logging/slf4j/completeexceptionlogging.md | 9 +++++++-- ...classcanonicalnametologgerfactoryrecipe.md | 9 +++++++-- ...getloggerclassnametologgerfactoryrecipe.md | 9 +++++++-- .../julgetloggertologgerfactoryrecipes.md | 11 +++++++--- ...drecipes$loggerisloggablelevelallrecipe.md | 9 +++++++-- ...cipes$loggerisloggablelevelconfigrecipe.md | 9 +++++++-- ...recipes$loggerisloggablelevelfinerecipe.md | 9 +++++++-- ...ecipes$loggerisloggablelevelfinerrecipe.md | 9 +++++++-- ...cipes$loggerisloggablelevelfinestrecipe.md | 9 +++++++-- ...recipes$loggerisloggablelevelinforecipe.md | 9 +++++++-- ...cipes$loggerisloggablelevelsevererecipe.md | 9 +++++++-- ...ipes$loggerisloggablelevelwarningrecipe.md | 9 +++++++-- .../slf4j/julisloggabletoisenabledrecipes.md | 11 +++++++--- .../logging/slf4j/jullevelalltotracerecipe.md | 9 +++++++-- .../slf4j/julparameterizedarguments.md | 9 +++++++-- docs/recipes/java/logging/slf4j/jultoslf4j.md | 11 +++++++--- ...rrecipes$jultoslf4jsupplierconfigrecipe.md | 9 +++++++-- ...ierrecipes$jultoslf4jsupplierfinerecipe.md | 9 +++++++-- ...errecipes$jultoslf4jsupplierfinerrecipe.md | 9 +++++++-- ...rrecipes$jultoslf4jsupplierfinestrecipe.md | 9 +++++++-- ...ierrecipes$jultoslf4jsupplierinforecipe.md | 9 +++++++-- ...rrecipes$jultoslf4jsupplierlogallrecipe.md | 9 +++++++-- ...cipes$jultoslf4jsupplierlogconfigrecipe.md | 9 +++++++-- ...recipes$jultoslf4jsupplierlogfinerecipe.md | 9 +++++++-- ...ecipes$jultoslf4jsupplierlogfinerrecipe.md | 9 +++++++-- ...cipes$jultoslf4jsupplierlogfinestrecipe.md | 9 +++++++-- ...recipes$jultoslf4jsupplierloginforecipe.md | 9 +++++++-- ...cipes$jultoslf4jsupplierlogsevererecipe.md | 9 +++++++-- ...ipes$jultoslf4jsupplierlogwarningrecipe.md | 9 +++++++-- ...rrecipes$jultoslf4jsuppliersevererecipe.md | 9 +++++++-- ...recipes$jultoslf4jsupplierwarningrecipe.md | 9 +++++++-- .../slf4j/jultoslf4jlambdasupplierrecipes.md | 11 +++++++--- ...ablerecipes$jultoslf4jsupplierallrecipe.md | 9 +++++++-- ...erecipes$jultoslf4jsupplierconfigrecipe.md | 9 +++++++-- ...blerecipes$jultoslf4jsupplierfinerecipe.md | 9 +++++++-- ...lerecipes$jultoslf4jsupplierfinerrecipe.md | 9 +++++++-- ...erecipes$jultoslf4jsupplierfinestrecipe.md | 9 +++++++-- ...blerecipes$jultoslf4jsupplierinforecipe.md | 9 +++++++-- ...erecipes$jultoslf4jsuppliersevererecipe.md | 9 +++++++-- ...recipes$jultoslf4jsupplierwarningrecipe.md | 9 +++++++-- ...slf4jlambdasupplierwiththrowablerecipes.md | 11 +++++++--- ...ablerecipes$jultoslf4jsupplierallrecipe.md | 9 +++++++-- ...erecipes$jultoslf4jsupplierconfigrecipe.md | 9 +++++++-- ...blerecipes$jultoslf4jsupplierfinerecipe.md | 9 +++++++-- ...lerecipes$jultoslf4jsupplierfinerrecipe.md | 9 +++++++-- ...erecipes$jultoslf4jsupplierfinestrecipe.md | 9 +++++++-- ...blerecipes$jultoslf4jsupplierinforecipe.md | 9 +++++++-- ...erecipes$jultoslf4jsuppliersevererecipe.md | 9 +++++++-- ...recipes$jultoslf4jsupplierwarningrecipe.md | 9 +++++++-- ...ltoslf4jsimplecallswiththrowablerecipes.md | 11 +++++++--- .../java/logging/slf4j/log4j1toslf4j1.md | 11 +++++++--- .../java/logging/slf4j/log4j2toslf4j1.md | 11 +++++++--- .../java/logging/slf4j/log4jtoslf4j.md | 11 +++++++--- .../slf4j/loggersnamedforenclosingclass.md | 9 +++++++-- .../logging/slf4j/parameterizedlogging.md | 11 +++++++--- .../java/logging/slf4j/slf4jbestpractices.md | 11 +++++++--- .../logging/slf4j/slf4jlogshouldbeconstant.md | 9 +++++++-- .../java/logging/systemerrtologging.md | 11 +++++++--- .../java/logging/systemouttologging.md | 11 +++++++--- .../java/logging/systemprinttologging.md | 11 +++++++--- .../micronaut/addannotationprocessorpath.md | 14 ++++++++----- .../micronaut/addhttprequesttypeparameter.md | 9 +++++++-- .../addmicronautretrydependencyifneeded.md | 9 +++++++-- ...addmicronautwebsocketdependencyifneeded.md | 9 +++++++-- .../addsnakeyamldependencyifneeded.md | 9 +++++++-- ...ddtestresourcesclientdependencyifneeded.md | 9 +++++++-- .../beanpropertycapitalizationstrategy.md | 9 +++++++-- .../changeannotationprocessorpath.md | 14 ++++++++----- .../micronaut/copynoninheritedannotations.md | 9 +++++++-- .../java/micronaut/findpropertiesconfig.md | 9 +++++++-- docs/recipes/java/micronaut/findyamlconfig.md | 9 +++++++-- ...xdeprecatedexceptionhandlerconstructors.md | 9 +++++++-- .../java/micronaut/micronaut2to3migration.md | 11 +++++++--- .../java/micronaut/micronaut3to4migration.md | 11 +++++++--- ...questhttpserverfiltertohttpserverfilter.md | 9 +++++++-- ...iderimplementationstomicronautfactories.md | 9 +++++++-- .../removeannotationprocessorpath.md | 14 ++++++++----- .../removeunnecessarydependencies.md | 9 +++++++-- .../removewithjansilogbackconfiguration.md | 9 +++++++-- ...assesreturnedfromfactoriesnotinjectable.md | 9 +++++++-- .../micronaut/typerequiresintrospection.md | 9 +++++++-- .../micronaut/updateblockingtaskexecutors.md | 9 +++++++-- .../java/micronaut/updatebuildplugins.md | 11 +++++++--- .../updatebuildtomicronaut4version.md | 11 +++++++--- .../micronaut/updatejakartaannotations.md | 11 +++++++--- .../updatemavenannotationprocessors.md | 11 +++++++--- .../java/micronaut/updatemicronautdata.md | 11 +++++++--- .../java/micronaut/updatemicronautemail.md | 11 +++++++--- .../micronaut/updatemicronautplatformbom.md | 9 +++++++-- .../java/micronaut/updatemicronautsecurity.md | 11 +++++++--- .../java/micronaut/updatemicronautsession.md | 11 +++++++--- .../micronaut/updatemicronautvalidation.md | 11 +++++++--- .../updatesecuritypropertiesifneeded.md | 11 +++++++--- .../micronaut/updatesecurityyamlifneeded.md | 11 +++++++--- ...upgrademicronautgradlepropertiesversion.md | 14 ++++++++----- .../upgrademicronautmavenpropertyversion.md | 14 ++++++++----- .../java/migrate/addjdeprscanplugin.md | 11 +++++++--- .../java/migrate/addlombokmapstructbinding.md | 11 +++++++--- .../migrate/addmissingmethodimplementation.md | 14 ++++++++----- ...ssionforillegalreflectionwarningsplugin.md | 11 +++++++--- ...storeexceptiontotypenotpresentexception.md | 9 +++++++-- docs/recipes/java/migrate/beandiscovery.md | 9 +++++++-- .../recipes/java/migrate/beansxmlnamespace.md | 9 +++++++-- .../java/migrate/castarraysaslisttolist.md | 9 +++++++-- .../changemethodinvocationreturntype.md | 14 ++++++++----- .../cobertura/removecoberturamavenplugin.md | 9 +++++++-- .../migrate/concurrent/javaconcurrentapis.md | 11 +++++++--- ...akcompareandsettoweakcompareandsetplain.md | 9 +++++++-- ...akcompareandsettoweakcompareandsetplain.md | 9 +++++++-- ...akcompareandsettoweakcompareandsetplain.md | 9 +++++++-- ...akcompareandsettoweakcompareandsetplain.md | 9 +++++++-- ...akcompareandsettoweakcompareandsetplain.md | 9 +++++++-- ...akcompareandsettoweakcompareandsetplain.md | 9 +++++++-- ...akcompareandsettoweakcompareandsetplain.md | 9 +++++++-- .../java/migrate/deletedeprecatedfinalize.md | 11 +++++++--- .../deprecatedcountstackframesmethod.md | 9 +++++++-- .../migrate/deprecatedjavaxsecuritycert.md | 9 +++++++-- .../migrate/deprecatedlogrecordthreadid.md | 11 +++++++--- docs/recipes/java/migrate/dontoverfetchdto.md | 14 ++++++++----- docs/recipes/java/migrate/guava/noguava.md | 11 +++++++--- .../guava/noguavaatomicsnewreference.md | 9 +++++++-- .../migrate/guava/noguavacreatetempdir.md | 9 +++++++-- .../migrate/guava/noguavadirectexecutor.md | 9 +++++++-- .../migrate/guava/noguavaimmutablelistof.md | 9 +++++++-- .../migrate/guava/noguavaimmutablemapof.md | 9 +++++++-- .../migrate/guava/noguavaimmutablesetof.md | 9 +++++++-- .../java/migrate/guava/noguavajava11.md | 11 +++++++--- .../java/migrate/guava/noguavajava21.md | 11 +++++++--- .../migrate/guava/noguavalistsnewarraylist.md | 9 +++++++-- .../noguavalistsnewcopyonwritearraylist.md | 9 +++++++-- .../guava/noguavalistsnewlinkedlist.md | 9 +++++++-- .../migrate/guava/noguavamapsnewhashmap.md | 9 +++++++-- .../guava/noguavamapsnewlinkedhashmap.md | 9 +++++++-- .../migrate/guava/noguavamapsnewtreemap.md | 9 +++++++-- .../guava/noguavaoptionalfromjavautil.md | 9 +++++++-- .../guava/noguavaoptionaltojavautil.md | 9 +++++++-- .../migrate/guava/noguavaprimitiveaslist.md | 9 +++++++-- ...ecknotnulltoobjectsrequirenonnullrecipe.md | 9 +++++++-- ...tsrequirenonnullmessagetypeobjectrecipe.md | 9 +++++++-- ...ithmessagetoobjectsrequirenonnullrecipe.md | 9 +++++++-- .../migrate/guava/noguavarefasterrecipes.md | 11 +++++++--- .../guava/noguavasetsnewconcurrenthashset.md | 9 +++++++-- .../migrate/guava/noguavasetsnewhashset.md | 9 +++++++-- .../guava/noguavasetsnewlinkedhashset.md | 9 +++++++-- .../java/migrate/guava/prefercharcompare.md | 9 +++++++-- .../migrate/guava/preferintegercompare.md | 9 +++++++-- .../guava/preferintegercompareunsigned.md | 11 +++++++--- .../guava/preferintegerdivideunsigned.md | 11 +++++++--- .../guava/preferintegerparseunsignedint.md | 9 +++++++-- .../guava/preferintegerremainderunsigned.md | 9 +++++++-- .../preferjavaniocharsetstandardcharsets.md | 9 +++++++-- .../migrate/guava/preferjavastringjoin.md | 9 +++++++-- ...utilcollectionssynchronizednavigablemap.md | 9 +++++++-- ...utilcollectionsunmodifiablenavigablemap.md | 9 +++++++-- .../migrate/guava/preferjavautilfunction.md | 9 +++++++-- .../guava/preferjavautilobjectsequals.md | 11 +++++++--- .../guava/preferjavautilobjectshashcode.md | 11 +++++++--- ...preferjavautilobjectsrequirenonnullelse.md | 11 +++++++--- .../migrate/guava/preferjavautiloptional.md | 11 +++++++--- .../guava/preferjavautiloptionalorelsenull.md | 9 +++++++-- .../guava/preferjavautiloptionalorsupplier.md | 9 +++++++-- .../migrate/guava/preferjavautilpredicate.md | 11 +++++++--- .../migrate/guava/preferjavautilsupplier.md | 9 +++++++-- .../java/migrate/guava/preferlongcompare.md | 9 +++++++-- .../guava/preferlongcompareunsigned.md | 11 +++++++--- .../migrate/guava/preferlongdivideunsigned.md | 11 +++++++--- .../guava/preferlongparseunsignedlong.md | 9 +++++++-- .../guava/preferlongremainderunsigned.md | 9 +++++++-- .../java/migrate/guava/prefermathaddexact.md | 11 +++++++--- .../java/migrate/guava/prefermathclamp.md | 11 +++++++--- .../migrate/guava/prefermathmultiplyexact.md | 11 +++++++--- .../migrate/guava/prefermathsubtractexact.md | 11 +++++++--- .../java/migrate/guava/prefershortcompare.md | 9 +++++++-- .../recipes/java/migrate/ibmjdktooraclejdk.md | 9 +++++++-- docs/recipes/java/migrate/ibmsemeru.md | 11 +++++++--- ...entexceptiontoalreadyconnectedexception.md | 9 +++++++-- .../java/migrate/internalbindpackages.md | 9 +++++++-- ...cefileinoroutputstreamfinalizewithclose.md | 9 +++++++-- .../java/migrate/jacoco/upgradejacoco.md | 11 +++++++--- ...applicationpathwildcardnolongeraccepted.md | 9 +++++++-- .../migrate/jakarta/beanvalidationmessages.md | 9 +++++++-- .../jakarta/deprecatedcdiapisremoved40.md | 11 +++++++--- .../migrate/jakarta/ehcachejavaxtojakarta.md | 11 +++++++--- .../jakarta/faces2xmigrationtojakarta4x.md | 11 +++++++--- .../migrate/jakarta/facesjndinameschanged.md | 11 +++++++--- .../jakarta/facesmanagedbeansremoved.md | 11 +++++++--- .../migrate/jakarta/jacksonjavaxtojakarta.md | 11 +++++++--- .../java/migrate/jakarta/jakartaee10.md | 11 +++++++--- .../migrate/jakarta/jakartafacesecmascript.md | 11 +++++++--- .../java/migrate/jakarta/jakartafacesxhtml.md | 11 +++++++--- ...xactivationmigrationtojakartaactivation.md | 11 +++++++--- ...xannotationmigrationtojakartaannotation.md | 11 +++++++--- ...icationmigrationtojakartaauthentication.md | 11 +++++++--- ...rizationmigrationtojakartaauthorization.md | 11 +++++++--- .../javaxbatchmigrationtojakartabatch.md | 11 +++++++--- .../jakarta/javaxbeansxmltojakartabeansxml.md | 11 +++++++--- ...validationxmltojakartabeanvalidationxml.md | 11 +++++++--- .../javaxdecoratortojakartadecorator.md | 11 +++++++--- .../migrate/jakarta/javaxeeapitojakarta.md | 11 +++++++--- .../javaxejbjarxmltojakartaejbjarxml.md | 11 +++++++--- .../migrate/jakarta/javaxejbtojakartaejb.md | 11 +++++++--- .../migrate/jakarta/javaxeltojakartael.md | 11 +++++++--- .../javaxenterprisetojakartaenterprise.md | 11 +++++++--- ...axfacesconfigxmltojakartafacesconfigxml.md | 11 +++++++--- ...aglibraryxmltojakartafacestaglibraryxml.md | 11 +++++++--- .../jakarta/javaxfacestojakartafaces.md | 11 +++++++--- .../javaxinjectmigrationtojakartainject.md | 11 +++++++--- .../javaxinterceptortojakartainterceptor.md | 11 +++++++--- .../migrate/jakarta/javaxjmstojakartajms.md | 11 +++++++--- .../migrate/jakarta/javaxjsontojakartajson.md | 11 +++++++--- .../migrate/jakarta/javaxjwstojakartajws.md | 11 +++++++--- .../migrate/jakarta/javaxmailtojakartamail.md | 11 +++++++--- .../jakarta/javaxmigrationtojakarta.md | 11 +++++++--- .../jakarta/javaxormxmltojakartaormxml.md | 11 +++++++--- .../javaxpersistencetojakartapersistence.md | 11 +++++++--- ...axpersistencexmltojakartapersistencexml.md | 11 +++++++--- .../jakarta/javaxresourcetojakartaresource.md | 11 +++++++--- .../jakarta/javaxsecuritytojakartasecurity.md | 11 +++++++--- .../jakarta/javaxservlettojakartaservlet.md | 11 +++++++--- .../jakarta/javaxtojakartacdiextensions.md | 9 +++++++-- ...ransactionmigrationtojakartatransaction.md | 11 +++++++--- ...xvalidationmigrationtojakartavalidation.md | 11 +++++++--- ...axwebfragmentxmltojakartawebfragmentxml.md | 11 +++++++--- .../javaxwebsockettojakartawebsocket.md | 11 +++++++--- .../jakarta/javaxwebxmltojakartawebxml.md | 11 +++++++--- .../migrate/jakarta/javaxwstojakartaws.md | 11 +++++++--- .../javaxxmlbindmigrationtojakartaxmlbind.md | 11 +++++++--- .../jakarta/javaxxmlsoaptojakartaxmlsoap.md | 11 +++++++--- .../javaxxmlwsmigrationtojakartaxmlws.md | 11 +++++++--- .../migrate/jakarta/johnzonjavaxtojakarta.md | 11 +++++++--- .../jakarta/removalsservletjakarta10.md | 11 +++++++--- .../migrate/jakarta/removebeanisnullable.md | 9 +++++++-- .../removedisparmetersprovidedmethod.md | 9 +++++++-- ...edjakartafacesexpressionlanguageclasses.md | 11 +++++++--- .../removedjakartafacesresourceresolver.md | 11 +++++++--- .../jakarta/removedsoapelementfactory.md | 11 +++++++--- .../jakarta/removedstatemanagermethods.md | 11 +++++++--- .../jakarta/removeduicomponentconstant.md | 11 +++++++--- .../removejakartaannotationdependency.md | 11 +++++++--- .../jakarta/restassuredjavaxtojakarta.md | 9 +++++++-- .../servletcookiebehaviorchangerfc6265.md | 11 +++++++--- .../jakarta/updateaddannotatedtypes.md | 9 +++++++-- .../jakarta/updateapachewssecuritypackages.md | 11 +++++++--- .../jakarta/updatebeanmanagermethods.md | 9 +++++++-- .../java/migrate/jakarta/updategetrealpath.md | 9 +++++++-- .../jakarta/updatejakartaannotations2.md | 9 +++++++-- .../jakarta/updatejakartaplatform10.md | 9 +++++++-- .../upgradefacesopensourcelibraries.md | 11 +++++++--- .../wswsocservercontainerdeprecation.md | 11 +++++++--- docs/recipes/java/migrate/java8tojava11.md | 11 +++++++--- docs/recipes/java/migrate/javaee6.md | 9 +++++++-- docs/recipes/java/migrate/javaee7-recipe.md | 11 +++++++--- .../javaee7/openjpapersistenceprovider.md | 9 +++++++-- docs/recipes/java/migrate/javaee8-recipe.md | 11 +++++++--- .../migrate/javaee8/apachedefaultprovider.md | 11 +++++++--- .../servletisrequestedsessionidfromurl.md | 9 +++++++-- .../java/migrate/javax/addcolumnannotation.md | 9 +++++++-- .../javax/addcommonannotationsdependencies.md | 11 +++++++--- .../adddefaultconstructortoentityclass.md | 9 +++++++-- .../migrate/javax/addinjectdependencies.md | 11 +++++++--- .../java/migrate/javax/addjaxbdependencies.md | 11 +++++++--- .../java/migrate/javax/addjaxbruntime.md | 14 ++++++++----- .../migrate/javax/addjaxwsdependencies.md | 11 +++++++--- .../addjaxwsruntime$addjaxwsruntimegradle.md | 9 +++++++-- .../addjaxwsruntime$addjaxwsruntimemaven.md | 9 +++++++-- .../java/migrate/javax/addjaxwsruntime.md | 11 +++++++--- .../migrate/javax/addscopetoinjectedclass.md | 9 +++++++-- .../java/migrate/javax/addtablegenerator.md | 9 +++++++-- .../addtransientannotationtocollections.md | 9 +++++++-- .../javax/addtransientannotationtoentity.md | 9 +++++++-- ...addtransientannotationtoprivateaccessor.md | 9 +++++++-- .../migrate/javax/httpsessioninvalidate.md | 9 +++++++-- .../java/migrate/javax/javaxlangmodelutil.md | 11 +++++++--- .../javax/javaxmanagementmonitorapis.md | 9 +++++++-- .../java/migrate/javax/javaxxmlstreamapis.md | 11 +++++++--- ...grateabstractannotationvaluevisitor6to9.md | 9 +++++++-- .../migrateabstractelementvisitor6to9.md | 9 +++++++-- .../javax/migrateabstracttypevisitor6to9.md | 9 +++++++-- ...ermonitorsetthresholdtosetinitthreshold.md | 9 +++++++-- .../javax/migrateelementkindvisitor6to9.md | 9 +++++++-- .../javax/migrateelementscanner6to9.md | 9 +++++++-- ...migratesimpleannotationvaluevisitor6to9.md | 9 +++++++-- .../javax/migratesimpleelementvisitor6to9.md | 9 +++++++-- .../javax/migratesimpletypevisitor6to9.md | 9 +++++++-- .../javax/migratetypekindvisitor6to9.md | 9 +++++++-- ...exmleventfactorynewinstancetonewfactory.md | 9 +++++++-- ...exmlinputfactorynewinstancetonewfactory.md | 9 +++++++-- ...xmloutputfactorynewinstancetonewfactory.md | 9 +++++++-- .../migrate/javax/openjpatoeclipselink.md | 11 +++++++--- .../java/migrate/javax/removeembeddableid.md | 9 +++++++-- .../migrate/javax/removetemporalannotation.md | 9 +++++++-- .../migrate/javax/usejoincolumnformapping.md | 9 +++++++-- .../java/migrate/joda/jodatimerecipe.md | 9 +++++++-- docs/recipes/java/migrate/joda/nojodatime.md | 11 +++++++--- .../java/migrate/jpacacheproperties.md | 9 +++++++-- .../migrate/jre17agentmainpremainpublic.md | 11 +++++++--- .../java/migrate/jredonotusesunnetsslapis.md | 9 +++++++-- ...jredonotusesunnetsslinternalsslprovider.md | 11 +++++++--- ...jredonotusesunnetsslinternalwwwprotocol.md | 9 +++++++-- ...unnetsslinternalwwwprotocolhttpshandler.md | 9 +++++++-- .../migrate/jrejdbcinterfacenewmethods.md | 11 +++++++--- .../java/migrate/jrethrowablefinalmethods.md | 9 +++++++-- .../java/migrate/jrewrapperinterface.md | 11 +++++++--- .../java/migrate/krb5loginmoduleclass.md | 9 +++++++-- .../java/migrate/lang/explicitrecordimport.md | 9 +++++++-- .../recipes/java/migrate/lang/javalangapis.md | 11 +++++++--- ...javaletterordigittoisjavaidentifierpart.md | 9 +++++++-- ...cterisjavalettertoisjavaidentifierstart.md | 9 +++++++-- .../migratecharacterisspacetoiswhitespace.md | 9 +++++++-- .../lang/migrateclassloaderdefineclass.md | 9 +++++++-- ...ancetogetdeclaredconstructornewinstance.md | 9 +++++++-- .../migrateruntimeversionmajortofeature.md | 9 +++++++-- .../migrateruntimeversionminortointerim.md | 9 +++++++-- .../migrateruntimeversionsecuritytoupdate.md | 9 +++++++-- .../lang/migratesecuritymanagermulticast.md | 9 +++++++-- .../java/migrate/lang/stringformatted.md | 11 +++++++--- .../stringrulesrecipes$indexofcharrecipe.md | 9 +++++++-- .../stringrulesrecipes$indexofstringrecipe.md | 9 +++++++-- .../stringrulesrecipes$redundantcallrecipe.md | 9 +++++++-- ...grulesrecipes$useequalsignorecaserecipe.md | 9 +++++++-- .../java/migrate/lang/stringrulesrecipes.md | 11 +++++++--- .../migrate/lang/threadstopunsupported.md | 9 +++++++-- .../migrate/lang/usestringisemptyrecipe.md | 9 +++++++-- .../java/migrate/lang/usetextblocks.md | 11 +++++++--- docs/recipes/java/migrate/lang/usevar.md | 11 +++++++--- .../var/usevarforgenericmethodinvocations.md | 9 +++++++-- .../lang/var/usevarforgenericsconstructors.md | 9 +++++++-- .../java/migrate/lang/var/usevarforobject.md | 9 +++++++-- .../migrate/lang/var/usevarforprimitive.md | 9 +++++++-- .../java/migrate/logging/javaloggingapis.md | 11 +++++++--- ...rategetloggingmxbeantogetplatformmxbean.md | 9 +++++++-- ...aceloggingmxbeantoplatformloggingmxbean.md | 9 +++++++-- .../logging/migrateloggerglobaltogetglobal.md | 9 +++++++-- .../migrateloggerlogrbtouseresourcebundle.md | 9 +++++++-- .../migratelogrecordsetmillistosetinstant.md | 9 +++++++-- .../migrate/lombok/lombokvaltofinalvar.md | 9 +++++++-- .../migrate/lombok/lombokvaluetorecord.md | 11 +++++++--- .../migrate/lombok/updatelomboktojava11.md | 11 +++++++--- .../java/migrate/lombok/uselombokgetter.md | 9 +++++++-- .../java/migrate/lombok/uselomboksetter.md | 9 +++++++-- .../updatemavenprojectpropertyjavaversion.md | 14 ++++++++----- ...mavencompilerpluginreleaseconfiguration.md | 14 ++++++++----- .../metrics/simplifymicrometermetertags.md | 9 +++++++-- docs/recipes/java/migrate/mxbeanrule.md | 9 +++++++-- docs/recipes/java/migrate/net/javanetapis.md | 11 +++++++--- ...ctionhttpservererrortohttpinternalerror.md | 9 +++++++-- ...atemulticastsocketgetttltogettimetolive.md | 9 +++++++-- ...atemulticastsocketsetttltosettimetolive.md | 9 +++++++-- .../migrate/net/migrateurldecoderdecode.md | 9 +++++++-- .../migrate/net/migrateurlencoderencode.md | 9 +++++++-- ...ecipes$urlfourargumentconstructorrecipe.md | 9 +++++++-- ...ipes$urlsingleargumentconstructorrecipe.md | 9 +++++++-- ...cipes$urlthreeargumentconstructorrecipe.md | 9 +++++++-- .../net/urlconstructorstourirecipes.md | 11 +++++++--- .../java/migrate/nio/file/pathsgettopathof.md | 11 +++++++--- .../java/migrate/referenceclonemethod.md | 9 +++++++-- .../migrate/removedfileiofinalizemethods.md | 11 +++++++--- .../migrate/removedjavaxmlwsmoduleprovided.md | 9 +++++++-- .../java/migrate/removedjaxbmoduleprovided.md | 11 +++++++--- .../removedlegacysunjsseprovidername.md | 9 +++++++-- ...difierandconstantbootstrapsconstructors.md | 11 +++++++--- docs/recipes/java/migrate/removedpolicy.md | 9 +++++++-- ...iconnectorservercredentialtypesconstant.md | 9 +++++++-- .../migrate/removedruntimetracemethods.md | 11 +++++++--- .../migrate/removedsecuritymanagermethods.md | 9 +++++++-- ...essiongetpeercertificatechainmethodimpl.md | 9 +++++++-- .../java/migrate/removedsubjectmethods.md | 11 +++++++--- .../migrate/removedtoolproviderconstructor.md | 9 +++++++-- .../java/migrate/removedzipfinalizemethods.md | 11 +++++++--- .../java/migrate/removeillegalsemicolons.md | 9 +++++++-- .../java/migrate/replaceawtgetpeermethod.md | 11 +++++++--- .../replacecomsunawtutilitiesmethods.md | 11 +++++++--- .../migrate/replacelocalizedstreammethods.md | 11 +++++++--- .../java/migrate/replacestringliteralvalue.md | 14 ++++++++----- .../java/migrate/search/aboutjavaversion.md | 11 +++++++--- .../java/migrate/search/finddatausedondto.md | 14 ++++++++----- .../migrate/search/finddtooverfetching.md | 14 ++++++++----- .../migrate/search/findinternaljavaxapis.md | 11 +++++++--- .../java/migrate/search/findjavaversion.md | 9 +++++++-- .../java/migrate/search/planjavamigration.md | 9 +++++++-- docs/recipes/java/migrate/sql/javasqlapis.md | 9 +++++++-- .../sql/migratedrivermanagersetlogstream.md | 9 +++++++-- .../migrate/sunnetsslpackageunavailable.md | 9 +++++++-- .../recipes/java/migrate/threadstopdestroy.md | 11 +++++++--- .../java/migrate/upgradebuildtojava11.md | 9 +++++++-- .../java/migrate/upgradebuildtojava17.md | 9 +++++++-- .../java/migrate/upgradebuildtojava21.md | 9 +++++++-- .../java/migrate/upgradejavaversion.md | 14 ++++++++----- .../java/migrate/upgradepluginsforjava11.md | 11 +++++++--- .../java/migrate/upgradepluginsforjava17.md | 11 +++++++--- .../java/migrate/upgradepluginsforjava21.md | 11 +++++++--- docs/recipes/java/migrate/upgradetojava17.md | 11 +++++++--- docs/recipes/java/migrate/upgradetojava21.md | 11 +++++++--- docs/recipes/java/migrate/upgradetojava6.md | 9 +++++++-- docs/recipes/java/migrate/upgradetojava7.md | 11 +++++++--- docs/recipes/java/migrate/upgradetojava8.md | 11 +++++++--- .../recipes/java/migrate/usejavautilbase64.md | 11 +++++++--- docs/recipes/java/migrate/usetabsorspaces.md | 14 ++++++++----- .../recipes/java/migrate/util/iteratornext.md | 9 +++++++-- .../recipes/java/migrate/util/javautilapis.md | 11 +++++++--- .../java/migrate/util/listfirstandlast.md | 9 +++++++-- .../util/migratecollectionssingletonlist.md | 9 +++++++-- .../util/migratecollectionssingletonmap.md | 9 +++++++-- .../util/migratecollectionssingletonset.md | 9 +++++++-- .../migratecollectionsunmodifiablelist.md | 9 +++++++-- .../util/migratecollectionsunmodifiableset.md | 9 +++++++-- .../util/optionalnotemptytoispresent.md | 9 +++++++-- .../util/optionalnotpresenttoisempty.md | 9 +++++++-- .../java/migrate/util/optionalstreamrecipe.md | 9 +++++++-- .../migrate/util/removefinalizerfromzip.md | 9 +++++++-- ...cemathrandomwiththreadlocalrandomrecipe.md | 9 +++++++-- .../util/replacestreamcollectwithtolist.md | 11 +++++++--- .../java/migrate/util/sequencedcollection.md | 11 +++++++--- .../java/migrate/util/streamfindfirst.md | 9 +++++++-- .../recipes/java/migrate/util/useenumsetof.md | 9 +++++++-- docs/recipes/java/migrate/util/uselocaleof.md | 9 +++++++-- docs/recipes/java/migrate/util/usemapof.md | 9 +++++++-- docs/recipes/java/nostaticimport.md | 14 ++++++++----- docs/recipes/java/orderimports.md | 9 +++++++-- docs/recipes/java/randomizeid.md | 7 ++++++- .../recipes/java/recipemarkupdemonstration.md | 14 ++++++++----- .../blanklinesaroundfieldswithannotations.md | 7 ++++++- .../recipes/executioncontextparametername.md | 7 ++++++- docs/recipes/java/recipes/findrecipes.md | 7 ++++++- .../java/recipes/missingoptionexample.md | 7 ++++++- .../recipes/nomutablestaticfieldsinrecipes.md | 7 ++++++- .../recipeequalsandhashcodecallsuper.md | 7 ++++++- .../rewritetestclassesshouldnotbepublic.md | 7 ++++++- .../java/recipes/selectrecipeexamples.md | 7 ++++++- .../setdefaultestimatedeffortperoccurrence.md | 7 ++++++- .../recipes/sourcespectextblockindentation.md | 7 ++++++- docs/recipes/java/recipes/usetreerandomid.md | 7 ++++++- docs/recipes/java/removeannotation.md | 14 ++++++++----- .../recipes/java/removeannotationattribute.md | 14 ++++++++----- docs/recipes/java/removeimplements.md | 14 ++++++++----- docs/recipes/java/removemethodinvocations.md | 14 ++++++++----- docs/recipes/java/removeobjectsisnull.md | 7 ++++++- docs/recipes/java/removeunusedimports.md | 7 ++++++- docs/recipes/java/reordermethodarguments.md | 14 ++++++++----- docs/recipes/java/replaceannotation.md | 14 ++++++++----- docs/recipes/java/replaceconstant.md | 14 ++++++++----- .../replaceconstantwithanotherconstant.md | 14 ++++++++----- .../java/replacestringliteralwithconstant.md | 14 ++++++++----- .../java/search/classpathtypecounts.md | 7 ++++++- docs/recipes/java/search/doesnotusetype.md | 14 ++++++++----- docs/recipes/java/search/findannotations.md | 14 ++++++++----- .../recipes/java/search/findclasshierarchy.md | 7 ++++++- docs/recipes/java/search/findcomments.md | 14 ++++++++----- .../java/search/finddeprecatedclasses.md | 9 +++++++-- .../java/search/finddeprecatedfields.md | 9 +++++++-- .../java/search/finddeprecatedmethods.md | 9 +++++++-- .../recipes/java/search/finddeprecateduses.md | 9 +++++++-- docs/recipes/java/search/findemptyclasses.md | 7 ++++++- docs/recipes/java/search/findemptymethods.md | 9 +++++++-- docs/recipes/java/search/findfields.md | 14 ++++++++----- docs/recipes/java/search/findfieldsoftype.md | 14 ++++++++----- .../java/search/findimplementations.md | 14 ++++++++----- docs/recipes/java/search/findimports.md | 9 +++++++-- docs/recipes/java/search/findliterals.md | 14 ++++++++----- .../java/search/findmethoddeclaration.md | 14 ++++++++----- docs/recipes/java/search/findmethods.md | 14 ++++++++----- docs/recipes/java/search/findmissingtypes.md | 7 ++++++- .../java/search/findrepeatableannotations.md | 7 ++++++- docs/recipes/java/search/findsecrets.md | 7 ++++++- docs/recipes/java/search/findtypemappings.md | 7 ++++++- docs/recipes/java/search/findtypes.md | 14 ++++++++----- .../java/search/hasbuildtoolversion.md | 14 ++++++++----- docs/recipes/java/search/hasjavaversion.md | 14 ++++++++----- .../java/search/hasminimumjavaversion.md | 14 ++++++++----- docs/recipes/java/search/hassourceset.md | 14 ++++++++----- docs/recipes/java/search/islikelynottest.md | 7 ++++++- docs/recipes/java/search/islikelytest.md | 7 ++++++- .../java/search/resultofmethodcallignored.md | 14 ++++++++----- .../java/security/findtextdirectionchanges.md | 8 ++++++-- docs/recipes/java/security/fixcwe338.md | 8 ++++++-- .../security/improperprivilegemanagement.md | 8 ++++++-- .../security/javasecuritybestpractices.md | 11 +++++----- .../marshalling/insecurejmsdeserialization.md | 8 ++++++-- .../marshalling/securejacksondefaulttyping.md | 8 ++++++-- .../marshalling/securesnakeyamlconstructor.md | 8 ++++++-- docs/recipes/java/security/owaspa01.md | 11 +++++----- docs/recipes/java/security/owaspa02.md | 11 +++++----- docs/recipes/java/security/owaspa03.md | 11 +++++----- docs/recipes/java/security/owaspa05.md | 8 ++++++-- docs/recipes/java/security/owaspa06.md | 8 ++++++-- docs/recipes/java/security/owaspa08.md | 11 +++++----- docs/recipes/java/security/owasptopten.md | 11 +++++----- .../partialpathtraversalvulnerability.md | 8 ++++++-- .../regularexpressiondenialofservice.md | 8 ++++++-- .../search/findjacksondefaulttypemapping.md | 8 ++++++-- .../search/findsensitiveapiendpoints.md | 17 +++++++++------- .../findvulnerablejacksonjsontypeinfo.md | 11 +++++----- .../secrets/findartifactorysecrets.md | 11 +++++----- .../java/security/secrets/findawssecrets.md | 11 +++++----- .../java/security/secrets/findazuresecrets.md | 8 ++++++-- .../security/secrets/finddiscordsecrets.md | 8 ++++++-- .../security/secrets/findgenericsecrets.md | 11 +++++----- .../security/secrets/findgithubsecrets.md | 11 +++++----- .../security/secrets/findgooglesecrets.md | 11 +++++----- .../security/secrets/findherokusecrets.md | 8 ++++++-- .../java/security/secrets/findjwtsecrets.md | 8 ++++++-- .../security/secrets/findmailchimpsecrets.md | 11 +++++----- .../security/secrets/findmailgunsecrets.md | 8 ++++++-- .../java/security/secrets/findnpmsecrets.md | 8 ++++++-- .../secrets/findpasswordinurlsecrets.md | 8 ++++++-- .../security/secrets/findpaypalsecrets.md | 8 ++++++-- .../java/security/secrets/findpgpsecrets.md | 8 ++++++-- .../security/secrets/findpicaticsecrets.md | 8 ++++++-- .../java/security/secrets/findrsasecrets.md | 8 ++++++-- .../java/security/secrets/findsecrets.md | 11 +++++----- .../security/secrets/findsecretsbypattern.md | 17 +++++++++------- .../security/secrets/findsendgridsecrets.md | 8 ++++++-- .../java/security/secrets/findslacksecrets.md | 8 ++++++-- .../security/secrets/findsquaresecrets.md | 11 +++++----- .../java/security/secrets/findsshsecrets.md | 11 +++++----- .../security/secrets/findstripesecrets.md | 8 ++++++-- .../security/secrets/findtelegramsecrets.md | 8 ++++++-- .../security/secrets/findtwiliosecrets.md | 11 +++++----- .../security/secrets/findtwittersecrets.md | 11 +++++----- docs/recipes/java/security/securerandom.md | 8 ++++++-- .../securerandomprefersdefaultseed.md | 8 ++++++-- .../java/security/securetempfilecreation.md | 8 ++++++-- .../java/security/servlet/cookiesetsecure.md | 8 ++++++-- .../java/security/spring/csrfprotection.md | 8 ++++++-- .../spring/insecurespringserviceexporter.md | 8 ++++++-- .../security/spring/preventclickjacking.md | 8 ++++++-- .../security/usefilescreatetempdirectory.md | 8 ++++++-- .../security/xmlparserxxevulnerability.md | 8 ++++++-- docs/recipes/java/security/zipslip.md | 8 ++++++-- .../shortenfullyqualifiedtypereferences.md | 7 ++++++- docs/recipes/java/simplifymethodchain.md | 14 ++++++++----- docs/recipes/java/spring/addspringproperty.md | 14 ++++++++----- .../spring/amqp/usetlsamqpconnectionstring.md | 14 ++++++++----- .../batch/listenersupportclasstointerface.md | 11 +++++++--- .../spring/batch/migrateitemwriterwrite.md | 9 +++++++-- .../spring/batch/migratejobbuilderfactory.md | 9 +++++++-- .../spring/batch/migratestepbuilderfactory.md | 9 +++++++-- .../batch/removedefaultbatchconfigurer.md | 9 +++++++-- .../replacesupportclasswithitsinterface.md | 14 ++++++++----- .../spring/batch/springbatch4to5migration.md | 11 +++++++--- .../batch/upgradeskippolicyparametertype.md | 9 +++++++-- ...ddconfigurationannotationifbeanspresent.md | 9 +++++++-- ...hangeembeddedservletcontainercustomizer.md | 9 +++++++-- .../conditionalonbeananynestedcondition.md | 9 +++++++-- ...ecomponentandbeaninitializationordering.md | 9 +++++++-- .../java/spring/boot2/geterrorattributes.md | 9 +++++++-- .../boot2/headersconfigurerlambdadsl.md | 9 +++++++-- .../spring/boot2/httpsecuritylambdadsl.md | 9 +++++++-- .../boot2/maybeaddjavaxvalidationapi.md | 11 +++++++--- .../mergebootstrapyamlwithapplicationyaml.md | 9 +++++++-- .../migrateactuatormediatypetoapiversion.md | 9 +++++++-- ...ionhealthindicatortopinghealthindicator.md | 9 +++++++-- ...esbindingpostprocessorvalidatorbeanname.md | 9 +++++++-- .../boot2/migratedatabasecredentials.md | 11 +++++++--- ...ratediskspacehealthindicatorconstructor.md | 9 +++++++-- .../migrateerrorcontrollerpackagename.md | 9 +++++++-- ...rorpropertiesincludestacktraceconstants.md | 9 +++++++-- .../migratehibernateconstraintstojavax.md | 11 +++++++--- .../migratehsqlembeddeddatabaseconnection.md | 9 +++++++-- ...migratehttpmessageconverterspackagename.md | 9 +++++++-- .../boot2/migratelocalserverportannotation.md | 9 +++++++-- .../migrateloggingsystempropertyconstants.md | 9 +++++++-- .../boot2/migratemultipartconfigfactory.md | 9 +++++++-- ...erestclientbuildercustomizerpackagename.md | 9 +++++++-- ...teresttemplatebuilderbasicauthorization.md | 9 +++++++-- .../migrateresttemplatebuildertimeoutbyint.md | 9 +++++++-- ...springbootservletinitializerpackagename.md | 9 +++++++-- .../migratetowebserverfactorycustomizer.md | 11 +++++++--- ...rvletwebserverfactoryiseagerinitfilters.md | 9 +++++++-- ...vletwebserverfactoryseteagerinitfilters.md | 9 +++++++-- ...btestclientbuildercustomizerpackagename.md | 9 +++++++-- .../moveautoconfigurationtoimportsfile.md | 11 +++++++--- .../spring/boot2/outputcaptureextension.md | 9 +++++++-- .../boot2/removeobsoletespringrunners.md | 9 +++++++-- .../replacedeprecatedenvironmenttestutils.md | 9 +++++++-- ...eplaceextendwithandcontextconfiguration.md | 9 +++++++-- .../resttemplatebuilderrequestfactory.md | 9 +++++++-- ...gpartypropertyapplicationpropertiesmove.md | 9 +++++++-- .../customizingjooqdefaultconfiguration.md | 9 +++++++-- .../findupgraderequirementsspringboot_2_5.md | 11 +++++++--- .../search/integrationschedulerpoolrecipe.md | 9 +++++++-- .../boot2/search/loggingshutdownhooks.md | 9 +++++++-- .../search/messagesinthedefaulterrorview.md | 11 +++++++--- .../boot2/serverhttpsecuritylambdadsl.md | 9 +++++++-- .../spring/boot2/springboot2bestpractices.md | 11 +++++++--- .../boot2/springboot2junit4to5migration.md | 11 +++++++--- ...ringbootmavenpluginmigrateagenttoagents.md | 9 +++++++-- .../spring/boot2/springbootproperties_2_0.md | 11 +++++++--- .../spring/boot2/springbootproperties_2_1.md | 11 +++++++--- .../spring/boot2/springbootproperties_2_2.md | 11 +++++++--- .../spring/boot2/springbootproperties_2_3.md | 11 +++++++--- .../spring/boot2/springbootproperties_2_4.md | 11 +++++++--- .../spring/boot2/springbootproperties_2_5.md | 11 +++++++--- .../spring/boot2/springbootproperties_2_6.md | 11 +++++++--- .../spring/boot2/springbootproperties_2_7.md | 11 +++++++--- .../boot2/unnecessaryspringextension.md | 9 +++++++-- .../spring/boot2/unnecessaryspringrunwith.md | 9 +++++++-- .../spring/boot2/upgradespringboot_2_0.md | 11 +++++++--- .../spring/boot2/upgradespringboot_2_1.md | 11 +++++++--- .../spring/boot2/upgradespringboot_2_2.md | 11 +++++++--- .../spring/boot2/upgradespringboot_2_3.md | 11 +++++++--- .../spring/boot2/upgradespringboot_2_4.md | 11 +++++++--- .../spring/boot2/upgradespringboot_2_5.md | 11 +++++++--- .../spring/boot2/upgradespringboot_2_6.md | 11 +++++++--- .../spring/boot2/upgradespringboot_2_7.md | 11 +++++++--- .../boot3/actuatorendpointsanitization.md | 11 +++++++--- .../spring/boot3/addroutetrailingslash.md | 9 +++++++-- .../boot3/addsetusetrailingslashmatch.md | 9 +++++++-- .../boot3/configurationoverenablesecurity.md | 14 ++++++++----- .../downgradeservletapiwhenusingjetty.md | 9 +++++++-- .../java/spring/boot3/enablevirtualthreads.md | 11 +++++++--- .../boot3/maintaintrailingslashurlmappings.md | 9 +++++++-- .../boot3/migratedropwizarddependencies.md | 11 +++++++--- .../spring/boot3/migratemaxhttpheadersize.md | 9 +++++++-- .../boot3/migratesapcfjavaloggingsupport.md | 9 +++++++-- .../boot3/migratethymeleafdependencies.md | 11 +++++++--- ...igratewebmvctagstoobservationconvention.md | 9 +++++++-- .../java/spring/boot3/precisebeantype.md | 9 +++++++-- .../spring/boot3/relocatelauncherclasses.md | 11 +++++++--- .../removeconstructorbindingannotation.md | 9 +++++++-- .../boot3/removeenablebatchprocessing.md | 9 +++++++-- .../removesolrautoconfigurationexclude.md | 9 +++++++-- .../spring/boot3/springboot3bestpractices.md | 11 +++++++--- .../spring/boot3/springbootproperties_3_0.md | 11 +++++++--- .../spring/boot3/springbootproperties_3_1.md | 11 +++++++--- .../spring/boot3/springbootproperties_3_2.md | 11 +++++++--- .../spring/boot3/springbootproperties_3_3.md | 11 +++++++--- .../spring/boot3/upgradespringboot_3_0.md | 11 +++++++--- .../spring/boot3/upgradespringboot_3_1.md | 11 +++++++--- .../spring/boot3/upgradespringboot_3_2.md | 11 +++++++--- .../spring/boot3/upgradespringboot_3_3.md | 11 +++++++--- .../java/spring/changemethodparameter.md | 14 ++++++++----- .../java/spring/changespringpropertykey.md | 14 ++++++++----- .../java/spring/changespringpropertyvalue.md | 14 ++++++++----- .../addloggingpatternlevelforsleuth.md | 9 +++++++-- .../spring/cloud2022/dependencyupgrades.md | 11 +++++++--- .../migratecloudsleuthtomicrometertracing.md | 11 +++++++--- .../cloud2022/upgradespringcloud_2022.md | 11 +++++++--- .../spring/cloud2023/dependencyupgrades.md | 11 +++++++--- .../cloud2023/upgradespringcloud_2023.md | 11 +++++++--- .../spring/commentoutspringpropertykey.md | 14 ++++++++----- .../data/migrateauditorawaretooptional.md | 9 +++++++-- .../java/spring/data/migratejpasort.md | 9 +++++++-- .../data/migratequerydsljparepository.md | 9 +++++++-- .../data/refactorsimplemongodbfactory.md | 9 +++++++-- .../java/spring/data/upgradespringdata_2_3.md | 11 +++++++--- .../java/spring/data/upgradespringdata_2_5.md | 11 +++++++--- .../java/spring/data/upgradespringdata_2_7.md | 11 +++++++--- .../data/usejparepositorydeleteallinbatch.md | 9 +++++++-- .../spring/data/usejparepositorygetbyid.md | 9 +++++++-- .../data/usejparepositorygetreferencebyid.md | 11 +++++++--- .../spring/data/usetlsjdbcconnectionstring.md | 14 ++++++++----- .../java/spring/deletespringproperty.md | 14 ++++++++----- docs/recipes/java/spring/expandproperties.md | 11 +++++++--- .../spring/framework/beanmethodreturnnull.md | 9 +++++++-- .../spring/framework/beanmethodsnotpublic.md | 9 +++++++-- .../framework/environmentacceptsprofiles.md | 9 +++++++-- ...entsclienthttprequestfactoryreadtimeout.md | 9 +++++++-- .../jdbctemplateobjectarrayargtovarargs.md | 9 +++++++-- .../framework/migratehandlerinterceptor.md | 9 +++++++-- ...tantiationawarebeanpostprocessoradapter.md | 9 +++++++-- ...eptionhandlerhttpstatustohttpstatuscode.md | 9 +++++++-- .../migrateresponsestatusexception.md | 11 +++++++--- ...sestatusexceptiongetrawstatuscodemethod.md | 9 +++++++-- ...ponsestatusexceptiongetstatuscodemethod.md | 9 +++++++-- .../spring/framework/migratespringassert.md | 11 +++++++--- .../spring/framework/migrateutf8mediatypes.md | 9 +++++++-- .../migratewebmvcconfigureradapter.md | 9 +++++++-- .../framework/upgradespringframework_5_0.md | 11 +++++++--- .../framework/upgradespringframework_5_1.md | 11 +++++++--- .../framework/upgradespringframework_5_2.md | 11 +++++++--- .../framework/upgradespringframework_5_3.md | 11 +++++++--- .../framework/upgradespringframework_6_0.md | 11 +++++++--- .../framework/upgradespringframework_6_1.md | 11 +++++++--- .../spring/framework/useobjectutilsisempty.md | 9 +++++++-- ...estringliteralswithhttpheadersconstants.md | 9 +++++++-- ...acestringliteralswithmediatypeconstants.md | 9 +++++++-- .../http/simplifymediatypeparsecalls.md | 9 +++++++-- .../spring/http/simplifywebtestclientcalls.md | 9 +++++++-- .../java/spring/http/springwebdependency.md | 11 +++++++--- .../java/spring/implicitwebannotationnames.md | 9 +++++++-- .../kafka/kafkaoperationssendreturntype.md | 9 +++++++-- .../spring/kafka/kafkatestutilsduration.md | 9 +++++++-- .../kafka/removeusingcompletablefuture.md | 9 +++++++-- .../spring/kafka/upgradespringkafka_3_0.md | 11 +++++++--- .../java/spring/noautowiredonconstructor.md | 9 +++++++-- .../spring/norepoannotationonrepointerface.md | 9 +++++++-- .../java/spring/norequestmappingannotation.md | 9 +++++++-- .../java/spring/propertiestokebabcase.md | 11 +++++++--- docs/recipes/java/spring/renamebean.md | 14 ++++++++----- .../java/spring/search/findapicalls.md | 9 +++++++-- .../java/spring/search/findapiendpoints.md | 9 +++++++-- .../spring/search/findspringcomponents.md | 9 +++++++-- .../spring/security5/authorizehttprequests.md | 9 +++++++-- .../renamenimbusdsjsonobjectpackagename.md | 11 +++++++--- ...eglobalmethodsecuritywithmethodsecurity.md | 9 +++++++-- ...obalmethodsecuritywithmethodsecurityxml.md | 11 +++++++--- .../search/findencryptorsqueryabletextuses.md | 9 +++++++-- .../security5/updateargon2passwordencoder.md | 9 +++++++-- .../security5/updatepbkdf2passwordencoder.md | 9 +++++++-- .../security5/updatescryptpasswordencoder.md | 9 +++++++-- .../security5/upgradespringsecurity_5_7.md | 11 +++++++--- .../security5/upgradespringsecurity_5_8.md | 11 +++++++--- .../spring/security5/usenewrequestmatchers.md | 9 +++++++-- .../security5/usenewsecuritymatchers.md | 9 +++++++-- .../security5/websecurityconfigureradapter.md | 9 +++++++-- .../spring/security6/applytowithlambdadsl.md | 9 +++++++-- .../oauth2/client/oauth2clientlambdadsl.md | 9 +++++++-- .../oauth2/client/oauth2loginlambdadsl.md | 9 +++++++-- .../resource/oauth2resourceserverlambdadsl.md | 9 +++++++-- ...ropagateauthenticationserviceexceptions.md | 9 +++++++-- ...filtersecurityinterceptoronceperrequest.md | 9 +++++++-- .../security6/removeoauth2loginconfig.md | 9 +++++++-- .../removeuseauthorizationmanager.md | 9 +++++++-- ...plicitsavingofsecuritycontextrepository.md | 9 +++++++-- .../updateenablereactivemethodsecurity.md | 9 +++++++-- .../spring/security6/updaterequestcache.md | 9 +++++++-- .../security6/upgradespringsecurity_6_0.md | 11 +++++++--- .../security6/upgradespringsecurity_6_1.md | 11 +++++++--- .../security6/upgradespringsecurity_6_2.md | 11 +++++++--- .../spring/security6/usesha256inrememberme.md | 9 +++++++-- .../separateapplicationyamlbyprofile.md | 9 +++++++-- .../test/springrulestojunitextension.md | 9 +++++++-- docs/recipes/java/spring/updateapimanifest.md | 9 +++++++-- .../java/springdoc/migratespringdoccommon.md | 11 +++++++--- .../springdoc/replacespringfoxdependencies.md | 11 +++++++--- .../java/springdoc/springfoxtospringdoc.md | 11 +++++++--- .../java/springdoc/swaggertospringdoc.md | 11 +++++++--- .../java/springdoc/upgradespringdoc_2.md | 11 +++++++--- .../struts/migrate6/migrateawareinterfaces.md | 11 +++++++--- .../migrate6/migrateopensymphonyclasses.md | 11 +++++++--- .../java/struts/migrate6/migratestruts6.md | 11 +++++++--- .../migrate6/migratestruts6constants.md | 11 +++++++--- .../migrate6/upgradestruts6dependencies.md | 11 +++++++--- docs/recipes/java/struts/migratestrutsdtd.md | 14 ++++++++----- .../java/struts/search/findstrutsactions.md | 9 +++++++-- .../java/struts/search/findstrutsxml.md | 9 +++++++-- .../testing/archunit/archunit0to1migration.md | 11 +++++++--- .../assertj/adoptassertjdurationassertions.md | 9 +++++++-- .../testing/assertj/assertj-best-practices.md | 11 +++++++--- ...collapseconsecutiveassertthatstatements.md | 9 +++++++-- .../junitassertarrayequalstoassertthat.md | 9 +++++++-- .../assertj/junitassertequalstoassertthat.md | 9 +++++++-- .../assertj/junitassertfalsetoassertthat.md | 9 +++++++-- .../junitassertinstanceoftoassertthat.md | 9 +++++++-- .../junitassertnotequalstoassertthat.md | 9 +++++++-- .../assertj/junitassertnotnulltoassertthat.md | 9 +++++++-- .../assertj/junitassertnulltoassertthat.md | 9 +++++++-- .../assertj/junitassertsametoassertthat.md | 9 +++++++-- .../junitassertthrowstoassertexceptiontype.md | 9 +++++++-- .../assertj/junitasserttruetoassertthat.md | 9 +++++++-- .../testing/assertj/junitfailtoassertjfail.md | 9 +++++++-- .../java/testing/assertj/junittoassertj.md | 11 +++++++--- .../assertj/simplifyassertjassertion.md | 14 ++++++++----- .../assertj/simplifyassertjassertions.md | 11 +++++++--- .../simplifychainedassertjassertion.md | 11 +++++++--- .../simplifychainedassertjassertions.md | 11 +++++++--- .../java/testing/assertj/staticimports.md | 11 +++++++--- .../assertequalsbooleantoassertboolean.md | 9 +++++++-- .../cleanup/assertequalsnulltoassertnull.md | 9 +++++++-- .../assertfalseequalstoassertnotequals.md | 9 +++++++-- .../assertfalsenegationtoasserttrue.md | 9 +++++++-- .../cleanup/assertfalsenulltoassertnotnull.md | 9 +++++++-- .../cleanup/assertionsargumentorder.md | 9 +++++++-- .../assertliteralbooleantofailrecipe.md | 9 +++++++-- .../assertnotequalsbooleantoassertboolean.md | 9 +++++++-- .../asserttruecomparisontoassertequals.md | 9 +++++++-- .../cleanup/asserttrueequalstoassertequals.md | 9 +++++++-- .../asserttruenegationtoassertfalse.md | 9 +++++++-- .../cleanup/asserttruenulltoassertnull.md | 9 +++++++-- .../java/testing/cleanup/bestpractices.md | 11 +++++++--- .../java/testing/cleanup/removeemptytests.md | 9 +++++++-- .../java/testing/cleanup/removetestprefix.md | 9 +++++++-- .../testing/cleanup/simplifytestthrows.md | 9 +++++++-- .../cleanup/testsshouldincludeassertions.md | 11 +++++++--- .../testing/cleanup/testsshouldnotbepublic.md | 11 +++++++--- .../testing/datafaker/javafakertodatafaker.md | 11 +++++++--- .../executionlistenertodbriderannotation.md | 9 +++++++-- .../migratedbriderspringtodbriderjunit5.md | 11 +++++++--- .../testing/easymock/easymocktomockito.md | 11 +++++++--- .../easymock/easymockverifytomockitoverify.md | 9 +++++++-- .../easymock/removeextendseasymocksupport.md | 9 +++++++-- .../testing/hamcrest/addhamcrestifused.md | 9 +++++++-- .../hamcrest/assertthatbooleantoassertj.md | 9 +++++++-- .../consistenthamcrestmatcherimports.md | 11 +++++++--- .../hamcrest/hamcrestinstanceoftojunit5.md | 9 +++++++-- .../hamcrest/hamcrestismatchertoassertj.md | 9 +++++++-- .../hamcrest/hamcrestmatchertoassertj.md | 11 +++++++--- .../hamcrest/hamcrestmatchertojunit5.md | 9 +++++++-- .../hamcrest/hamcrestnotmatchertoassertj.md | 11 +++++++--- .../hamcrest/hamcrestofmatcherstoassertj.md | 9 +++++++-- .../hamcrest/migratehamcresttoassertj.md | 11 +++++++--- .../hamcrest/migratehamcresttojunit5.md | 11 +++++++--- .../java/testing/hamcrest/removeismatcher.md | 9 +++++++-- .../testing/htmlunit/upgradehtmlunit_3.md | 11 +++++++--- .../jmockitannotatedargumenttomockito.md | 9 +++++++-- .../testing/jmockit/jmockitblocktomockito.md | 9 +++++++-- .../testing/jmockit/jmockitmockuptomockito.md | 9 +++++++-- .../java/testing/jmockit/jmockittomockito.md | 11 +++++++--- .../junit5/addhamcrestjunitdependency.md | 9 +++++++-- .../testing/junit5/addjupiterdependencies.md | 9 +++++++-- .../java/testing/junit5/addmissingnested.md | 9 +++++++-- .../addmissingtestbeforeafterannotations.md | 9 +++++++-- .../junit5/addparameterizedtestannotation.md | 9 +++++++-- .../junit5/assertthrowsonlaststatement.md | 9 +++++++-- .../java/testing/junit5/asserttoassertions.md | 9 +++++++-- .../asserttrueinstanceoftoassertinstanceof.md | 9 +++++++-- .../java/testing/junit5/categorytotag.md | 9 +++++++-- .../java/testing/junit5/cleanupassertions.md | 11 +++++++--- .../testing/junit5/cleanupjunitimports.md | 9 +++++++-- .../java/testing/junit5/enclosedtonested.md | 9 +++++++-- .../junit5/expectedexceptiontoassertthrows.md | 9 +++++++-- .../testing/junit5/gradleusejunitjupiter.md | 9 +++++++-- .../java/testing/junit5/ignoretodisabled.md | 9 +++++++-- .../java/testing/junit5/junit4to5migration.md | 11 +++++++--- .../testing/junit5/junit5bestpractices.md | 11 +++++++--- .../junitparamsrunnertoparameterized.md | 9 +++++++-- .../testing/junit5/lifecyclenonprivate.md | 9 +++++++-- .../java/testing/junit5/migrateassumptions.md | 11 +++++++--- .../testing/junit5/migratejunittestcase.md | 9 +++++++-- .../junit5/mockitojunittomockitoextension.md | 9 +++++++-- .../parameterizedrunnertoparameterized.md | 9 +++++++-- .../junit5/removeduplicatetesttemplates.md | 9 +++++++-- .../testing/junit5/removeobsoleterunners.md | 14 ++++++++----- .../junit5/removetrycatchfailblocks.md | 9 +++++++-- .../java/testing/junit5/runnertoextension.md | 14 ++++++++----- .../java/testing/junit5/staticimports.md | 9 +++++++-- .../java/testing/junit5/tempdirnonfinal.md | 9 +++++++-- .../junit5/temporaryfoldertotempdir.md | 9 +++++++-- .../java/testing/junit5/testruletotestinfo.md | 9 +++++++-- .../junit5/throwingrunnabletoexecutable.md | 9 +++++++-- .../junit5/updatebeforeafterannotations.md | 9 +++++++-- .../testing/junit5/updatemockwebserver.md | 9 +++++++-- .../testing/junit5/updatetestannotation.md | 9 +++++++-- .../junit5/upgradeokhttpmockwebserver.md | 11 +++++++--- .../testing/junit5/upgradesurefireplugin.md | 11 +++++++--- .../java/testing/junit5/useassertsame.md | 9 +++++++-- .../testing/junit5/usehamcrestassertthat.md | 11 +++++++--- .../testing/junit5/usemockitoextension.md | 11 +++++++--- .../java/testing/junit5/usetestmethodorder.md | 9 +++++++-- .../testing/junit5/usewiremockextension.md | 9 +++++++-- .../java/testing/junit5/usexmlunitlegacy.md | 9 +++++++-- .../testing/junit5/vertxunittovertxjunit5.md | 11 +++++++--- .../testing/mockito/anystringtonullable.md | 9 +++++++-- .../java/testing/mockito/anytonullable.md | 9 +++++++-- .../testing/mockito/cleanupmockitoimports.md | 9 +++++++-- .../testing/mockito/mockito1to3migration.md | 11 +++++++--- .../testing/mockito/mockito1to4migration.md | 11 +++++++--- .../testing/mockito/mockito1to5migration.md | 11 +++++++--- .../java/testing/mockito/mockito4to5only.md | 11 +++++++--- .../testing/mockito/mockitobestpractices.md | 11 +++++++--- .../mockitojunitrunnersilenttoextension.md | 9 +++++++-- .../mockitowhenonstatictomockstatic.md | 9 +++++++-- .../java/testing/mockito/mockutilstostatic.md | 9 +++++++-- .../mockito/noinitializationforinjectmock.md | 9 +++++++-- .../powermockitomockstatictomockito.md | 9 +++++++-- .../testing/mockito/removetimeszeroandone.md | 9 +++++++-- .../testing/mockito/replacepowermockito.md | 11 +++++++--- .../mockito/simplifymockitoverifywhengiven.md | 9 +++++++-- .../mockito/verifyzerotonomoreinteractions.md | 9 +++++++-- .../testcontainers/explicitcontainerimage.md | 14 ++++++++----- .../testcontainers/explicitcontainerimages.md | 11 +++++++--- .../testcontainers/gethostmigration.md | 9 +++++++-- .../testcontainersbestpractices.md | 11 +++++++--- .../testng/testngassertequalstoassertthat.md | 9 +++++++-- .../testngassertnotequalstoassertthat.md | 9 +++++++-- .../java/testing/testng/testngtoassertj.md | 11 +++++++--- docs/recipes/java/updatesourcepositions.md | 7 ++++++- docs/recipes/java/usestaticimport.md | 14 ++++++++----- .../recipes/jenkins/addjellyxmldeclaration.md | 9 +++++++-- docs/recipes/jenkins/addpluginsbom.md | 9 +++++++-- .../jenkins/commonslang3toapiplugin.md | 9 +++++++-- docs/recipes/jenkins/createindexjelly.md | 9 +++++++-- .../disablelocalresolutionforparentpom.md | 9 +++++++-- .../jenkins/github/addteamtocodeowners.md | 9 +++++++-- docs/recipes/jenkins/isjenkinsplugin.md | 14 ++++++++----- .../jenkins/javaxannotationstospotbugs.md | 11 +++++++--- ...tilgetpasttimestringtogettimespanstring.md | 9 +++++++-- docs/recipes/jenkins/modernizejenkinsfile.md | 9 +++++++-- docs/recipes/jenkins/modernizeplugin.md | 11 +++++++--- .../jenkins/modernizepluginforjava8.md | 11 +++++++--- .../jenkins/replacelibrarieswithapiplugin.md | 14 ++++++++----- docs/recipes/jenkins/upgradejavaversion.md | 14 ++++++++----- .../recipes/jenkins/upgradeversionproperty.md | 14 ++++++++----- docs/recipes/json/changekey.md | 14 ++++++++----- docs/recipes/json/changevalue.md | 14 ++++++++----- docs/recipes/json/deletekey.md | 14 ++++++++----- docs/recipes/json/search/findkey.md | 14 ++++++++----- .../kotlin/cleanup/equalsmethodusage.md | 9 +++++++-- .../cleanup/implicitparameterinlambda.md | 9 +++++++-- .../kotlin/cleanup/removetrailingcomma.md | 9 +++++++-- .../kotlin/cleanup/removetrailingsemicolon.md | 9 +++++++-- .../cleanup/replacechartointwithcode.md | 9 +++++++-- .../cleanup/unnecessarytypeparentheses.md | 9 +++++++-- docs/recipes/kotlin/findkotlinsources.md | 11 +++++++--- docs/recipes/kotlin/format/autoformat.md | 9 +++++++-- docs/recipes/kotlin/renametypealias.md | 14 ++++++++----- docs/recipes/kubernetes/addconfiguration.md | 17 +++++++++------- docs/recipes/kubernetes/changeapiversion.md | 17 +++++++++------- .../kubernetes/imagepullpolicyalways.md | 8 ++++++-- .../kubernetes/kubernetesbestpractices.md | 11 +++++----- .../lifecycleruleonstoragebucket.md | 8 ++++++-- .../kubernetes/limitcontainercapabilities.md | 8 ++++++-- .../kubernetes/migrate/migratetoapiv1_16.md | 11 +++++----- .../kubernetes/migrate/migratetoapiv1_22.md | 11 +++++----- .../kubernetes/migrate/migratetoapiv1_25.md | 11 +++++----- .../kubernetes/migrate/migratetoapiv1_26.md | 11 +++++----- .../kubernetes/migrate/migratetoapiv1_27.md | 11 +++++----- .../kubernetes/migrate/migratetoapiv1_29.md | 11 +++++----- .../kubernetes/migrate/migratetoapiv1_32.md | 11 +++++----- docs/recipes/kubernetes/missingcpulimits.md | 8 ++++++-- docs/recipes/kubernetes/missingcpurequest.md | 8 ++++++-- .../recipes/kubernetes/missingmemorylimits.md | 8 ++++++-- .../kubernetes/missingmemoryrequest.md | 8 ++++++-- .../kubernetes/missingpodlivenessprobe.md | 8 ++++++-- .../kubernetes/missingpodreadinessprobe.md | 8 ++++++-- docs/recipes/kubernetes/nohostipcsharing.md | 8 ++++++-- .../kubernetes/nohostnetworksharing.md | 8 ++++++-- .../kubernetes/nohostprocessidsharing.md | 8 ++++++-- .../kubernetes/noprivilegedcontainers.md | 8 ++++++-- .../kubernetes/noprivilegeescalation.md | 8 ++++++-- docs/recipes/kubernetes/norootcontainers.md | 8 ++++++-- docs/recipes/kubernetes/rbac/addruletorole.md | 17 +++++++++------- .../kubernetes/readonlyrootfilesystem.md | 8 ++++++-- .../resource/capresourcevaluetomaximum.md | 17 +++++++++------- .../resource/findexceedsresourceratio.md | 17 +++++++++------- .../resource/findexceedsresourcevalue.md | 17 +++++++++------- .../kubernetes/search/findannotation.md | 17 +++++++++------- .../search/finddisallowedimagetags.md | 17 +++++++++------- .../search/findharcodedipaddresses.md | 11 +++++----- docs/recipes/kubernetes/search/findimage.md | 17 +++++++++------- .../kubernetes/search/findmissingdigest.md | 8 ++++++-- .../search/findmissingorinvalidannotation.md | 17 +++++++++------- .../search/findmissingorinvalidlabel.md | 17 +++++++++------- .../kubernetes/search/findnontlsingress.md | 8 ++++++-- .../findresourcemissingconfiguration.md | 17 +++++++++------- .../services/findserviceexternalips.md | 17 +++++++++------- .../kubernetes/services/findservicesbytype.md | 17 +++++++++------- .../services/updateserviceexternalip.md | 17 +++++++++------- .../kubernetes/updatecontainerimagename.md | 17 +++++++++------- docs/recipes/maven/addannotationprocessor.md | 14 ++++++++----- .../maven/addcommenttomavendependency.md | 14 ++++++++----- docs/recipes/maven/adddependency.md | 14 ++++++++----- .../maven/adddevelocitymavenextension.md | 14 ++++++++----- docs/recipes/maven/addmanageddependency.md | 14 ++++++++----- docs/recipes/maven/addparentpom.md | 14 ++++++++----- docs/recipes/maven/addplugin.md | 14 ++++++++----- docs/recipes/maven/addplugindependency.md | 14 ++++++++----- docs/recipes/maven/addprofile.md | 14 ++++++++----- docs/recipes/maven/addproperty.md | 14 ++++++++----- docs/recipes/maven/addrepository.md | 14 ++++++++----- docs/recipes/maven/addruntimeconfig.md | 14 ++++++++----- docs/recipes/maven/bestpractices.md | 9 +++++++-- .../maven/changedependencyclassifier.md | 14 ++++++++----- .../changedependencygroupidandartifactid.md | 14 ++++++++----- docs/recipes/maven/changedependencyscope.md | 14 ++++++++----- ...gemanageddependencygroupidandartifactid.md | 14 ++++++++----- docs/recipes/maven/changepackaging.md | 14 ++++++++----- docs/recipes/maven/changeparentpom.md | 14 ++++++++----- .../maven/changepluginconfiguration.md | 14 ++++++++----- .../recipes/maven/changeplugindependencies.md | 14 ++++++++----- docs/recipes/maven/changepluginexecutions.md | 14 ++++++++----- .../maven/changeplugingroupidandartifactid.md | 14 ++++++++----- docs/recipes/maven/changeprojectversion.md | 14 ++++++++----- docs/recipes/maven/changepropertyvalue.md | 14 ++++++++----- ...encymanagementdependencyrequiresversion.md | 7 ++++++- .../maven/cleanup/explicitplugingroupid.md | 7 ++++++- .../maven/cleanup/explicitpluginversion.md | 7 ++++++- .../maven/cleanup/prefixlessexpressions.md | 9 +++++++-- docs/recipes/maven/excludedependency.md | 14 ++++++++----- docs/recipes/maven/incrementprojectversion.md | 14 ++++++++----- .../maven/liberty/addopenlibertyplugin.md | 9 +++++++-- docs/recipes/maven/managedependencies.md | 14 ++++++++----- docs/recipes/maven/modernizeobsoletepoms.md | 7 ++++++- docs/recipes/maven/orderpomelements.md | 7 ++++++- docs/recipes/maven/removedependency.md | 14 ++++++++----- .../maven/removeduplicatedependencies.md | 7 ++++++- docs/recipes/maven/removeexclusion.md | 14 ++++++++----- docs/recipes/maven/removemanageddependency.md | 14 ++++++++----- docs/recipes/maven/removeplugin.md | 14 ++++++++----- docs/recipes/maven/removeplugindependency.md | 14 ++++++++----- docs/recipes/maven/removeproperty.md | 14 ++++++++----- .../removeredundantdependencyversions.md | 9 +++++++-- docs/recipes/maven/removerepository.md | 14 ++++++++----- docs/recipes/maven/removeunusedproperties.md | 9 +++++++-- docs/recipes/maven/renamepropertykey.md | 14 ++++++++----- .../recipes/maven/search/dependencyinsight.md | 14 ++++++++----- .../maven/search/doesnotincludedependency.md | 14 ++++++++----- .../maven/search/effectivedependencies.md | 14 ++++++++----- .../search/effectivemanageddependencies.md | 7 ++++++- .../search/effectivemavenrepositories.md | 9 +++++++-- docs/recipes/maven/search/finddependency.md | 14 ++++++++----- .../maven/search/findmanageddependency.md | 14 ++++++++----- docs/recipes/maven/search/findmavenproject.md | 7 ++++++- .../recipes/maven/search/findmavensettings.md | 9 +++++++-- docs/recipes/maven/search/findplugin.md | 14 ++++++++----- docs/recipes/maven/search/findproperties.md | 14 ++++++++----- .../maven/search/findrepositoryorder.md | 7 ++++++- docs/recipes/maven/search/parentpominsight.md | 14 ++++++++----- .../maven/security/usehttpsforrepositories.md | 7 ++++++- .../upgradeexplicitspringbootdependencies.md | 14 ++++++++----- docs/recipes/maven/updatemavenwrapper.md | 9 +++++++-- .../recipes/maven/upgradedependencyversion.md | 14 ++++++++----- docs/recipes/maven/upgradeparentversion.md | 14 ++++++++----- docs/recipes/maven/upgradepluginversion.md | 14 ++++++++----- .../upgradetransitivedependencyversion.md | 14 ++++++++----- .../maven/utilities/printmavenasdot.md | 7 ++++++- .../dropwizard/finddropwizardmetrics.md | 9 +++++++-- .../misk/migrateemptylabelmiskcounter.md | 9 +++++++-- .../misk/migratemisktomicrometer.md | 11 +++++++--- .../misk/noexplicitemptylabellist.md | 9 +++++++-- docs/recipes/micrometer/timertoobservation.md | 9 +++++++-- docs/recipes/micrometer/upgrademicrometer.md | 9 +++++++-- .../micrometer/upgrademicrometer_1_13.md | 11 +++++++--- .../nodejs/dependencyvulnerabilitycheck.md | 8 ++++++-- .../search/databaseinteractioninsights.md | 11 +++++----- .../nodejs/search/dependencyinsight.md | 17 +++++++++------- .../recipes/nodejs/search/findnodeprojects.md | 8 ++++++-- .../nodejs/search/formhandlinginsights.md | 11 +++++----- .../search/lintingformattinginsights.md | 11 +++++----- .../search/realtimecommunicationinsights.md | 11 +++++----- .../recipes/nodejs/search/securityinsights.md | 11 +++++----- .../search/serversideframeworksinsights.md | 11 +++++----- .../nodejs/search/statemanagementinsights.md | 11 +++++----- .../search/taskrunnersbuildtoolsinsights.md | 11 +++++----- docs/recipes/nodejs/search/testinginsights.md | 11 +++++----- docs/recipes/nodejs/search/uiinsights.md | 11 +++++----- docs/recipes/nodejs/search/utilityinsights.md | 11 +++++----- .../nodejs/upgradedependencyversion.md | 17 +++++++++------- .../reorderrequestbodycreatearguments.md | 9 +++++++-- docs/recipes/okhttp/upgradeokhttp4.md | 11 +++++++--- .../okhttp/upgradeokhttp4dependencies.md | 9 +++++++-- docs/recipes/okhttp/upgradeokhttp5.md | 11 +++++++--- .../okhttp/upgradeokhttp5dependencies.md | 9 +++++++-- docs/recipes/okio/upgradeokio3.md | 9 +++++++-- docs/recipes/okio/upgradeokio3dependencies.md | 11 +++++++--- .../convertapiresponsecodestostrings.md | 9 +++++++-- .../migrateapiimplicitparamdatatypeclass.md | 9 +++++++-- .../migrateapiimplicitparamstoparameters.md | 11 +++++++--- .../migrateapimodelpropertytoschema.md | 11 +++++++--- .../swagger/migrateapimodeltoschema.md | 11 +++++++--- .../swagger/migrateapioperationtooperation.md | 11 +++++++--- .../swagger/migrateapiparamtoparameter.md | 11 +++++++--- .../migrateapiresponsestoapiresponses.md | 11 +++++++--- .../openapi/swagger/migrateapitotag.md | 9 +++++++-- .../openapi/swagger/swaggertoopenapi.md | 11 +++++++--- .../swagger/usejakartaswaggerartifacts.md | 11 +++++++--- .../upgrade/camel40/camelmigrationrecipe.md | 11 +++++++--- .../changemanagedchoicembeanmethodname.md | 9 +++++++-- ...agedfailoverloadbalancermbeanmethodname.md | 9 +++++++-- .../camel/upgrade/camel40/changetypes.md | 9 +++++++-- .../upgrade/camel40/java/camelapisrecipe.md | 9 +++++++-- .../upgrade/camel40/java/camelbeanrecipe.md | 9 +++++++-- .../upgrade/camel40/java/cameleiprecipe.md | 9 +++++++-- .../upgrade/camel40/java/camelhttprecipe.md | 9 +++++++-- .../usepluginhelperforcontextgetters.md | 11 +++++++--- .../camel40/xml/circuitbreakerxmldslrecipe.md | 9 +++++++-- .../camel/upgrade/camel40/xml/xmldslrecipe.md | 9 +++++++-- ...melyamlrouteconfigurationsequencerecipe.md | 9 +++++++-- .../yaml/camelyamlstepsinfromrecipe.md | 9 +++++++-- .../camel/upgrade/camel41/camelcorerecipe.md | 9 +++++++-- .../camel/upgrade/camel41/tracingtag.md | 9 +++++++-- .../camel/upgrade/camel41/xmldslrecipe.md | 9 +++++++-- .../camel/upgrade/camel41/yamldslrecipe.md | 9 +++++++-- .../upgrade/camel42/camelmaindebugger.md | 9 +++++++-- .../camel/upgrade/camel42/camelsagarecipe.md | 9 +++++++-- .../camel43/camelresequenceeipxmlrecipe.md | 9 +++++++-- .../upgrade/camel43/camelthrottleeiprecipe.md | 9 +++++++-- .../camel/upgrade/camel43/kafkametadata.md | 11 +++++++--- .../camel/upgrade/camel43/staterepository.md | 11 +++++++--- .../camel/upgrade/camel44/camelcorerecipe.md | 9 +++++++-- .../upgrade/camel44/camelmigrationrecipe.md | 11 +++++++--- .../camel44/defaultjsonschemaloader.md | 9 +++++++-- .../camel44/routecontrollerproperties.md | 11 +++++++--- .../upgrade/camel45/camelmigrationrecipe.md | 11 +++++++--- .../camel/upgrade/camel45/renamedclasses.md | 11 +++++++--- .../camel/upgrade/camel45/traceproperties.md | 9 +++++++-- .../upgrade/camel46/camelmigrationrecipe.md | 11 +++++++--- .../camel/upgrade/camel46/renamedclasses.md | 11 +++++++--- .../upgrade/camel46/renameddependencies.md | 11 +++++++--- .../camel/upgrade/camel46/xmldsl46recipe.md | 9 +++++++-- .../camel/upgrade/camel46/yamldsl46recipe.md | 9 +++++++-- .../camel/upgrade/camel46/yamstreamcaching.md | 9 +++++++-- .../upgrade/camel47/camelmigrationrecipe.md | 11 +++++++--- .../camel/upgrade/camel47/java47recipes.md | 9 +++++++-- .../upgrade/camel47/removeddependencies.md | 9 +++++++-- .../camel/upgrade/camel47/renamedclasses.md | 11 +++++++--- .../camel/upgrade/camel47/xmldsl47recipe.md | 9 +++++++-- .../camel/upgrade/camel47/yamldsl47recipe.md | 9 +++++++-- .../changepropertykeywithcasechange.md | 14 ++++++++----- .../movegettertoextendedcamelcontext.md | 14 ++++++++----- .../customrecipes/movegettertopluginhelper.md | 14 ++++++++----- .../org/apache/wicket/bestpractices.md | 9 +++++++-- .../org/apache/wicket/migratetowicket10.md | 11 +++++++--- .../upgradeaxonframework_4_jakarta.md | 11 +++++++--- .../migration/upgradeaxonframework_4_javax.md | 11 +++++++--- docs/recipes/properties/addproperty.md | 14 ++++++++----- docs/recipes/properties/addpropertycomment.md | 14 ++++++++----- docs/recipes/properties/changepropertykey.md | 14 ++++++++----- .../recipes/properties/changepropertyvalue.md | 14 ++++++++----- .../properties/createpropertiesfile.md | 14 ++++++++----- docs/recipes/properties/deleteproperty.md | 14 ++++++++----- .../properties/search/findproperties.md | 14 ++++++++----- docs/recipes/quarkus/addquarkusproperty.md | 14 ++++++++----- .../quarkus/changequarkuspropertykey.md | 14 ++++++++----- .../quarkus/changequarkuspropertyvalue.md | 14 ++++++++----- .../configpropertiestoconfigmapping.md | 9 +++++++-- ...uarkusmavenpluginwithreasonabledefaults.md | 9 +++++++-- docs/recipes/quarkus/deletequarkusproperty.md | 14 ++++++++----- .../migrate/javaee/addquarkus2dependencies.md | 11 +++++++--- .../migrate/javaee/addquarkus2mavenplugins.md | 11 +++++++--- .../javaee/javaeetoquarkus2codemigration.md | 11 +++++++--- .../javaee/javaeetoquarkus2migration.md | 11 +++++++--- .../javaee/removejavaeedependencies.md | 11 +++++++--- ...igratequarkusmavenpluginnativeimagegoal.md | 9 +++++++-- ...multitransformhotstreamtomultihotstream.md | 9 +++++++-- .../quarkus/quarkus1to1_13migration.md | 11 +++++++--- .../grpcserviceannotationtogrpcclient.md | 9 +++++++-- .../quarkus/quarkus2/quarkus1to2migration.md | 11 +++++++--- .../quarkus/quarkus2/removeavromavenplugin.md | 9 +++++++-- .../useidentifierondefaultkafkabroker.md | 9 +++++++-- .../usepanacheentitybasestaticmethods.md | 9 +++++++-- .../quarkus2/usepanacheentitybaseunit.md | 9 +++++++-- .../usereactivepanachemongoentitybaseunit.md | 9 +++++++-- .../quarkus/search/findquarkusprofiles.md | 9 +++++++-- .../quarkus/search/findquarkusproperties.md | 14 ++++++++----- .../reactive/reactor/reactorbestpractices.md | 8 ++++++-- .../reactordoaftersuccessorerrortotap.md | 8 ++++++-- ...replayprocessorcachedefaulttosinkrecipe.md | 8 ++++++-- ...ecipes$replayprocessorcachetosinkrecipe.md | 8 ++++++-- .../reactorprocessorcachetosinkrecipes.md | 11 +++++----- ...cipes$directprocessorcreatetosinkrecipe.md | 8 ++++++-- ...itterprocessorcreatebooleantosinkrecipe.md | 8 ++++++-- ...erprocessorcreateintbooleantosinkrecipe.md | 8 ++++++-- ...s$emitterprocessorcreateinttosinkrecipe.md | 8 ++++++-- ...ipes$emitterprocessorcreatetosinkrecipe.md | 8 ++++++-- ...recipes$monoprocessorcreatetosinkrecipe.md | 8 ++++++-- ...cessorcreateintliteralfalsetosinkrecipe.md | 8 ++++++-- ...ocessorcreateintliteraltruetosinkrecipe.md | 8 ++++++-- ...es$replayprocessorcreateinttosinkrecipe.md | 8 ++++++-- ...eatesizeandtimeoutschedulertosinkrecipe.md | 8 ++++++-- ...ocessorcreatesizeandtimeouttosinkrecipe.md | 8 ++++++-- ...essorcreatetimeoutschedulertosinkrecipe.md | 8 ++++++-- ...eplayprocessorcreatetimeouttosinkrecipe.md | 8 ++++++-- ...cipes$replayprocessorcreatetosinkrecipe.md | 8 ++++++-- ...eatequeueconsumerdisposabletosinkrecipe.md | 8 ++++++-- ...cessorcreatequeuedisposabletosinkrecipe.md | 8 ++++++-- ...unicastprocessorcreatequeuetosinkrecipe.md | 8 ++++++-- ...ipes$unicastprocessorcreatetosinkrecipe.md | 8 ++++++-- .../reactorprocessorcreatetosinkrecipes.md | 11 +++++----- .../reactive/reactor/upgradereactor_3_5.md | 11 +++++----- .../recipes/javarecipebestpractices.md | 11 +++++++--- .../recipes/openrewritebestpractices.md | 11 +++++++--- .../recipes/recipenullabilitybestpractices.md | 11 +++++++--- .../recipes/recipetestingbestpractices.md | 11 +++++++--- docs/recipes/recommendations/codehealth.md | 11 +++++++--- docs/recipes/recommendations/codestyle.md | 11 +++++++--- .../recommendations/dependencymanagement.md | 11 +++++++--- .../recommendations/infrastructureascode.md | 11 +++++++--- .../scala/migrate/upgradescala_2_12.md | 9 +++++++-- docs/recipes/search/findbuildmetadata.md | 14 ++++++++----- docs/recipes/search/findcommitters.md | 9 +++++++-- .../search/findparsetoprintinequality.md | 7 ++++++- .../awssdk/v2migration/addcommenttomethod.md | 14 ++++++++----- .../awssdk/v2migration/awssdkjavav1tov2.md | 11 +++++++--- .../awssdk/v2migration/changeauthtypes.md | 11 +++++++--- .../awssdk/v2migration/changeconfigtypes.md | 11 +++++++--- .../v2migration/changeexceptiontypes.md | 11 +++++++--- .../awssdk/v2migration/changeregiontypes.md | 11 +++++++--- .../awssdk/v2migration/changesdkcoretypes.md | 11 +++++++--- .../awssdk/v2migration/changesdktype.md | 9 +++++++-- .../awssdk/v2migration/constructortofluent.md | 9 +++++++-- .../awssdk/v2migration/enumcasingtov2.md | 9 +++++++-- .../awssdk/v2migration/enumgetterstov2.md | 11 +++++++--- .../v2migration/httpsettingstohttpclient.md | 9 +++++++-- .../awssdk/v2migration/newclasstobuilder.md | 9 +++++++-- .../v2migration/newclasstobuilderpattern.md | 11 +++++++--- .../v2migration/newclasstostaticfactory.md | 9 +++++++-- .../awssdk/v2migration/numbertoduration.md | 14 ++++++++----- .../s3methodsconstructortofluent.md | 11 +++++++--- .../v2migration/s3nonstreamingrequesttov2.md | 9 +++++++-- .../v2migration/s3streamingrequesttov2.md | 9 +++++++-- .../v2migration/s3streamingresponsetov2.md | 9 +++++++-- .../v2migration/upgradesdkdependencies.md | 11 +++++++--- .../v1buildervariationstov2builder.md | 9 +++++++-- .../amazon/awssdk/v2migration/v1gettertov2.md | 9 +++++++-- .../amazon/awssdk/v2migration/v1settertov2.md | 9 +++++++-- .../wrapsdkclientbuilderregionstr.md | 9 +++++++-- docs/recipes/sql/changefunctionname.md | 17 +++++++++------- docs/recipes/sql/findsql.md | 8 ++++++-- docs/recipes/sql/formatsql.md | 8 ++++++-- docs/recipes/sql/search/findfunction.md | 17 +++++++++------- .../addserialannotationtoserialversionuid.md | 9 +++++++-- .../addserialversionuidtoserializable.md | 9 +++++++-- .../staticanalysis/annotatenullablemethods.md | 9 +++++++-- .../atomicprimitiveequalsusesget.md | 9 +++++++-- .../avoidboxedbooleanexpressions.md | 9 +++++++-- .../bigdecimaldoubleconstructorrecipe.md | 9 +++++++-- .../bigdecimalroundingconstantstoenums.md | 9 +++++++-- .../booleanchecksnotinverted.md | 9 +++++++-- ...writerwithfileandbooleanargumentsrecipe.md | 9 +++++++-- ...fromnewfilewriterwithfileargumentrecipe.md | 9 +++++++-- ...iterwithstringandbooleanargumentsrecipe.md | 9 +++++++-- ...omnewfilewriterwithstringargumentrecipe.md | 9 +++++++-- .../bufferedwritercreationrecipes.md | 11 +++++++--- ...seinsensitivecomparisonsdonotchangecase.md | 9 +++++++-- .../staticanalysis/catchclauseonlyrethrows.md | 9 +++++++-- .../chainstringbuilderappendcalls.md | 9 +++++++-- docs/recipes/staticanalysis/codecleanup.md | 11 +++++++--- .../combinesemanticallyequalcatchblocks.md | 9 +++++++-- .../commondeclarationsitetypevariances.md | 9 +++++++-- .../staticanalysis/commonstaticanalysis.md | 11 +++++++--- .../compareenumswithequalityoperator.md | 9 +++++++-- .../staticanalysis/controlflowindentation.md | 9 +++++++-- .../recipes/staticanalysis/covariantequals.md | 9 +++++++-- .../declarationsitetypevariance.md | 14 ++++++++----- .../staticanalysis/defaultcomeslast.md | 9 +++++++-- docs/recipes/staticanalysis/emptyblock.md | 9 +++++++-- .../staticanalysis/equalsavoidsnull.md | 9 +++++++-- .../staticanalysis/equalstocontentequals.md | 9 +++++++-- .../explicitcharsetonstringgetbytes.md | 11 +++++++--- .../staticanalysis/explicitinitialization.md | 9 +++++++-- .../explicitlambdaargumenttypes.md | 9 +++++++-- .../externalizablehasnoargsconstructor.md | 9 +++++++-- docs/recipes/staticanalysis/fallthrough.md | 9 +++++++-- docs/recipes/staticanalysis/finalclass.md | 9 +++++++-- .../staticanalysis/finalizelocalvariables.md | 9 +++++++-- .../staticanalysis/finalizemethodarguments.md | 9 +++++++-- .../staticanalysis/finalizeprivatefields.md | 9 +++++++-- .../fixstringformatexpressions.md | 9 +++++++-- .../forloopcontrolvariablepostfixoperators.md | 9 +++++++-- .../forloopincrementinupdate.md | 9 +++++++-- docs/recipes/staticanalysis/hiddenfield.md | 9 +++++++-- .../hideutilityclassconstructor.md | 9 +++++++-- .../indexofchecksshoulduseastartposition.md | 9 +++++++-- .../indexofreplaceablebycontains.md | 9 +++++++-- .../indexofshouldnotcomparegreaterthanzero.md | 9 +++++++-- docs/recipes/staticanalysis/inlinevariable.md | 9 +++++++-- .../staticanalysis/instanceofpatternmatch.md | 9 +++++++-- .../isemptycalloncollections.md | 9 +++++++-- .../java/movefieldannotationtotype.md | 11 +++++++--- .../staticanalysis/javaapibestpractices.md | 9 +++++++-- .../staticanalysis/lambdablocktoexpression.md | 9 +++++++-- .../staticanalysis/lowercasepackage.md | 9 +++++++-- .../staticanalysis/maskcreditcardnumbers.md | 9 +++++++-- .../staticanalysis/methodnamecasing.md | 11 +++++++--- .../staticanalysis/minimumswitchcases.md | 9 +++++++-- .../missingoverrideannotation.md | 11 +++++++--- docs/recipes/staticanalysis/modifierorder.md | 9 +++++++-- .../multiplevariabledeclarations.md | 9 +++++++-- docs/recipes/staticanalysis/needbraces.md | 9 +++++++-- .../staticanalysis/nestedenumsarenotstatic.md | 9 +++++++-- .../newstringbuilderbufferwithcharargument.md | 9 +++++++-- .../nodoublebraceinitialization.md | 9 +++++++-- .../noemptycollectionwithrawtype.md | 9 +++++++-- .../noequalityinforcondition.md | 9 +++++++-- .../nofinalizedlocalvariables.md | 9 +++++++-- docs/recipes/staticanalysis/nofinalizer.md | 9 +++++++-- ...primitivewrappersfortostringorcompareto.md | 9 +++++++-- .../noredundantjumpstatements.md | 9 +++++++-- .../staticanalysis/notostringonstringtype.md | 9 +++++++-- .../staticanalysis/novalueofonstringtype.md | 9 +++++++-- .../nullableonmethodreturntype.md | 9 +++++++-- .../objectfinalizecallssuper.md | 9 +++++++-- docs/recipes/staticanalysis/operatorwrap.md | 11 +++++++--- ...imitivewrapperclassconstructortovalueof.md | 9 +++++++-- .../staticanalysis/redundantfilecreation.md | 9 +++++++-- .../referentialequalitytoobjectequals.md | 9 +++++++-- .../removecallstoobjectfinalize.md | 9 +++++++-- .../staticanalysis/removecallstosystemgc.md | 9 +++++++-- .../removeemptyjavadocparameters.md | 9 +++++++-- .../staticanalysis/removeextrasemicolons.md | 9 +++++++-- .../removehashcodecallsfromarrayinstances.md | 9 +++++++-- .../removeinstanceofpatternmatch.md | 9 +++++++-- .../staticanalysis/removejavadocauthortag.md | 9 +++++++-- .../staticanalysis/removeredundanttypecast.md | 9 +++++++-- .../staticanalysis/removesystemoutprintln.md | 9 +++++++-- .../removetostringcallsfromarrayinstances.md | 9 +++++++-- .../staticanalysis/removeunneededassertion.md | 9 +++++++-- .../staticanalysis/removeunneededblock.md | 9 +++++++-- .../removeunusedlocalvariables.md | 11 +++++++--- .../removeunusedprivatefields.md | 9 +++++++-- .../removeunusedprivatemethods.md | 9 +++++++-- .../renameexceptioninemptycatch.md | 9 +++++++-- .../renamelocalvariablestocamelcase.md | 9 +++++++-- ...namemethodsnamedhashcodeequalortostring.md | 9 +++++++-- .../renameprivatefieldstocamelcase.md | 9 +++++++-- ...alidatenotnullwithobjectsrequirenonnull.md | 11 +++++++--- .../replaceclassisinstancewithinstanceof.md | 9 +++++++-- ...placecollectiontoarrayargwithemptyarray.md | 9 +++++++-- .../replacedeprecatedruntimeexecmethods.md | 9 +++++++-- .../replaceduplicatestringliterals.md | 11 +++++++--- .../replacelambdawithmethodreference.md | 9 +++++++-- .../replaceoptionalispresentwithifpresent.md | 9 +++++++-- .../replaceredundantformatwithprintf.md | 9 +++++++-- .../staticanalysis/replacestackwithdeque.md | 9 +++++++-- .../replacestreamtolistwithcollect.md | 9 +++++++-- .../replacestringbuilderwithstring.md | 9 +++++++-- .../replacetextblockwithstring.md | 9 +++++++-- .../replacethreadrunwiththreadstart.md | 9 +++++++-- ...avingsingleargwithobjectsrequirenonnull.md | 11 +++++++--- ...lhavingvarargswithobjectsrequirenonnull.md | 9 +++++++-- .../staticanalysis/replaceweekyearwithyear.md | 9 +++++++-- .../simplifybooleanexpression.md | 9 +++++++-- .../staticanalysis/simplifybooleanreturn.md | 9 +++++++-- .../simplifycompoundstatement.md | 9 +++++++-- .../simplifyconsecutiveassignments.md | 9 +++++++-- .../simplifyconstantifbranchexecution.md | 9 +++++++-- .../simplifydurationcreationunits.md | 9 +++++++-- ...yrecipes$simplifyternaryfalsetruerecipe.md | 9 +++++++-- ...yrecipes$simplifyternarytruefalserecipe.md | 9 +++++++-- .../staticanalysis/simplifyternaryrecipes.md | 11 +++++++--- .../sortedsetstreamtolinkedhashset.md | 9 +++++++-- .../staticanalysis/staticmethodnotfinal.md | 9 +++++++-- .../staticanalysis/stringliteralequality.md | 9 +++++++-- .../ternaryoperatorsshouldnotbenested.md | 9 +++++++-- .../staticanalysis/typecastparenpad.md | 9 +++++++-- .../staticanalysis/unnecessarycatch.md | 11 +++++++--- .../unnecessarycloseintrywithresources.md | 9 +++++++-- .../unnecessaryexplicittypearguments.md | 9 +++++++-- .../staticanalysis/unnecessaryparentheses.md | 9 +++++++-- .../unnecessaryprimitiveannotations.md | 9 +++++++-- .../unnecessaryreturnaslaststatement.md | 9 +++++++-- .../staticanalysis/unnecessarythrows.md | 9 +++++++-- .../unwraprepeatableannotations.md | 9 +++++++-- .../uppercaseliteralsuffixes.md | 9 +++++++-- ...rlequalshashcoderecipes$urlequalsrecipe.md | 9 +++++++-- ...equalshashcoderecipes$urlhashcoderecipe.md | 9 +++++++-- .../urlequalshashcoderecipes.md | 11 +++++++--- docs/recipes/staticanalysis/useasbuilder.md | 14 ++++++++----- .../staticanalysis/usecollectioninterfaces.md | 9 +++++++-- .../staticanalysis/usediamondoperator.md | 9 +++++++-- .../useforeachremoveinsteadofsetremoveall.md | 9 +++++++-- .../usejavastylearraydeclarations.md | 9 +++++++-- .../uselambdaforfunctionalinterface.md | 9 +++++++-- docs/recipes/staticanalysis/uselistsort.md | 9 +++++++-- .../staticanalysis/usemapcontainskey.md | 9 +++++++-- .../staticanalysis/useobjectnotifyall.md | 9 +++++++-- .../staticanalysis/usestandardcharset.md | 9 +++++++-- .../staticanalysis/usestringreplace.md | 9 +++++++-- .../staticanalysis/usesystemlineseparator.md | 9 +++++++-- .../staticanalysis/whileinsteadoffor.md | 9 +++++++-- .../writeoctalvaluesasdecimal.md | 9 +++++++-- ...decimalassertisequalbycomparingtorecipe.md | 9 +++++++-- ...imalassertisnotequalbycomparingtorecipe.md | 9 +++++++-- .../assertjbigdecimalrulesrecipes.md | 11 +++++++--- ...abstractbigintegerassertisequaltorecipe.md | 9 +++++++-- ...tractbigintegerassertisnotequaltorecipe.md | 9 +++++++-- ...abstractbigintegerassertisnotzerorecipe.md | 9 +++++++-- ...pes$abstractbigintegerassertisonerecipe.md | 9 +++++++-- ...es$abstractbigintegerassertiszerorecipe.md | 9 +++++++-- .../assertjbigintegerrulesrecipes.md | 11 +++++++--- ...es$abstractbooleanassertisequaltorecipe.md | 9 +++++++-- ...ipes$abstractbooleanassertisfalserecipe.md | 9 +++++++-- ...abstractbooleanassertisnotequaltorecipe.md | 9 +++++++-- ...cipes$abstractbooleanassertistruerecipe.md | 9 +++++++-- ...srecipes$assertthatbooleanisfalserecipe.md | 9 +++++++-- ...esrecipes$assertthatbooleanistruerecipe.md | 9 +++++++-- .../assertjbooleanrulesrecipes.md | 11 +++++++--- ...cipes$abstractbyteassertisequaltorecipe.md | 9 +++++++-- ...es$abstractbyteassertisnotequaltorecipe.md | 9 +++++++-- ...cipes$abstractbyteassertisnotzerorecipe.md | 9 +++++++-- ...esrecipes$abstractbyteassertisonerecipe.md | 9 +++++++-- ...srecipes$abstractbyteassertiszerorecipe.md | 9 +++++++-- .../refasterrules/assertjbyterulesrecipes.md | 11 +++++++--- ...pes$assertthatcharsequencehassizerecipe.md | 9 +++++++-- ...pes$assertthatcharsequenceisemptyrecipe.md | 9 +++++++-- ...$assertthatcharsequenceisnotemptyrecipe.md | 9 +++++++-- .../assertjcharsequencerulesrecipes.md | 11 +++++++--- ...ctdoubleassertisclosetowithoffsetrecipe.md | 9 +++++++-- ...pes$abstractdoubleassertisequaltorecipe.md | 9 +++++++-- ...$abstractdoubleassertisnotequaltorecipe.md | 9 +++++++-- ...pes$abstractdoubleassertisnotzerorecipe.md | 9 +++++++-- ...recipes$abstractdoubleassertisonerecipe.md | 9 +++++++-- ...ecipes$abstractdoubleassertiszerorecipe.md | 9 +++++++-- .../assertjdoublerulesrecipes.md | 11 +++++++--- ...actfloatassertisclosetowithoffsetrecipe.md | 9 +++++++-- ...ipes$abstractfloatassertisequaltorecipe.md | 9 +++++++-- ...s$abstractfloatassertisnotequaltorecipe.md | 9 +++++++-- ...ipes$abstractfloatassertisnotzerorecipe.md | 9 +++++++-- ...srecipes$abstractfloatassertisonerecipe.md | 9 +++++++-- ...recipes$abstractfloatassertiszerorecipe.md | 9 +++++++-- .../refasterrules/assertjfloatrulesrecipes.md | 11 +++++++--- ...es$abstractintegerassertisequaltorecipe.md | 9 +++++++-- ...abstractintegerassertisnotequaltorecipe.md | 9 +++++++-- ...es$abstractintegerassertisnotzerorecipe.md | 9 +++++++-- ...ecipes$abstractintegerassertisonerecipe.md | 9 +++++++-- ...cipes$abstractintegerassertiszerorecipe.md | 9 +++++++-- .../assertjintegerrulesrecipes.md | 11 +++++++--- ...cipes$abstractlongassertisequaltorecipe.md | 9 +++++++-- ...es$abstractlongassertisnotequaltorecipe.md | 9 +++++++-- ...cipes$abstractlongassertisnotzerorecipe.md | 9 +++++++-- ...esrecipes$abstractlongassertisonerecipe.md | 9 +++++++-- ...srecipes$abstractlongassertiszerorecipe.md | 9 +++++++-- .../refasterrules/assertjlongrulesrecipes.md | 11 +++++++--- ...lesrecipes$numberassertisnegativerecipe.md | 9 +++++++-- ...recipes$numberassertisnotnegativerecipe.md | 9 +++++++-- ...recipes$numberassertisnotpositiverecipe.md | 9 +++++++-- ...lesrecipes$numberassertispositiverecipe.md | 9 +++++++-- .../assertjnumberrulesrecipes.md | 11 +++++++--- ...erulesrecipes$assertthatisequaltorecipe.md | 9 +++++++-- ...$assertthatisgreaterthanorequaltorecipe.md | 9 +++++++-- ...esrecipes$assertthatisgreaterthanrecipe.md | 9 +++++++-- ...pes$assertthatislessthanorequaltorecipe.md | 9 +++++++-- ...rulesrecipes$assertthatislessthanrecipe.md | 9 +++++++-- ...lesrecipes$assertthatisnotequaltorecipe.md | 9 +++++++-- .../assertjprimitiverulesrecipes.md | 11 +++++++--- ...srecipes$assertthatoptionaldoublerecipe.md | 9 +++++++-- ...ulesrecipes$assertthatoptionalintrecipe.md | 9 +++++++-- ...lesrecipes$assertthatoptionallongrecipe.md | 9 +++++++-- .../refasterrules/assertjrulesrecipes.md | 11 +++++++--- ...ipes$abstractshortassertisequaltorecipe.md | 9 +++++++-- ...s$abstractshortassertisnotequaltorecipe.md | 9 +++++++-- ...ipes$abstractshortassertisnotzerorecipe.md | 9 +++++++-- ...srecipes$abstractshortassertisonerecipe.md | 9 +++++++-- ...recipes$abstractshortassertiszerorecipe.md | 9 +++++++-- .../refasterrules/assertjshortrulesrecipes.md | 11 +++++++--- ...abstractstringassertstringisemptyrecipe.md | 9 +++++++-- ...tractstringassertstringisnotemptyrecipe.md | 9 +++++++-- ...lesrecipes$assertthatdoesnotmatchrecipe.md | 9 +++++++-- ...ingrulesrecipes$assertthatmatchesrecipe.md | 9 +++++++-- ...ulesrecipes$assertthatpathcontentrecipe.md | 9 +++++++-- ...recipes$assertthatpathcontentutf8recipe.md | 9 +++++++-- ...esrecipes$assertthatstringisemptyrecipe.md | 9 +++++++-- ...ecipes$assertthatstringisnotemptyrecipe.md | 9 +++++++-- .../assertjstringrulesrecipes.md | 11 +++++++--- ...tthatthrownbyhasmessagecontainingrecipe.md | 9 +++++++-- ...atthrownbyhasmessagenotcontainingrecipe.md | 9 +++++++-- ...ipes$assertthatthrownbyhasmessagerecipe.md | 9 +++++++-- ...hatthrownbyhasmessagestartingwithrecipe.md | 9 +++++++-- ...mentexceptionhasmessagecontainingrecipe.md | 9 +++++++-- ...llegalargumentexceptionhasmessagerecipe.md | 9 +++++++-- ...ntexceptionhasmessagestartingwithrecipe.md | 9 +++++++-- ...tthrownbyillegalargumentexceptionrecipe.md | 9 +++++++-- ...tateexceptionhasmessagecontainingrecipe.md | 9 +++++++-- ...eexceptionhasmessagenotcontainingrecipe.md | 9 +++++++-- ...byillegalstateexceptionhasmessagerecipe.md | 9 +++++++-- ...teexceptionhasmessagestartingwithrecipe.md | 9 +++++++-- ...thatthrownbyillegalstateexceptionrecipe.md | 9 +++++++-- ...byioexceptionhasmessagecontainingrecipe.md | 9 +++++++-- ...oexceptionhasmessagenotcontainingrecipe.md | 9 +++++++-- ...thatthrownbyioexceptionhasmessagerecipe.md | 9 +++++++-- ...ioexceptionhasmessagestartingwithrecipe.md | 9 +++++++-- ...pes$assertthatthrownbyioexceptionrecipe.md | 9 +++++++-- ...nterexceptionhasmessagecontainingrecipe.md | 9 +++++++-- ...rexceptionhasmessagenotcontainingrecipe.md | 9 +++++++-- ...nbynullpointerexceptionhasmessagerecipe.md | 9 +++++++-- ...erexceptionhasmessagestartingwithrecipe.md | 9 +++++++-- ...tthatthrownbynullpointerexceptionrecipe.md | 9 +++++++-- ...lerulesrecipes$assertthatthrownbyrecipe.md | 9 +++++++-- .../assertjthrowingcallablerulesrecipes.md | 11 +++++++--- .../assortedrulesrecipes$checkindexrecipe.md | 9 +++++++-- ...edrulesrecipes$logicalimplicationrecipe.md | 9 +++++++-- ...ssortedrulesrecipes$splittostreamrecipe.md | 9 +++++++-- .../refasterrules/assortedrulesrecipes.md | 11 +++++++--- ...decimalrulesrecipes$bigdecimalonerecipe.md | 9 +++++++-- ...ecipes$bigdecimalsignumisnegativerecipe.md | 9 +++++++-- ...ecipes$bigdecimalsignumispositiverecipe.md | 9 +++++++-- ...lesrecipes$bigdecimalsignumiszerorecipe.md | 9 +++++++-- ...decimalrulesrecipes$bigdecimaltenrecipe.md | 9 +++++++-- ...malrulesrecipes$bigdecimalvalueofrecipe.md | 9 +++++++-- ...ecimalrulesrecipes$bigdecimalzerorecipe.md | 9 +++++++-- .../refasterrules/bigdecimalrulesrecipes.md | 11 +++++++--- ...elperaddinputlinesexpectunchangedrecipe.md | 9 +++++++-- ...ckerrefactoringtesthelperidentityrecipe.md | 9 +++++++-- ...eckerrulesrecipes$constantsformatrecipe.md | 9 +++++++-- ...kerrulesrecipes$namecontentequalsrecipe.md | 9 +++++++-- .../refasterrules/bugcheckerrulesrecipes.md | 11 +++++++--- ...ulesrecipes$concatonedoublestreamrecipe.md | 9 +++++++-- ...lesrecipes$concattwodoublestreamsrecipe.md | 9 +++++++-- ...rulesrecipes$doublestreamallmatchrecipe.md | 9 +++++++-- ...rulesrecipes$doublestreamanymatchrecipe.md | 9 +++++++-- ...srecipes$doublestreamfiltersortedrecipe.md | 9 +++++++-- ...mrulesrecipes$doublestreamisemptyrecipe.md | 9 +++++++-- ...lesrecipes$doublestreamisnotemptyrecipe.md | 9 +++++++-- ...treamrulesrecipes$doublestreamminrecipe.md | 9 +++++++-- ...ulesrecipes$doublestreamnonematchrecipe.md | 9 +++++++-- ...ulesrecipes$doublestreamtakewhilerecipe.md | 9 +++++++-- .../refasterrules/doublestreamrulesrecipes.md | 11 +++++++--- ...ualityrulesrecipes$doublenegationrecipe.md | 9 +++++++-- ...lesrecipes$indirectdoublenegationrecipe.md | 9 +++++++-- .../equalityrulesrecipes$negationrecipe.md | 9 +++++++-- .../refasterrules/equalityrulesrecipes.md | 11 +++++++--- ...tetempfileincustomdirectorytofilerecipe.md | 9 +++++++-- ...recipes$filescreatetempfiletofilerecipe.md | 9 +++++++-- .../filerulesrecipes$filesreadstringrecipe.md | 9 +++++++-- ...ecipes$filesreadstringwithcharsetrecipe.md | 9 +++++++-- .../filerulesrecipes$pathinstancerecipe.md | 9 +++++++-- .../filerulesrecipes$pathofurirecipe.md | 9 +++++++-- .../refasterrules/filerulesrecipes.md | 11 +++++++--- ...esrecipes$inputstreamreadallbytesrecipe.md | 9 +++++++-- ...ulesrecipes$inputstreamreadnbytesrecipe.md | 9 +++++++-- ...ulesrecipes$inputstreamskipnbytesrecipe.md | 9 +++++++-- ...ulesrecipes$inputstreamtransfertorecipe.md | 9 +++++++-- .../refasterrules/inputstreamrulesrecipes.md | 11 +++++++--- ...amrulesrecipes$concatoneintstreamrecipe.md | 9 +++++++-- ...mrulesrecipes$concattwointstreamsrecipe.md | 9 +++++++-- ...eamrulesrecipes$intstreamallmatchrecipe.md | 9 +++++++-- ...eamrulesrecipes$intstreamanymatchrecipe.md | 9 +++++++-- ...srecipes$intstreamclosedopenrangerecipe.md | 9 +++++++-- ...ulesrecipes$intstreamfiltersortedrecipe.md | 9 +++++++-- ...reamrulesrecipes$intstreamisemptyrecipe.md | 9 +++++++-- ...mrulesrecipes$intstreamisnotemptyrecipe.md | 9 +++++++-- ...ntstreamrulesrecipes$intstreamminrecipe.md | 9 +++++++-- ...amrulesrecipes$intstreamnonematchrecipe.md | 9 +++++++-- ...amrulesrecipes$intstreamtakewhilerecipe.md | 9 +++++++-- .../refasterrules/intstreamrulesrecipes.md | 11 +++++++--- ...tthatcodedoesnotthrowanyexceptionrecipe.md | 9 +++++++-- ...agestringdoesnotthrowanyexceptionrecipe.md | 9 +++++++-- ...esupplierdoesnotthrowanyexceptionrecipe.md | 9 +++++++-- ...rtjrulesrecipes$assertthatisfalserecipe.md | 9 +++++++-- ...jrulesrecipes$assertthatisnotnullrecipe.md | 9 +++++++-- ...ulesrecipes$assertthatisnotsameasrecipe.md | 9 +++++++-- ...ertjrulesrecipes$assertthatisnullrecipe.md | 9 +++++++-- ...tjrulesrecipes$assertthatissameasrecipe.md | 9 +++++++-- ...ertjrulesrecipes$assertthatistruerecipe.md | 9 +++++++-- ...tthatwithfailmessagestringisfalserecipe.md | 9 +++++++-- ...hatwithfailmessagestringisnotnullrecipe.md | 9 +++++++-- ...twithfailmessagestringisnotsameasrecipe.md | 9 +++++++-- ...rtthatwithfailmessagestringisnullrecipe.md | 9 +++++++-- ...thatwithfailmessagestringissameasrecipe.md | 9 +++++++-- ...rtthatwithfailmessagestringistruerecipe.md | 9 +++++++-- ...hatwithfailmessagesupplierisfalserecipe.md | 9 +++++++-- ...twithfailmessagesupplierisnotnullrecipe.md | 9 +++++++-- ...ithfailmessagesupplierisnotsameasrecipe.md | 9 +++++++-- ...thatwithfailmessagesupplierisnullrecipe.md | 9 +++++++-- ...atwithfailmessagesupplierissameasrecipe.md | 9 +++++++-- ...thatwithfailmessagesupplieristruerecipe.md | 9 +++++++-- .../junittoassertjrulesrecipes.md | 11 +++++++--- ...mrulesrecipes$concatonelongstreamrecipe.md | 9 +++++++-- ...rulesrecipes$concattwolongstreamsrecipe.md | 9 +++++++-- ...amrulesrecipes$longstreamallmatchrecipe.md | 9 +++++++-- ...amrulesrecipes$longstreamanymatchrecipe.md | 9 +++++++-- ...recipes$longstreamclosedopenrangerecipe.md | 9 +++++++-- ...lesrecipes$longstreamfiltersortedrecipe.md | 9 +++++++-- ...eamrulesrecipes$longstreamisemptyrecipe.md | 9 +++++++-- ...rulesrecipes$longstreamisnotemptyrecipe.md | 9 +++++++-- ...gstreamrulesrecipes$longstreamminrecipe.md | 9 +++++++-- ...mrulesrecipes$longstreamnonematchrecipe.md | 9 +++++++-- ...mrulesrecipes$longstreamtakewhilerecipe.md | 9 +++++++-- .../refasterrules/longstreamrulesrecipes.md | 11 +++++++--- .../micrometerrulesrecipes$tagsof1recipe.md | 9 +++++++-- .../micrometerrulesrecipes$tagsof2recipe.md | 9 +++++++-- .../micrometerrulesrecipes$tagsof3recipe.md | 9 +++++++-- .../micrometerrulesrecipes$tagsof4recipe.md | 9 +++++++-- .../micrometerrulesrecipes$tagsof5recipe.md | 9 +++++++-- .../refasterrules/micrometerrulesrecipes.md | 11 +++++++--- ...ipes$invocationonmockgetargumentsrecipe.md | 9 +++++++-- .../mockitorulesrecipes$neverrecipe.md | 9 +++++++-- .../refasterrules/mockitorulesrecipes.md | 11 +++++++--- .../nullrulesrecipes$isnotnullrecipe.md | 9 +++++++-- .../nullrulesrecipes$isnullrecipe.md | 9 +++++++-- .../refasterrules/nullrulesrecipes.md | 11 +++++++--- ...rnrulesrecipes$patternaspredicaterecipe.md | 9 +++++++-- ...recipes$patterncompileaspredicaterecipe.md | 9 +++++++-- .../refasterrules/patternrulesrecipes.md | 11 +++++++--- ...itiverulesrecipes$booleanhashcoderecipe.md | 9 +++++++-- ...rimitiverulesrecipes$bytehashcoderecipe.md | 9 +++++++-- ...mitiverulesrecipes$characterbytesrecipe.md | 9 +++++++-- ...iverulesrecipes$characterhashcoderecipe.md | 9 +++++++-- ...primitiverulesrecipes$doublebytesrecipe.md | 9 +++++++-- ...mitiverulesrecipes$doublehashcoderecipe.md | 9 +++++++-- ...mitiverulesrecipes$doubleisfiniterecipe.md | 9 +++++++-- .../primitiverulesrecipes$floatbytesrecipe.md | 9 +++++++-- ...imitiverulesrecipes$floathashcoderecipe.md | 9 +++++++-- ...imitiverulesrecipes$floatisfiniterecipe.md | 9 +++++++-- ...rulesrecipes$greaterthanorequaltorecipe.md | 9 +++++++-- ...primitiverulesrecipes$greaterthanrecipe.md | 9 +++++++-- ...rimitiverulesrecipes$integerbytesrecipe.md | 9 +++++++-- ...lesrecipes$integercompareunsignedrecipe.md | 9 +++++++-- ...ulesrecipes$integerdivideunsignedrecipe.md | 9 +++++++-- ...itiverulesrecipes$integerhashcoderecipe.md | 9 +++++++-- ...esrecipes$integerparseunsignedintrecipe.md | 9 +++++++-- ...$integerparseunsignedintwithradixrecipe.md | 9 +++++++-- ...srecipes$integerremainderunsignedrecipe.md | 9 +++++++-- ...esrecipes$integersignumisnegativerecipe.md | 9 +++++++-- ...esrecipes$integersignumispositiverecipe.md | 9 +++++++-- ...esrecipes$integertounsignedstringrecipe.md | 9 +++++++-- ...$integertounsignedstringwithradixrecipe.md | 9 +++++++-- ...iverulesrecipes$lessthanorequaltorecipe.md | 9 +++++++-- .../primitiverulesrecipes$lessthanrecipe.md | 9 +++++++-- .../primitiverulesrecipes$longbytesrecipe.md | 9 +++++++-- ...erulesrecipes$longcompareunsignedrecipe.md | 9 +++++++-- ...verulesrecipes$longdivideunsignedrecipe.md | 9 +++++++-- ...rimitiverulesrecipes$longhashcoderecipe.md | 9 +++++++-- ...ulesrecipes$longparseunsignedlongrecipe.md | 9 +++++++-- ...es$longparseunsignedlongwithradixrecipe.md | 9 +++++++-- ...ulesrecipes$longremainderunsignedrecipe.md | 9 +++++++-- ...rulesrecipes$longsignumisnegativerecipe.md | 9 +++++++-- ...rulesrecipes$longsignumispositiverecipe.md | 9 +++++++-- ...mitiverulesrecipes$longtointexactrecipe.md | 9 +++++++-- ...rulesrecipes$longtounsignedstringrecipe.md | 9 +++++++-- ...pes$longtounsignedstringwithradixrecipe.md | 9 +++++++-- .../primitiverulesrecipes$shortbytesrecipe.md | 9 +++++++-- ...imitiverulesrecipes$shorthashcoderecipe.md | 9 +++++++-- .../refasterrules/primitiverulesrecipes.md | 11 +++++++--- ...tepverifierlaststepverifycompleterecipe.md | 9 +++++++-- ...erifierlaststepverifyerrormatchesrecipe.md | 9 +++++++-- ...erifierlaststepverifyerrormessagerecipe.md | 9 +++++++-- ...s$stepverifierlaststepverifyerrorrecipe.md | 9 +++++++-- ...ifierlaststepverifyerrorsatisfiesrecipe.md | 9 +++++++-- ...stepverifierlaststepverifytimeoutrecipe.md | 9 +++++++-- .../refasterrules/reactorrulesrecipes.md | 11 +++++++--- ...terrulesrecipes$completabletomonorecipe.md | 9 +++++++-- .../rxjava2adapterrulesrecipes.md | 9 +++++++-- .../streamrulesrecipes$joiningrecipe.md | 9 +++++++-- .../refasterrules/streamrulesrecipes.md | 9 +++++++-- ...ingrulesrecipes$filteremptystringrecipe.md | 9 +++++++-- .../stringrulesrecipes$joinstringsrecipe.md | 9 +++++++-- ...lesrecipes$newstringfromchararrayrecipe.md | 9 +++++++-- ...newstringfromchararraysubsequencerecipe.md | 9 +++++++-- ...lesrecipes$optionalnonemptystringrecipe.md | 9 +++++++-- ...ingrulesrecipes$stringindexofcharrecipe.md | 9 +++++++-- ...grulesrecipes$stringindexofstringrecipe.md | 9 +++++++-- .../stringrulesrecipes$stringisemptyrecipe.md | 9 +++++++-- ...grulesrecipes$stringisnulloremptyrecipe.md | 9 +++++++-- ...ulesrecipes$stringlastindexofcharrecipe.md | 9 +++++++-- ...es$stringlastindexofcharwithindexrecipe.md | 9 +++++++-- ...esrecipes$stringlastindexofstringrecipe.md | 9 +++++++-- ...$stringlastindexofstringwithindexrecipe.md | 9 +++++++-- ...ringrulesrecipes$stringstartswithrecipe.md | 9 +++++++-- .../stringrulesrecipes$stringvalueofrecipe.md | 9 +++++++-- ...ngrulesrecipes$substringremainderrecipe.md | 9 +++++++-- ...ingrulesrecipes$utf8encodedlengthrecipe.md | 9 +++++++-- .../refasterrules/stringrulesrecipes.md | 11 +++++++--- ...ixrulesrecipes$suggestedfixdeleterecipe.md | 9 +++++++-- ...esrecipes$suggestedfixpostfixwithrecipe.md | 9 +++++++-- ...lesrecipes$suggestedfixprefixwithrecipe.md | 9 +++++++-- ...cipes$suggestedfixreplacestartendrecipe.md | 9 +++++++-- ...esrecipes$suggestedfixreplacetreerecipe.md | 9 +++++++-- ...s$suggestedfixreplacetreestartendrecipe.md | 9 +++++++-- ...dfixrulesrecipes$suggestedfixswaprecipe.md | 9 +++++++-- .../refasterrules/suggestedfixrulesrecipes.md | 11 +++++++--- ...es$assertequalarrayiterationorderrecipe.md | 9 +++++++-- ...ualarrayiterationorderwithmessagerecipe.md | 9 +++++++-- ...ertequalarraysirrespectiveoforderrecipe.md | 9 +++++++-- ...aysirrespectiveoforderwithmessagerecipe.md | 9 +++++++-- ...cipes$assertequaldoubleswithdeltarecipe.md | 9 +++++++-- ...tequaldoubleswithdeltawithmessagerecipe.md | 9 +++++++-- ...ecipes$assertequalfloatswithdeltarecipe.md | 9 +++++++-- ...rtequalfloatswithdeltawithmessagerecipe.md | 9 +++++++-- ...toassertjrulesrecipes$assertequalrecipe.md | 9 +++++++-- ...lesrecipes$assertequalwithmessagerecipe.md | 9 +++++++-- ...toassertjrulesrecipes$assertfalserecipe.md | 9 +++++++-- ...lesrecipes$assertfalsewithmessagerecipe.md | 9 +++++++-- ...assertjrulesrecipes$assertnotnullrecipe.md | 9 +++++++-- ...srecipes$assertnotnullwithmessagerecipe.md | 9 +++++++-- ...assertjrulesrecipes$assertnotsamerecipe.md | 9 +++++++-- ...srecipes$assertnotsamewithmessagerecipe.md | 9 +++++++-- ...gtoassertjrulesrecipes$assertnullrecipe.md | 9 +++++++-- ...ulesrecipes$assertnullwithmessagerecipe.md | 9 +++++++-- ...gtoassertjrulesrecipes$assertsamerecipe.md | 9 +++++++-- ...ulesrecipes$assertsamewithmessagerecipe.md | 9 +++++++-- ...oassertjrulesrecipes$assertthrowsrecipe.md | 9 +++++++-- ...gtoassertjrulesrecipes$asserttruerecipe.md | 9 +++++++-- ...ulesrecipes$asserttruewithmessagerecipe.md | 9 +++++++-- ...pes$assertunequaldoubleswithdeltarecipe.md | 9 +++++++-- ...nequaldoubleswithdeltawithmessagerecipe.md | 9 +++++++-- ...ipes$assertunequalfloatswithdeltarecipe.md | 9 +++++++-- ...unequalfloatswithdeltawithmessagerecipe.md | 9 +++++++-- ...assertjrulesrecipes$assertunequalrecipe.md | 9 +++++++-- ...srecipes$assertunequalwithmessagerecipe.md | 9 +++++++-- .../testngtoassertjrulesrecipes$failrecipe.md | 9 +++++++-- ...cipes$failwithmessageandthrowablerecipe.md | 9 +++++++-- ...sertjrulesrecipes$failwithmessagerecipe.md | 9 +++++++-- .../testngtoassertjrulesrecipes.md | 11 +++++++--- ...lesrecipes$chronolocaldateisafterrecipe.md | 9 +++++++-- ...esrecipes$chronolocaldateisbeforerecipe.md | 9 +++++++-- ...ecipes$chronolocaldatetimeisafterrecipe.md | 9 +++++++-- ...cipes$chronolocaldatetimeisbeforerecipe.md | 9 +++++++-- ...ecipes$chronozoneddatetimeisafterrecipe.md | 9 +++++++-- ...cipes$chronozoneddatetimeisbeforerecipe.md | 9 +++++++-- .../timerulesrecipes$clockinstantrecipe.md | 9 +++++++-- ...esrecipes$durationbetweeninstantsrecipe.md | 9 +++++++-- ...es$durationbetweenoffsetdatetimesrecipe.md | 9 +++++++-- .../timerulesrecipes$durationiszerorecipe.md | 9 +++++++-- .../timerulesrecipes$durationofdaysrecipe.md | 9 +++++++-- .../timerulesrecipes$durationofhoursrecipe.md | 9 +++++++-- ...timerulesrecipes$durationofmillisrecipe.md | 9 +++++++-- ...imerulesrecipes$durationofminutesrecipe.md | 9 +++++++-- .../timerulesrecipes$durationofnanosrecipe.md | 9 +++++++-- ...imerulesrecipes$durationofsecondsrecipe.md | 9 +++++++-- .../timerulesrecipes$epochinstantrecipe.md | 9 +++++++-- .../timerulesrecipes$instantatoffsetrecipe.md | 9 +++++++-- .../timerulesrecipes$instantatzonerecipe.md | 9 +++++++-- .../timerulesrecipes$instantisafterrecipe.md | 9 +++++++-- .../timerulesrecipes$instantisbeforerecipe.md | 9 +++++++-- ...ulesrecipes$localdateatstartofdayrecipe.md | 9 +++++++-- ...merulesrecipes$localdateminusdaysrecipe.md | 9 +++++++-- ...rulesrecipes$localdateminusmonthsrecipe.md | 9 +++++++-- ...erulesrecipes$localdateminusweeksrecipe.md | 9 +++++++-- ...erulesrecipes$localdateminusyearsrecipe.md | 9 +++++++-- ...merulesrecipes$localdateofinstantrecipe.md | 9 +++++++-- ...imerulesrecipes$localdateplusdaysrecipe.md | 9 +++++++-- ...erulesrecipes$localdateplusmonthsrecipe.md | 9 +++++++-- ...merulesrecipes$localdateplusweeksrecipe.md | 9 +++++++-- ...merulesrecipes$localdateplusyearsrecipe.md | 9 +++++++-- ...lesrecipes$localdatetimeminusdaysrecipe.md | 9 +++++++-- ...esrecipes$localdatetimeminushoursrecipe.md | 9 +++++++-- ...recipes$localdatetimeminusminutesrecipe.md | 9 +++++++-- ...srecipes$localdatetimeminusmonthsrecipe.md | 9 +++++++-- ...esrecipes$localdatetimeminusnanosrecipe.md | 9 +++++++-- ...recipes$localdatetimeminussecondsrecipe.md | 9 +++++++-- ...esrecipes$localdatetimeminusweeksrecipe.md | 9 +++++++-- ...esrecipes$localdatetimeminusyearsrecipe.md | 9 +++++++-- ...lesrecipes$localdatetimeofinstantrecipe.md | 9 +++++++-- ...ulesrecipes$localdatetimeplusdaysrecipe.md | 9 +++++++-- ...lesrecipes$localdatetimeplushoursrecipe.md | 9 +++++++-- ...srecipes$localdatetimeplusminutesrecipe.md | 9 +++++++-- ...esrecipes$localdatetimeplusmonthsrecipe.md | 9 +++++++-- ...lesrecipes$localdatetimeplusnanosrecipe.md | 9 +++++++-- ...srecipes$localdatetimeplussecondsrecipe.md | 9 +++++++-- ...lesrecipes$localdatetimeplusweeksrecipe.md | 9 +++++++-- ...lesrecipes$localdatetimeplusyearsrecipe.md | 9 +++++++-- .../timerulesrecipes$localtimeminrecipe.md | 9 +++++++-- ...erulesrecipes$localtimeminushoursrecipe.md | 9 +++++++-- ...ulesrecipes$localtimeminusminutesrecipe.md | 9 +++++++-- ...erulesrecipes$localtimeminusnanosrecipe.md | 9 +++++++-- ...ulesrecipes$localtimeminussecondsrecipe.md | 9 +++++++-- ...merulesrecipes$localtimeofinstantrecipe.md | 9 +++++++-- ...merulesrecipes$localtimeplushoursrecipe.md | 9 +++++++-- ...rulesrecipes$localtimeplusminutesrecipe.md | 9 +++++++-- ...merulesrecipes$localtimeplusnanosrecipe.md | 9 +++++++-- ...rulesrecipes$localtimeplussecondsrecipe.md | 9 +++++++-- ...ulesrecipes$offsetdatetimeisafterrecipe.md | 9 +++++++-- ...lesrecipes$offsetdatetimeisbeforerecipe.md | 9 +++++++-- ...esrecipes$offsetdatetimeminusdaysrecipe.md | 9 +++++++-- ...srecipes$offsetdatetimeminushoursrecipe.md | 9 +++++++-- ...ecipes$offsetdatetimeminusminutesrecipe.md | 9 +++++++-- ...recipes$offsetdatetimeminusmonthsrecipe.md | 9 +++++++-- ...srecipes$offsetdatetimeminusnanosrecipe.md | 9 +++++++-- ...ecipes$offsetdatetimeminussecondsrecipe.md | 9 +++++++-- ...srecipes$offsetdatetimeminusweeksrecipe.md | 9 +++++++-- ...srecipes$offsetdatetimeminusyearsrecipe.md | 9 +++++++-- ...esrecipes$offsetdatetimeofinstantrecipe.md | 9 +++++++-- ...lesrecipes$offsetdatetimeplusdaysrecipe.md | 9 +++++++-- ...esrecipes$offsetdatetimeplushoursrecipe.md | 9 +++++++-- ...recipes$offsetdatetimeplusminutesrecipe.md | 9 +++++++-- ...srecipes$offsetdatetimeplusmonthsrecipe.md | 9 +++++++-- ...esrecipes$offsetdatetimeplusnanosrecipe.md | 9 +++++++-- ...recipes$offsetdatetimeplussecondsrecipe.md | 9 +++++++-- ...esrecipes$offsetdatetimeplusweeksrecipe.md | 9 +++++++-- ...esrecipes$offsetdatetimeplusyearsrecipe.md | 9 +++++++-- ...rulesrecipes$offsettimeminushoursrecipe.md | 9 +++++++-- ...lesrecipes$offsettimeminusminutesrecipe.md | 9 +++++++-- ...rulesrecipes$offsettimeminusnanosrecipe.md | 9 +++++++-- ...lesrecipes$offsettimeminussecondsrecipe.md | 9 +++++++-- ...erulesrecipes$offsettimeofinstantrecipe.md | 9 +++++++-- ...erulesrecipes$offsettimeplushoursrecipe.md | 9 +++++++-- ...ulesrecipes$offsettimeplusminutesrecipe.md | 9 +++++++-- ...erulesrecipes$offsettimeplusnanosrecipe.md | 9 +++++++-- ...ulesrecipes$offsettimeplussecondsrecipe.md | 9 +++++++-- .../timerulesrecipes$utcclockrecipe.md | 9 +++++++-- .../timerulesrecipes$utcconstantrecipe.md | 9 +++++++-- .../timerulesrecipes$zerodurationrecipe.md | 9 +++++++-- .../timerulesrecipes$zeroperiodrecipe.md | 9 +++++++-- ...lesrecipes$zoneddatetimeminusdaysrecipe.md | 9 +++++++-- ...esrecipes$zoneddatetimeminushoursrecipe.md | 9 +++++++-- ...recipes$zoneddatetimeminusminutesrecipe.md | 9 +++++++-- ...srecipes$zoneddatetimeminusmonthsrecipe.md | 9 +++++++-- ...esrecipes$zoneddatetimeminusnanosrecipe.md | 9 +++++++-- ...recipes$zoneddatetimeminussecondsrecipe.md | 9 +++++++-- ...esrecipes$zoneddatetimeminusweeksrecipe.md | 9 +++++++-- ...esrecipes$zoneddatetimeminusyearsrecipe.md | 9 +++++++-- ...ulesrecipes$zoneddatetimeplusdaysrecipe.md | 9 +++++++-- ...lesrecipes$zoneddatetimeplushoursrecipe.md | 9 +++++++-- ...srecipes$zoneddatetimeplusminutesrecipe.md | 9 +++++++-- ...esrecipes$zoneddatetimeplusmonthsrecipe.md | 9 +++++++-- ...lesrecipes$zoneddatetimeplusnanosrecipe.md | 9 +++++++-- ...srecipes$zoneddatetimeplussecondsrecipe.md | 9 +++++++-- ...lesrecipes$zoneddatetimeplusweeksrecipe.md | 9 +++++++-- ...lesrecipes$zoneddatetimeplusyearsrecipe.md | 9 +++++++-- .../refasterrules/timerulesrecipes.md | 11 +++++++--- ...ebclientrulesrecipes$webclientgetrecipe.md | 9 +++++++-- ...bclientrulesrecipes$webclientheadrecipe.md | 9 +++++++-- ...ientrulesrecipes$webclientoptionsrecipe.md | 9 +++++++-- ...clientrulesrecipes$webclientpatchrecipe.md | 9 +++++++-- ...bclientrulesrecipes$webclientpostrecipe.md | 9 +++++++-- ...ebclientrulesrecipes$webclientputrecipe.md | 9 +++++++-- .../refasterrules/webclientrulesrecipes.md | 11 +++++++--- docs/recipes/terraform/addconfiguration.md | 17 +++++++++------- .../recipes/terraform/aws/awsbestpractices.md | 11 +++++----- .../aws/disableinstancemetadataservicev1.md | 8 ++++++-- .../terraform/aws/enableapigatewaycaching.md | 8 ++++++-- .../terraform/aws/enabledynamodbpitr.md | 8 ++++++-- .../terraform/aws/enableecrscanonpush.md | 8 ++++++-- .../terraform/aws/encryptauroraclusters.md | 8 ++++++-- .../recipes/terraform/aws/encryptcodebuild.md | 8 ++++++-- .../terraform/aws/encryptdaxstorage.md | 8 ++++++-- .../terraform/aws/encryptdocumentdb.md | 8 ++++++-- .../terraform/aws/encryptebssnapshots.md | 8 ++++++-- .../encryptebsvolumelaunchconfiguration.md | 8 ++++++-- .../terraform/aws/encryptebsvolumes.md | 8 ++++++-- ...efsvolumesinecstaskdefinitionsintransit.md | 8 ++++++-- .../aws/encryptelasticacheredisatrest.md | 8 ++++++-- .../aws/encryptelasticacheredisintransit.md | 8 ++++++-- .../terraform/aws/encryptneptunestorage.md | 8 ++++++-- .../terraform/aws/encryptrdsclusters.md | 8 ++++++-- docs/recipes/terraform/aws/encryptredshift.md | 8 ++++++-- ...ontrolplaneloggingenabledforalllogtypes.md | 8 ++++++-- .../aws/ensureawscmkrotationisenabled.md | 8 ++++++-- ...efswithencryptionfordataatrestisenabled.md | 8 ++++++-- ...clusterendpointaccessispubliclydisabled.md | 8 ++++++-- ...hdomainencryptionfordataatrestisenabled.md | 8 ++++++-- ...ticsearchdomainshaveenforcehttpsenabled.md | 8 ++++++-- ...ticsearchhasnodetonodeencryptionenabled.md | 8 ++++++-- ...passwordpolicyhasaminimumof14characters.md | 8 ++++++-- ...orfunctionlevelconcurrentexecutionlimit.md | 8 ++++++-- ...ureawslambdafunctionshavetracingenabled.md | 8 ++++++-- ...databaseinstanceisnotpubliclyaccessible.md | 8 ++++++-- .../ensureawss3objectversioningisenabled.md | 8 ++++++-- ...urecloudtraillogfilevalidationisenabled.md | 8 ++++++-- ...edinans3bucketissecurelyencryptedatrest.md | 8 ++++++-- ...ailedmonitoringforec2instancesisenabled.md | 8 ++++++-- .../terraform/aws/ensureec2isebsoptimized.md | 8 ++++++-- .../aws/ensureecrrepositoriesareencrypted.md | 8 ++++++-- ...onitoringforamazonrdsinstancesisenabled.md | 8 ++++++-- ...olicyexpirespasswordswithin90daysorless.md | 8 ++++++-- ...eiampasswordpolicypreventspasswordreuse.md | 8 ++++++-- ...policyrequiresatleastonelowercaseletter.md | 8 ++++++-- ...mpasswordpolicyrequiresatleastonenumber.md | 8 ++++++-- ...mpasswordpolicyrequiresatleastonesymbol.md | 8 ++++++-- ...policyrequiresatleastoneuppercaseletter.md | 8 ++++++-- .../ensurekinesisstreamissecurelyencrypted.md | 8 ++++++-- ...erdsdatabasehasiamauthenticationenabled.md | 8 ++++++-- .../ensurerdsinstanceshavemultiazenabled.md | 8 ++++++-- ...surerespectivelogsofamazonrdsareenabled.md | 8 ++++++-- ...nsurethes3buckethasaccessloggingenabled.md | 8 ++++++-- ...evpcsubnetsdonotassignpublicipbydefault.md | 8 ++++++-- .../recipes/terraform/aws/immutableecrtags.md | 8 ++++++-- .../aws/usehttpsforcloudfrontdistribution.md | 8 ++++++-- .../terraform/azure/azurebestpractices.md | 11 +++++----- .../azure/disablekubernetesdashboard.md | 8 ++++++-- ...geaccounttrustedmicrosoftservicesaccess.md | 11 +++++----- ...nableazurestoragesecuretransferrequired.md | 8 ++++++-- ...legeoredundantbackupsonpostgresqlserver.md | 8 ++++++-- .../azure/encryptazurevmdatadiskwithadecmk.md | 8 ++++++-- ...vitylogretentionissetto365daysorgreater.md | 8 ++++++-- .../terraform/azure/ensureakspoliciesaddon.md | 8 ++++++-- ...ensureakvsecretshaveanexpirationdateset.md | 8 ++++++-- .../ensureallkeyshaveanexpirationdate.md | 8 ++++++-- ...eappserviceenablesdetailederrormessages.md | 8 ++++++-- ...reappserviceenablesfailedrequesttracing.md | 8 ++++++-- .../ensureappserviceenableshttplogging.md | 8 ++++++-- .../azure/ensureappservicesuseazurefiles.md | 8 ++++++-- ...ureasecuritycontactphonenumberispresent.md | 8 ++++++-- ...ureazureapplicationgatewayhaswafenabled.md | 8 ++++++-- ...ureappservicewebappredirectshttptohttps.md | 8 ++++++-- .../azure/ensureazurekeyvaultisrecoverable.md | 11 +++++----- ...nsgflowlogsretentionisgreaterthan90days.md | 8 ++++++-- ...atabaseserverwithsslconnectionisenabled.md | 8 ++++++-- ...verauditlogretentionisgreaterthan90days.md | 11 +++++----- ...uresqlserversendalertstofieldvalueisset.md | 8 ++++++-- ...ectionalertsareenabledforallthreattypes.md | 8 ++++++-- .../azure/ensureftpdeploymentsaredisabled.md | 8 ++++++-- ...surekeyvaultallowsfirewallrulessettings.md | 8 ++++++-- .../ensurekeyvaultenablespurgeprotection.md | 8 ++++++-- .../azure/ensurekeyvaultkeyisbackedbyhsm.md | 8 ++++++-- ...ensurekeyvaultsecretshavecontenttypeset.md | 8 ++++++-- ...ofileisconfiguredtocaptureallactivities.md | 8 ++++++-- ...identityproviderisenabledforappservices.md | 8 ++++++-- ...eemailserviceandcoadministratorsenabled.md | 8 ++++++-- ...lisusingthelatestversionoftlsencryption.md | 8 ++++++-- ...atabaseshaveenforcesslconnectionenabled.md | 8 ++++++-- ...emysqlserverdisablespublicnetworkaccess.md | 8 ++++++-- ...remysqlserverenablesgeoredundantbackups.md | 8 ++++++-- ...mysqlserverenablesthreatdetectionpolicy.md | 8 ++++++-- ...gresqlserverdisablespublicnetworkaccess.md | 8 ++++++-- ...qlserverenablesinfrastructureencryption.md | 8 ++++++-- ...resqlserverenablesthreatdetectionpolicy.md | 8 ++++++-- ...ccessenabledissettofalseformysqlservers.md | 8 ++++++-- ...ificationforhighseverityalertsisenabled.md | 8 ++++++-- ...nforhighseverityalertstoadminsisenabled.md | 8 ++++++-- .../ensurestandardpricingtierisselected.md | 8 ++++++-- ...nsurestorageaccountuseslatesttlsversion.md | 8 ++++++-- ...ringactivitylogsisnotpubliclyaccessible.md | 8 ++++++-- ...apphasincomingclientcertificatesenabled.md | 8 ++++++-- .../ensurewebappusesthelatestversionofhttp.md | 8 ++++++-- ...bappusesthelatestversionoftlsencryption.md | 8 ++++++-- ...torageaccountdefaultnetworkaccesstodeny.md | 11 +++++----- ...odsecuritypolicycontrollerongkeclusters.md | 8 ++++++-- ...enablevpcflowlogsandintranodevisibility.md | 8 ++++++-- .../gcp/enablevpcflowlogsforsubnetworks.md | 8 ++++++-- .../gcp/ensurebinaryauthorizationisused.md | 8 ++++++-- ...uteinstanceslaunchwithshieldedvmenabled.md | 8 ++++++-- ...twithuniformbucketlevelaccessareenabled.md | 8 ++++++-- ...ternodeautorepairconfigurationisenabled.md | 8 ++++++-- ...ycomputeenginemetadataendpointsdisabled.md | 8 ++++++-- ...veblockprojectwidesshkeysfeatureenabled.md | 8 ++++++-- ...ensureipforwardingoninstancesisdisabled.md | 8 ++++++-- ...isenabledwhencreatingkubernetesclusters.md | 8 ++++++-- ...esecurebootforshieldedgkenodesisenabled.md | 11 +++++----- .../gcp/ensureshieldedgkenodesareenabled.md | 8 ++++++-- .../ensurethegkemetadataserverisenabled.md | 11 +++++----- .../recipes/terraform/gcp/gcpbestpractices.md | 11 +++++----- docs/recipes/terraform/search/findresource.md | 17 +++++++++------- docs/recipes/terraform/securerandom.md | 8 ++++++-- docs/recipes/text/appendtotextfile.md | 14 ++++++++----- docs/recipes/text/changetext.md | 14 ++++++++----- docs/recipes/text/createtextfile.md | 14 ++++++++----- docs/recipes/text/endoflineatendoffile.md | 7 ++++++- docs/recipes/text/find.md | 14 ++++++++----- docs/recipes/text/findandreplace.md | 14 ++++++++----- docs/recipes/text/findmultiselect.md | 14 ++++++++----- .../transposecapitalization/spongebobcase.md | 8 ++++++-- docs/recipes/xml/addcommenttoxmltag.md | 14 ++++++++----- docs/recipes/xml/addorupdatechildtag.md | 14 ++++++++----- docs/recipes/xml/changenamespacevalue.md | 14 ++++++++----- docs/recipes/xml/changetagattribute.md | 14 ++++++++----- docs/recipes/xml/changetagname.md | 14 ++++++++----- docs/recipes/xml/changetagvalue.md | 14 ++++++++----- docs/recipes/xml/createxmlfile.md | 14 ++++++++----- docs/recipes/xml/format/autoformat.md | 7 ++++++- docs/recipes/xml/format/linebreaks.md | 7 ++++++- docs/recipes/xml/format/normalizeformat.md | 7 ++++++- .../recipes/xml/format/normalizelinebreaks.md | 7 ++++++- .../xml/format/normalizetabsorspaces.md | 7 ++++++- docs/recipes/xml/format/tabsandindents.md | 7 ++++++- .../recipes/xml/liberty/appddnamespacerule.md | 11 +++++++--- .../xml/liberty/connectorddnamespacerule.md | 11 +++++++--- .../recipes/xml/liberty/ejbddnamespacerule.md | 11 +++++++--- .../xml/liberty/persistencexmllocationrule.md | 9 +++++++-- .../recipes/xml/liberty/webddnamespacerule.md | 11 +++++++--- docs/recipes/xml/removeemptyxmltags.md | 7 ++++++- docs/recipes/xml/removetrailingwhitespace.md | 7 ++++++- docs/recipes/xml/removexmltag.md | 14 ++++++++----- .../recipes/xml/search/findnamespaceprefix.md | 14 ++++++++----- docs/recipes/xml/search/findtags.md | 14 ++++++++----- docs/recipes/xml/search/hasnamespaceuri.md | 14 ++++++++----- .../security/addowaspdateboundsuppressions.md | 9 +++++++-- .../xml/security/isowaspsuppressionsfile.md | 7 ++++++- .../xml/security/removeowaspsuppressions.md | 7 ++++++- .../security/updateowaspsuppressiondate.md | 14 ++++++++----- docs/recipes/xml/style/autodetectdebug.md | 7 ++++++- docs/recipes/xml/xslttransformation.md | 14 ++++++++----- docs/recipes/yaml/appendtosequence.md | 14 ++++++++----- docs/recipes/yaml/changekey.md | 14 ++++++++----- docs/recipes/yaml/changepropertykey.md | 14 ++++++++----- docs/recipes/yaml/changepropertyvalue.md | 14 ++++++++----- docs/recipes/yaml/changevalue.md | 14 ++++++++----- docs/recipes/yaml/cleanup/removeunused.md | 7 ++++++- docs/recipes/yaml/coalesceproperties.md | 7 ++++++- docs/recipes/yaml/commentoutproperty.md | 14 ++++++++----- docs/recipes/yaml/copyvalue.md | 14 ++++++++----- docs/recipes/yaml/createyamlfile.md | 14 ++++++++----- docs/recipes/yaml/deletekey.md | 14 ++++++++----- docs/recipes/yaml/deleteproperty.md | 14 ++++++++----- docs/recipes/yaml/format/indents.md | 7 ++++++- docs/recipes/yaml/mergeyaml.md | 14 ++++++++----- docs/recipes/yaml/search/findkey.md | 14 ++++++++----- docs/recipes/yaml/search/findproperty.md | 14 ++++++++----- docs/reference/moderne-recipes.md | 2 +- 2922 files changed, 20790 insertions(+), 7458 deletions(-) diff --git a/docs/recipes/ai/findcommentslanguage.md b/docs/recipes/ai/findcommentslanguage.md index 953c641834..cf7f1ed6e9 100644 --- a/docs/recipes/ai/findcommentslanguage.md +++ b/docs/recipes/ai/findcommentslanguage.md @@ -13,12 +13,16 @@ _Finds all comments and uses AI to predict which language the comment is in._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-ai-search/blob/main/src/main/java/io/moderne/ai/FindCommentsLanguage.java), [Issue Tracker](https://github.com/openrewrite/rewrite-ai-search/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-ai-search/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-ai-search` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/ai/fixmisencodedcommentsinfrench.md b/docs/recipes/ai/fixmisencodedcommentsinfrench.md index fddaca5a4b..ccde783201 100644 --- a/docs/recipes/ai/fixmisencodedcommentsinfrench.md +++ b/docs/recipes/ai/fixmisencodedcommentsinfrench.md @@ -17,15 +17,16 @@ _Fixes mis-encoded French comments in your code, javadocs and in your pom.xml fi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-ai-search/blob/main/src/main/resources/META-INF/rewrite/misencoded-french.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-ai-search/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-ai-search/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-ai-search` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/ai/listallmethodsused.md b/docs/recipes/ai/listallmethodsused.md index 049d984614..3337c95c55 100644 --- a/docs/recipes/ai/listallmethodsused.md +++ b/docs/recipes/ai/listallmethodsused.md @@ -13,12 +13,16 @@ _List all methods used in any Java source file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-ai-search/blob/main/src/main/java/io/moderne/ai/ListAllMethodsUsed.java), [Issue Tracker](https://github.com/openrewrite/rewrite-ai-search/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-ai-search/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-ai-search` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/ai/research/findcodethatresembles.md b/docs/recipes/ai/research/findcodethatresembles.md index b19725edd5..e5ac94e450 100644 --- a/docs/recipes/ai/research/findcodethatresembles.md +++ b/docs/recipes/ai/research/findcodethatresembles.md @@ -13,7 +13,7 @@ _This recipe uses two phase AI approach to find a method invocation that resembl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-ai-search/blob/main/src/main/java/io/moderne/ai/research/FindCodeThatResembles.java), [Issue Tracker](https://github.com/openrewrite/rewrite-ai-search/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-ai-search/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _This recipe uses two phase AI approach to find a method invocation that resembl | `String` | resembles | The text, either a natural language description or a code sample, that you are looking for. | `HTTP request with Content-Type application/json` | | `int` | k | Since AI based matching has a higher latency than rules based matching, we do a first pass to find the top k methods using embeddings. To narrow the scope, you can specify the top k methods as method filters. | `5` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindCodeThatResemblesExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindCodeThatResemblesExample displayName: Find method invocations that resemble a pattern example recipeList: - - io.moderne.ai.research.FindCodeThatResembles: + - io.moderne.ai.research.FindCodeThatResembles: resembles: HTTP request with Content-Type application/json k: 5 ``` -Now that `com.yourorg.FindCodeThatResemblesExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-ai-search:{{VERSION_REWRITE_AI_SEARCH}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/ai/research/getcodeembedding.md b/docs/recipes/ai/research/getcodeembedding.md index ddaa38b9b2..d0680843c5 100644 --- a/docs/recipes/ai/research/getcodeembedding.md +++ b/docs/recipes/ai/research/getcodeembedding.md @@ -13,7 +13,7 @@ _This recipe calls an AI model to get an embedding for either classes or methods ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-ai-search/blob/main/src/main/java/io/moderne/ai/research/GetCodeEmbedding.java), [Issue Tracker](https://github.com/openrewrite/rewrite-ai-search/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-ai-search/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,25 +21,28 @@ _This recipe calls an AI model to get an embedding for either classes or methods | -- | -- | -- | -- | | `String` | codeSnippetType | Choose whether you want to get an embedding for the classes or methods. Valid options: `methods`, `classes` | `methods` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.GetCodeEmbeddingExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.GetCodeEmbeddingExample displayName: Get embeddings for code snippets in code example recipeList: - - io.moderne.ai.research.GetCodeEmbedding: + - io.moderne.ai.research.GetCodeEmbedding: codeSnippetType: methods ``` -Now that `com.yourorg.GetCodeEmbeddingExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-ai-search:{{VERSION_REWRITE_AI_SEARCH}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/ai/research/getrecommendations.md b/docs/recipes/ai/research/getrecommendations.md index b17290a855..dfec0a43bb 100644 --- a/docs/recipes/ai/research/getrecommendations.md +++ b/docs/recipes/ai/research/getrecommendations.md @@ -13,7 +13,7 @@ _This recipe calls an AI model to get recommendations for modernizing the code b ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-ai-search/blob/main/src/main/java/io/moderne/ai/research/GetRecommendations.java), [Issue Tracker](https://github.com/openrewrite/rewrite-ai-search/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-ai-search/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _This recipe calls an AI model to get recommendations for modernizing the code b | `Boolean` | randomSampling | Do random sampling or use clusters based on embeddings to sample. | | | `int` | numberOfCenters | *Optional*. Number of diverse centers to sample if you don't do random sampling per repository. | `3` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.GetRecommendationsExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.GetRecommendationsExample displayName: Get recommendations example recipeList: - - io.moderne.ai.research.GetRecommendations: + - io.moderne.ai.research.GetRecommendations: randomSampling: null numberOfCenters: 3 ``` -Now that `com.yourorg.GetRecommendationsExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-ai-search:{{VERSION_REWRITE_AI_SEARCH}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/ai/spellcheckcommentsinfrench.md b/docs/recipes/ai/spellcheckcommentsinfrench.md index c13f8bf4d0..e4903a9c09 100644 --- a/docs/recipes/ai/spellcheckcommentsinfrench.md +++ b/docs/recipes/ai/spellcheckcommentsinfrench.md @@ -13,12 +13,16 @@ _Use spellchecker to fix mis-encoded French comments. Mis-encoded comments will ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-ai-search/blob/main/src/main/java/io/moderne/ai/SpellCheckCommentsInFrench.java), [Issue Tracker](https://github.com/openrewrite/rewrite-ai-search/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-ai-search/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-ai-search` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/ai/spellcheckcommentsinfrenchpomxml.md b/docs/recipes/ai/spellcheckcommentsinfrenchpomxml.md index 95cee73ae7..33344c10c1 100644 --- a/docs/recipes/ai/spellcheckcommentsinfrenchpomxml.md +++ b/docs/recipes/ai/spellcheckcommentsinfrenchpomxml.md @@ -13,12 +13,16 @@ _Use spellchecker to fix mis-encoded French comments in pom.xml files. Mis-encod ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-ai-search/blob/main/src/main/java/io/moderne/ai/SpellCheckCommentsInFrenchPomXml.java), [Issue Tracker](https://github.com/openrewrite/rewrite-ai-search/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-ai-search/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-ai-search` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/ai/timefold/solver/migration/changeversion.md b/docs/recipes/ai/timefold/solver/migration/changeversion.md index 73e59d04e0..623a636338 100644 --- a/docs/recipes/ai/timefold/solver/migration/changeversion.md +++ b/docs/recipes/ai/timefold/solver/migration/changeversion.md @@ -13,11 +13,16 @@ _Replaces the version of Timefold_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.ChangeVersion), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.ChangeVersion), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -92,7 +97,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/fork/timefoldchangedependencies.md b/docs/recipes/ai/timefold/solver/migration/fork/timefoldchangedependencies.md index 0eb1f849ad..02fe863e3a 100644 --- a/docs/recipes/ai/timefold/solver/migration/fork/timefoldchangedependencies.md +++ b/docs/recipes/ai/timefold/solver/migration/fork/timefoldchangedependencies.md @@ -13,11 +13,16 @@ _Migrate all Maven and Gradle groupIds and artifactIds from OptaPlanner to Timef ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.fork.TimefoldChangeDependencies), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.fork.TimefoldChangeDependencies), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -1522,7 +1527,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/fromoptaplannertotimefoldsolver.md b/docs/recipes/ai/timefold/solver/migration/fromoptaplannertotimefoldsolver.md index 341a2741a8..8d98bed776 100644 --- a/docs/recipes/ai/timefold/solver/migration/fromoptaplannertotimefoldsolver.md +++ b/docs/recipes/ai/timefold/solver/migration/fromoptaplannertotimefoldsolver.md @@ -13,11 +13,16 @@ _Replaces your method/field calls, GAVs, etc. To replace deprecated methods too, ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.FromOptaPlannerToTimefoldSolver), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.FromOptaPlannerToTimefoldSolver), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -240,7 +245,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/tolatest.md b/docs/recipes/ai/timefold/solver/migration/tolatest.md index d686a29d0a..91ea7062dd 100644 --- a/docs/recipes/ai/timefold/solver/migration/tolatest.md +++ b/docs/recipes/ai/timefold/solver/migration/tolatest.md @@ -13,11 +13,16 @@ _Replace all your calls to deleted/deprecated types and methods of Timefold Solv ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.ToLatest), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.ToLatest), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -104,7 +109,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/v8/asconstraintrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/asconstraintrecipe.md index 15555298f5..e51c3ea15c 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/asconstraintrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/asconstraintrecipe.md @@ -13,12 +13,17 @@ _Use `penalize().asConstraint()` and `reward().asConstraint()` instead of the de ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.AsConstraintRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.AsConstraintRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/v8/constraintrefrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/constraintrefrecipe.md index 47c8a25f0e..82895a29f3 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/constraintrefrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/constraintrefrecipe.md @@ -13,12 +13,17 @@ _Use `getConstraintRef()` instead of `getConstraintId()` et al._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.ConstraintRefRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.ConstraintRefRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/v8/nullablerecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/nullablerecipe.md index f7bc503b45..cbb67c7425 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/nullablerecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/nullablerecipe.md @@ -13,11 +13,16 @@ _Removes references to null vars and replace them with unassigned values._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.NullableRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.NullableRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -116,7 +121,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/v8/removeconstraintpackagerecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/removeconstraintpackagerecipe.md index 176fabf6e3..baf86e3534 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/removeconstraintpackagerecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/removeconstraintpackagerecipe.md @@ -13,12 +13,17 @@ _Remove the use of constraint package from `asConstraint(package, name)`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.RemoveConstraintPackageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.RemoveConstraintPackageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/v8/scoregettersrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/scoregettersrecipe.md index bac5dd78f8..fc24fc08e9 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/scoregettersrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/scoregettersrecipe.md @@ -13,12 +13,17 @@ _Use `score()` instead of `getScore()` on `Score` implementations._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.ScoreGettersRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.ScoreGettersRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/v8/scoremanagermethodsrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/scoremanagermethodsrecipe.md index 53dce27356..c2db8a3c5e 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/scoremanagermethodsrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/scoremanagermethodsrecipe.md @@ -13,12 +13,17 @@ _Use `explain()` and `update()` instead of `explainScore()`, `updateScore()` ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.ScoreManagerMethodsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.ScoreManagerMethodsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/v8/singleconstraintassertionmethodsrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/singleconstraintassertionmethodsrecipe.md index fcfd16434c..da48fc69c6 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/singleconstraintassertionmethodsrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/singleconstraintassertionmethodsrecipe.md @@ -13,11 +13,16 @@ _Use `penalizesBy/rewardsWith(String, int)` instead of `penalizesBy/rewardsWith( ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.SingleConstraintAssertionMethodsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.SingleConstraintAssertionMethodsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/v8/solutionmanagerrecommendassignmentrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/solutionmanagerrecommendassignmentrecipe.md index 2c8f039633..e5aa86c904 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/solutionmanagerrecommendassignmentrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/solutionmanagerrecommendassignmentrecipe.md @@ -13,11 +13,16 @@ _Use recommendAssignment() instead of recommendFit()._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.SolutionManagerRecommendAssignmentRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.SolutionManagerRecommendAssignmentRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/ai/timefold/solver/migration/v8/solvermanagerbuilderrecipe.md b/docs/recipes/ai/timefold/solver/migration/v8/solvermanagerbuilderrecipe.md index 141d7498af..5d3a9dfc08 100644 --- a/docs/recipes/ai/timefold/solver/migration/v8/solvermanagerbuilderrecipe.md +++ b/docs/recipes/ai/timefold/solver/migration/v8/solvermanagerbuilderrecipe.md @@ -13,12 +13,17 @@ _Use `solveBuilder()` instead of deprecated solve methods on `SolveManager`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.SolverManagerBuilderRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=ai.timefold.solver.migration.v8.SolverManagerBuilderRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/analysis/controlflow/controlflowvisualization.md b/docs/recipes/analysis/controlflow/controlflowvisualization.md index c7ab4513ff..bd0c36c59c 100644 --- a/docs/recipes/analysis/controlflow/controlflowvisualization.md +++ b/docs/recipes/analysis/controlflow/controlflowvisualization.md @@ -13,18 +13,23 @@ _Visualize the control flow of a Java program._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-analysis/blob/main/src/main/java/org/openrewrite/analysis/controlflow/ControlFlowVisualization.java), [Issue Tracker](https://github.com/openrewrite/rewrite-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.meta/rewrite-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-analysis/blob/main/src/main/java/org/openrewrite/analysis/controlflow/ControlFlowVisualization.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.meta/rewrite-analysis/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `boolean` | includeDotfile | Also output with a Dotfile which can be then later visualized by Graphviz. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ControlFlowVisualizationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ControlFlowVisualizationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ControlFlowVisualizationExample displayName: Control Flow Visualization example recipeList: - - org.openrewrite.analysis.controlflow.ControlFlowVisualization: - includeDotfile: false + - org.openrewrite.analysis.controlflow.ControlFlowVisualization: includeDotfile: false ``` Now that `com.yourorg.ControlFlowVisualizationExample` has been defined, activate it and take a dependency on `org.openrewrite.meta:rewrite-analysis:{{VERSION_REWRITE_ANALYSIS}}` in your build file: diff --git a/docs/recipes/analysis/search/findflowbetweenmethods.md b/docs/recipes/analysis/search/findflowbetweenmethods.md index a01b74bd9b..1f9d2d983a 100644 --- a/docs/recipes/analysis/search/findflowbetweenmethods.md +++ b/docs/recipes/analysis/search/findflowbetweenmethods.md @@ -13,8 +13,9 @@ _Takes two patterns for the start/end methods to find flow between._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-analysis/blob/main/src/main/java/org/openrewrite/analysis/search/FindFlowBetweenMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.meta/rewrite-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-analysis/blob/main/src/main/java/org/openrewrite/analysis/search/FindFlowBetweenMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.meta/rewrite-analysis/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Takes two patterns for the start/end methods to find flow between._ | `String` | target | The part of the method flow should traverse to Valid options: `Select`, `Arguments`, `Both` | | | `String` | flow | When enabled, show the data or taint flow of the method invocation. Valid options: `Data`, `Taint` | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindFlowBetweenMethodsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindFlowBetweenMethodsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindFlowBetweenMethodsExample displayName: Finds flow between two methods example recipeList: - - org.openrewrite.analysis.search.FindFlowBetweenMethods: - startMethodPattern: java.util.List add(..) + - org.openrewrite.analysis.search.FindFlowBetweenMethods: startMethodPattern: java.util.List add(..) endMethodPattern: java.util.List add(..) target: null flow: null diff --git a/docs/recipes/analysis/search/findmethods.md b/docs/recipes/analysis/search/findmethods.md index 73e73b8c3e..b71eec76aa 100644 --- a/docs/recipes/analysis/search/findmethods.md +++ b/docs/recipes/analysis/search/findmethods.md @@ -13,8 +13,9 @@ _Find method usages by pattern._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-analysis/blob/main/src/main/java/org/openrewrite/analysis/search/FindMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.meta/rewrite-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-analysis/blob/main/src/main/java/org/openrewrite/analysis/search/FindMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.meta/rewrite-analysis/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Find method usages by pattern._ | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | | | `String` | flow | *Optional*. When enabled, show the data or taint flow of the method invocation. Valid options: `none`, `data`, `taint` | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMethodsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMethodsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindMethodsExample displayName: Find method usages example recipeList: - - org.openrewrite.analysis.search.FindMethods: - methodPattern: java.util.List add(..) + - org.openrewrite.analysis.search.FindMethods: methodPattern: java.util.List add(..) ``` Now that `com.yourorg.FindMethodsExample` has been defined, activate it and take a dependency on `org.openrewrite.meta:rewrite-analysis:{{VERSION_REWRITE_ANALYSIS}}` in your build file: diff --git a/docs/recipes/analysis/search/uricreatedwithhttpscheme.md b/docs/recipes/analysis/search/uricreatedwithhttpscheme.md index a2c829a8bc..e377936caf 100644 --- a/docs/recipes/analysis/search/uricreatedwithhttpscheme.md +++ b/docs/recipes/analysis/search/uricreatedwithhttpscheme.md @@ -13,12 +13,17 @@ _This is a sample recipe demonstrating a simple application of local data flow a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-analysis/blob/main/src/main/java/org/openrewrite/analysis/search/UriCreatedWithHttpScheme.java), [Issue Tracker](https://github.com/openrewrite/rewrite-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.meta/rewrite-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-analysis/blob/main/src/main/java/org/openrewrite/analysis/search/UriCreatedWithHttpScheme.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.meta/rewrite-analysis/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.meta:rewrite-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.meta:rewrite-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/android/changeandroidsdkversion.md b/docs/recipes/android/changeandroidsdkversion.md index 1a1f976233..04389ef07d 100644 --- a/docs/recipes/android/changeandroidsdkversion.md +++ b/docs/recipes/android/changeandroidsdkversion.md @@ -13,7 +13,7 @@ _Change `compileSdk`, `compileSdkVersion`, `targetSdk` and `targetSdkVersion` in ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/java/org/openrewrite/android/ChangeAndroidSdkVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,25 +21,28 @@ _Change `compileSdk`, `compileSdkVersion`, `targetSdk` and `targetSdkVersion` in | -- | -- | -- | -- | | `Integer` | version | The version of the Android SDK to use. | `35` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeAndroidSdkVersionExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeAndroidSdkVersionExample displayName: Change Android SDK version example recipeList: - - org.openrewrite.android.ChangeAndroidSdkVersion: + - org.openrewrite.android.ChangeAndroidSdkVersion: version: 35 ``` -Now that `com.yourorg.ChangeAndroidSdkVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-android:{{VERSION_REWRITE_ANDROID}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/android/migratetoandroidgradleplugin_7_2.md b/docs/recipes/android/migratetoandroidgradleplugin_7_2.md index 7940767025..8d87e00f05 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_7_2.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_7_2.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 7.2._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-7.2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/migratetoandroidgradleplugin_7_3.md b/docs/recipes/android/migratetoandroidgradleplugin_7_3.md index d65083d22b..3527ae5a79 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_7_3.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_7_3.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 7.3._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-7.3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/migratetoandroidgradleplugin_7_4.md b/docs/recipes/android/migratetoandroidgradleplugin_7_4.md index 2702f0e93f..80af6da29f 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_7_4.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_7_4.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 7.4._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-7.4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/migratetoandroidgradleplugin_8_0.md b/docs/recipes/android/migratetoandroidgradleplugin_8_0.md index cacea37696..2458c6de02 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_8_0.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_8_0.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 8.0._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-8.0.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/migratetoandroidgradleplugin_8_1.md b/docs/recipes/android/migratetoandroidgradleplugin_8_1.md index 8dc7b1fb0e..c57a55d98c 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_8_1.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_8_1.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 8.1._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-8.1.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/migratetoandroidgradleplugin_8_2.md b/docs/recipes/android/migratetoandroidgradleplugin_8_2.md index f99ca98cf3..dd1144dcba 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_8_2.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_8_2.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 8.2._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-8.2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/migratetoandroidgradleplugin_8_3.md b/docs/recipes/android/migratetoandroidgradleplugin_8_3.md index e0840a3dab..14d73c1b63 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_8_3.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_8_3.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 8.3._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-8.3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/migratetoandroidgradleplugin_8_4.md b/docs/recipes/android/migratetoandroidgradleplugin_8_4.md index 3784b5a3ba..23e3ba7a25 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_8_4.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_8_4.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 8.4._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-8.4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/migratetoandroidgradleplugin_8_5.md b/docs/recipes/android/migratetoandroidgradleplugin_8_5.md index ecc78e5384..519edbf8ac 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_8_5.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_8_5.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 8.5._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-8.5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/migratetoandroidgradleplugin_8_6.md b/docs/recipes/android/migratetoandroidgradleplugin_8_6.md index a3cebe04e0..ee3abecba2 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_8_6.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_8_6.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 8.6._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-8.6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/migratetoandroidgradleplugin_8_7.md b/docs/recipes/android/migratetoandroidgradleplugin_8_7.md index 883a1a858c..c7b76a4c33 100644 --- a/docs/recipes/android/migratetoandroidgradleplugin_8_7.md +++ b/docs/recipes/android/migratetoandroidgradleplugin_8_7.md @@ -13,12 +13,16 @@ _Recipes to migrate to Android Gradle Plugin version 8.7._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/agp-8.7.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/upgradeandroidgradlepluginversion.md b/docs/recipes/android/upgradeandroidgradlepluginversion.md index 60fe1b68c8..14d8f3d2b7 100644 --- a/docs/recipes/android/upgradeandroidgradlepluginversion.md +++ b/docs/recipes/android/upgradeandroidgradlepluginversion.md @@ -13,11 +13,8 @@ _Upgrade Android Gradle Plugin (AGP) version and update the Gradle Wrapper versi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/java/org/openrewrite/android/UpgradeAndroidGradlePluginVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Options | Type | Name | Description | Example | @@ -25,26 +22,29 @@ This recipe is composed of more than one recipe. If you want to customize the se | `String` | agpVersion | The version of the Android Gradle Plugin to use. | `8.6.x` | | `String` | gradleWrapperVersion | The version of the Gradle Wrapper to use. | `(8.7, 9]` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeAndroidGradlePluginVersionExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeAndroidGradlePluginVersionExample displayName: Upgrade Android Gradle Plugin (AGP) version example recipeList: - - org.openrewrite.android.UpgradeAndroidGradlePluginVersion: + - org.openrewrite.android.UpgradeAndroidGradlePluginVersion: agpVersion: 8.6.x gradleWrapperVersion: (8.7, 9] ``` -Now that `com.yourorg.UpgradeAndroidGradlePluginVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-android:{{VERSION_REWRITE_ANDROID}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/android/upgradetoandroidsdk33.md b/docs/recipes/android/upgradetoandroidsdk33.md index 93ec4bb098..d15a256beb 100644 --- a/docs/recipes/android/upgradetoandroidsdk33.md +++ b/docs/recipes/android/upgradetoandroidsdk33.md @@ -13,15 +13,16 @@ _Recipes to upgrade to Android SDK version 33._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/android-sdk-33.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/upgradetoandroidsdk34.md b/docs/recipes/android/upgradetoandroidsdk34.md index ed79b21628..0567f9b86e 100644 --- a/docs/recipes/android/upgradetoandroidsdk34.md +++ b/docs/recipes/android/upgradetoandroidsdk34.md @@ -13,15 +13,16 @@ _Recipes to upgrade to Android SDK version 34._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/android-sdk-34.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/android/upgradetoandroidsdk35.md b/docs/recipes/android/upgradetoandroidsdk35.md index 047ca1dbf7..26590089bf 100644 --- a/docs/recipes/android/upgradetoandroidsdk35.md +++ b/docs/recipes/android/upgradetoandroidsdk35.md @@ -13,15 +13,16 @@ _Recipes to upgrade to Android SDK version 35._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-android/blob/main/src/main/resources/META-INF/rewrite/android-sdk-35.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-android/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-android/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-android` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/apache/commons/codec/apachebase64tojavabase64.md b/docs/recipes/apache/commons/codec/apachebase64tojavabase64.md index 6e568c5793..a975dc3701 100644 --- a/docs/recipes/apache/commons/codec/apachebase64tojavabase64.md +++ b/docs/recipes/apache/commons/codec/apachebase64tojavabase64.md @@ -18,12 +18,17 @@ _Prefer the Java standard library's `java.util.Base64` over third-party usage of ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/codec/ApacheBase64ToJavaBase64.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/codec/ApacheBase64ToJavaBase64.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/collections/upgradeapachecommonscollections_3_4.md b/docs/recipes/apache/commons/collections/upgradeapachecommonscollections_3_4.md index 397f04fc0c..0965b01cdc 100644 --- a/docs/recipes/apache/commons/collections/upgradeapachecommonscollections_3_4.md +++ b/docs/recipes/apache/commons/collections/upgradeapachecommonscollections_3_4.md @@ -19,11 +19,16 @@ _Migrate applications to the latest Apache Commons Collections 4.x release. This ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-collections-3-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-collections-3-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -102,7 +107,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$getfilerecipe.md b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$getfilerecipe.md index a1b34d851f..32a16820d7 100644 --- a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$getfilerecipe.md +++ b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$getfilerecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `FileUtils.getFile(String... name)` with JDK provided AP ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/io/ApacheCommonsFileUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/io/ApacheCommonsFileUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$writestringtofilerecipe.md b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$writestringtofilerecipe.md index 96da7108f0..a47614dfa8 100644 --- a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$writestringtofilerecipe.md +++ b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes$writestringtofilerecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `FileUtils.writeStringToFile(File file, String data)` wi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/io/ApacheCommonsFileUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/io/ApacheCommonsFileUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes.md b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes.md index e3f45edddf..3acf76f253 100644 --- a/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes.md +++ b/docs/recipes/apache/commons/io/apachecommonsfileutilsrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `org.openrewrite.apache.commons.io.ApacheCommonsF ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/io/ApacheCommonsFileUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/io/ApacheCommonsFileUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/io/apachefileutilstojavafiles.md b/docs/recipes/apache/commons/io/apachefileutilstojavafiles.md index 01976d3e21..78c0879189 100644 --- a/docs/recipes/apache/commons/io/apachefileutilstojavafiles.md +++ b/docs/recipes/apache/commons/io/apachefileutilstojavafiles.md @@ -18,12 +18,17 @@ _Prefer the Java standard library's `java.nio.file.Files` over third-party usage ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/io/ApacheFileUtilsToJavaFiles.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/io/ApacheFileUtilsToJavaFiles.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md b/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md index 0b40fabf8d..de2817c03a 100644 --- a/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md +++ b/docs/recipes/apache/commons/io/apacheioutilsuseexplicitcharset.md @@ -18,18 +18,23 @@ _Use `IOUtils` method invocations that include the charset encoding instead of u ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/io/ApacheIOUtilsUseExplicitCharset.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/io/ApacheIOUtilsUseExplicitCharset.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | encoding | *Optional*. The default encoding to use, must be a standard charset. | `UTF_8` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/io/relocateapachecommonsio.md b/docs/recipes/apache/commons/io/relocateapachecommonsio.md index 00d3227eab..dbf0e8b961 100644 --- a/docs/recipes/apache/commons/io/relocateapachecommonsio.md +++ b/docs/recipes/apache/commons/io/relocateapachecommonsio.md @@ -19,7 +19,12 @@ _The deployment of `org.apache.commons:commons-io` [was a publishing mistake aro ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-io.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-io.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -59,7 +64,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/io/usestandardcharsets.md b/docs/recipes/apache/commons/io/usestandardcharsets.md index f43483ae91..558be779dd 100644 --- a/docs/recipes/apache/commons/io/usestandardcharsets.md +++ b/docs/recipes/apache/commons/io/usestandardcharsets.md @@ -18,11 +18,16 @@ _Prefer the Java standard library's `java.nio.charset.StandardCharsets` over thi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-io.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-io.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -86,7 +91,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/io/usesystemlineseparator.md b/docs/recipes/apache/commons/io/usesystemlineseparator.md index d72c7171f3..b83a6a7dd3 100644 --- a/docs/recipes/apache/commons/io/usesystemlineseparator.md +++ b/docs/recipes/apache/commons/io/usesystemlineseparator.md @@ -18,7 +18,12 @@ _Prefer the Java standard library's `System.lineSeparator()` over third-party us ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-io.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-io.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -57,7 +62,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$abbreviaterecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$abbreviaterecipe.md index c3bcdf9e36..6a02b086ef 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$abbreviaterecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$abbreviaterecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.abbreviate(String str, int maxWidth)` with ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$capitalizerecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$capitalizerecipe.md index d158c10c40..e56aa81461 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$capitalizerecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$capitalizerecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.capitalize(String str)` with JDK provided A ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringfallbackrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringfallbackrecipe.md index 41f1d5c7bd..39d1c972fc 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringfallbackrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringfallbackrecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.defaultString(String str, String nullDefaul ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringrecipe.md index 565d564024..f8adb2a022 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$defaultstringrecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.defaultString(String str)` with JDK provide ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$deletewhitespacerecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$deletewhitespacerecipe.md index 43101a5481..6293109e2d 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$deletewhitespacerecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$deletewhitespacerecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.deleteWhitespace(String str)` with JDK prov ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsignorecaserecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsignorecaserecipe.md index 63ce8c39c3..0f57414bb2 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsignorecaserecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsignorecaserecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.equalsIgnoreCase(CharSequence cs1, CharSequ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsrecipe.md index 3a2c4d2fc4..f8fcbcf585 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$equalsrecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.equals(CharSequence cs1, CharSequence cs2)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$lowercaserecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$lowercaserecipe.md index 4ac726fc58..427a3b7d24 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$lowercaserecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$lowercaserecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.lowerCase(String str)` with JDK provided AP ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$removeendrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$removeendrecipe.md index a332db0d85..57f31f0182 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$removeendrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$removeendrecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.removeEnd(String str, String remove)` with ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$replacerecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$replacerecipe.md index bb35b20762..43572fb379 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$replacerecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$replacerecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.replace(String text, String searchString, S ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$reverserecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$reverserecipe.md index f538908b98..f7c8f1241c 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$reverserecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$reverserecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.reverse(String str)` with JDK provided API. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$splitrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$splitrecipe.md index 918ec379e2..aadfd03e54 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$splitrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$splitrecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.split(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$striprecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$striprecipe.md index 86c5cdc320..98e15c95f8 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$striprecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$striprecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.strip(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimrecipe.md index 53cf87d509..34ec675bb3 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimrecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.trim(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtoemptyrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtoemptyrecipe.md index 772ed18452..421b750179 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtoemptyrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtoemptyrecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.trimToEmpty(String str)` with JDK provided ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtonullrecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtonullrecipe.md index 50ca6cfb50..19c2bfe70d 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtonullrecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$trimtonullrecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.trimToNull(String str)` with JDK provided A ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$uppercaserecipe.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$uppercaserecipe.md index 79faa65eff..6f6138cb25 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$uppercaserecipe.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes$uppercaserecipe.md @@ -13,12 +13,17 @@ _Replace Apache Commons `StringUtils.upperCase(String str)` with JDK internals._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes.md b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes.md index dc55f60908..770b2c22c8 100644 --- a/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes.md +++ b/docs/recipes/apache/commons/lang/apachecommonsstringutilsrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `org.openrewrite.apache.commons.lang.ApacheCommon ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/ApacheCommonsStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -76,7 +81,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/isnotemptytojdk.md b/docs/recipes/apache/commons/lang/isnotemptytojdk.md index 8865a99277..e698f1b57b 100644 --- a/docs/recipes/apache/commons/lang/isnotemptytojdk.md +++ b/docs/recipes/apache/commons/lang/isnotemptytojdk.md @@ -18,12 +18,17 @@ _Replace any `StringUtils#isEmpty(String)` and `#isNotEmpty(String)` with `s == ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/IsNotEmptyToJdk.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/commons/lang/IsNotEmptyToJdk.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/lang/upgradeapachecommonslang_2_3.md b/docs/recipes/apache/commons/lang/upgradeapachecommonslang_2_3.md index 7835186dcb..3e0f767f05 100644 --- a/docs/recipes/apache/commons/lang/upgradeapachecommonslang_2_3.md +++ b/docs/recipes/apache/commons/lang/upgradeapachecommonslang_2_3.md @@ -19,11 +19,16 @@ _Migrate applications to the latest Apache Commons Lang 3.x release. This recipe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-lang-2-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-lang-2-3.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/commons/math/upgradeapachecommonsmath_2_3.md b/docs/recipes/apache/commons/math/upgradeapachecommonsmath_2_3.md index f80d86ecbd..8bd199af53 100644 --- a/docs/recipes/apache/commons/math/upgradeapachecommonsmath_2_3.md +++ b/docs/recipes/apache/commons/math/upgradeapachecommonsmath_2_3.md @@ -19,11 +19,16 @@ _Migrate applications to the latest Apache Commons Math 3.x release. This recipe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-math-2-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-commons-math-2-3.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -82,7 +87,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient4/mappingdeprecatedclasses.md b/docs/recipes/apache/httpclient4/mappingdeprecatedclasses.md index a4696fa663..6c3d62d216 100644 --- a/docs/recipes/apache/httpclient4/mappingdeprecatedclasses.md +++ b/docs/recipes/apache/httpclient4/mappingdeprecatedclasses.md @@ -13,11 +13,16 @@ _Uses new classes/methods instead of the deprecated ones_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-4-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-4-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient4/migratedefaulthttpclient.md b/docs/recipes/apache/httpclient4/migratedefaulthttpclient.md index 1aa39ba01c..c3f73f2da2 100644 --- a/docs/recipes/apache/httpclient4/migratedefaulthttpclient.md +++ b/docs/recipes/apache/httpclient4/migratedefaulthttpclient.md @@ -17,12 +17,17 @@ _Since `DefaultHttpClient` is deprecated, we need to change it to the `Closeable ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient4/MigrateDefaultHttpClient.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient4/MigrateDefaultHttpClient.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient4/upgradeapachehttpclient_4_5.md b/docs/recipes/apache/httpclient4/upgradeapachehttpclient_4_5.md index 81b2fc7186..660b91c869 100644 --- a/docs/recipes/apache/httpclient4/upgradeapachehttpclient_4_5.md +++ b/docs/recipes/apache/httpclient4/upgradeapachehttpclient_4_5.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Apache HttpClient 4.5.x release. This recipe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-4-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-4-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient5/addtimeunitargument.md b/docs/recipes/apache/httpclient5/addtimeunitargument.md index f36d05d177..81daa036b1 100644 --- a/docs/recipes/apache/httpclient5/addtimeunitargument.md +++ b/docs/recipes/apache/httpclient5/addtimeunitargument.md @@ -13,8 +13,9 @@ _In Apache Http Client 5.x migration, an extra TimeUnit argument is required in ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/AddTimeUnitArgument.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/AddTimeUnitArgument.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _In Apache Http Client 5.x migration, an extra TimeUnit argument is required in | `String` | methodPattern | A [method pattern](/reference/method-patterns) that is used to find matching method invocations. | `org.apache.http.client.config.RequestConfig.Builder setConnectionRequestTimeout(int)` | | `TimeUnit` | timeUnit | *Optional*. The TimeUnit enum value we want to add to the method invocation. Defaults to `MILLISECONDS`. | `MILLISECONDS` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddTimeUnitArgumentExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddTimeUnitArgumentExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddTimeUnitArgumentExample displayName: Adds a TimeUnit argument to the matched method invocations example recipeList: - - org.openrewrite.apache.httpclient5.AddTimeUnitArgument: - methodPattern: org.apache.http.client.config.RequestConfig.Builder setConnectionRequestTimeout(int) + - org.openrewrite.apache.httpclient5.AddTimeUnitArgument: methodPattern: org.apache.http.client.config.RequestConfig.Builder setConnectionRequestTimeout(int) timeUnit: MILLISECONDS ``` diff --git a/docs/recipes/apache/httpclient5/migrateauthscope.md b/docs/recipes/apache/httpclient5/migrateauthscope.md index 4830900823..b11b1d416f 100644 --- a/docs/recipes/apache/httpclient5/migrateauthscope.md +++ b/docs/recipes/apache/httpclient5/migrateauthscope.md @@ -13,12 +13,17 @@ _Replace removed constant `org.apache.http.auth.AuthScope.AuthScope.ANY` with `n ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/MigrateAuthScope.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/MigrateAuthScope.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient5/migraterequestconfig.md b/docs/recipes/apache/httpclient5/migraterequestconfig.md index 6e7350777a..48084e146f 100644 --- a/docs/recipes/apache/httpclient5/migraterequestconfig.md +++ b/docs/recipes/apache/httpclient5/migraterequestconfig.md @@ -13,12 +13,17 @@ _Migrate `RequestConfig` to httpclient5._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/MigrateRequestConfig.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/MigrateRequestConfig.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient5/newstatusline.md b/docs/recipes/apache/httpclient5/newstatusline.md index ddaf6db322..71a7ece60f 100644 --- a/docs/recipes/apache/httpclient5/newstatusline.md +++ b/docs/recipes/apache/httpclient5/newstatusline.md @@ -13,12 +13,17 @@ _`HttpResponse::getStatusLine()` was deprecated in 4.x, so we replace it for `ne ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/NewStatusLine.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/NewStatusLine.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient5/statusline.md b/docs/recipes/apache/httpclient5/statusline.md index 8f1752fe4d..821abb6c4e 100644 --- a/docs/recipes/apache/httpclient5/statusline.md +++ b/docs/recipes/apache/httpclient5/statusline.md @@ -13,11 +13,16 @@ _Migrates deprecated methods to their equivalent ones in 5.x_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5.md b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5.md index 2ad4162014..df2a4a76c5 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Apache HttpClient 5.x release. This recipe w ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -90,7 +95,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md index 337408775d..98ec6bad07 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_classmapping.md @@ -13,11 +13,16 @@ _Mapping of all the compatible classes of ApacheHttpClient 5.x from 4.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -768,7 +773,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md index 5fbb4b78d3..b88e4a0871 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_deprecatedmethods.md @@ -13,11 +13,16 @@ _Migrates deprecated methods to their equivalent ones in 5.x_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_timeunit.md b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_timeunit.md index 98fcb0efd6..2de5c436b2 100644 --- a/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_timeunit.md +++ b/docs/recipes/apache/httpclient5/upgradeapachehttpclient_5_timeunit.md @@ -13,11 +13,16 @@ _Apache HttpClient 5.x Timeout and duration methods need an extra the TimeUnit a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-httpclient-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/httpclient5/usernamepasswordcredentials.md b/docs/recipes/apache/httpclient5/usernamepasswordcredentials.md index 97a3e61106..1b7608a2b8 100644 --- a/docs/recipes/apache/httpclient5/usernamepasswordcredentials.md +++ b/docs/recipes/apache/httpclient5/usernamepasswordcredentials.md @@ -13,12 +13,17 @@ _Change the password argument going into `UsernamePasswordCredentials` to be a ` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/UsernamePasswordCredentials.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/httpclient5/UsernamePasswordCredentials.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$abbreviaterecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$abbreviaterecipe.md index 5b5d3b3427..147ea9c831 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$abbreviaterecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$abbreviaterecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.abbreviate(String str, int maxWidth)` with JD ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$capitaliserecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$capitaliserecipe.md index 33780bbe77..e23e78f053 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$capitaliserecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$capitaliserecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.capitalise(String str)` with JDK provided API ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$defaultstringfallbackrecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$defaultstringfallbackrecipe.md index 36c5d7f74f..fa82b64fe5 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$defaultstringfallbackrecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$defaultstringfallbackrecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.defaultString(Object obj, String nullDefault) ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$defaultstringrecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$defaultstringrecipe.md index 74aa55ebf4..5e94ca0987 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$defaultstringrecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$defaultstringrecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.defaultString(Object obj)` with JDK provided ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$deletewhitespacerecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$deletewhitespacerecipe.md index 5cb8a1d01c..298c7ae9ad 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$deletewhitespacerecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$deletewhitespacerecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.deleteWhitespace(String str)` with JDK provid ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$equalsignorecaserecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$equalsignorecaserecipe.md index 62cf93afbd..2fd5770d0d 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$equalsignorecaserecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$equalsignorecaserecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.equalsIgnoreCase(String str1, String str2)` w ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$equalsrecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$equalsrecipe.md index a0529bc8b4..49a9d20313 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$equalsrecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$equalsrecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.equals(String str1, String str2)` with JDK pr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$lowercaserecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$lowercaserecipe.md index 6f8747c64a..a196b21951 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$lowercaserecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$lowercaserecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.lowerCase(String str)` with JDK provided API. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$replacerecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$replacerecipe.md index a75024e18d..2074aee862 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$replacerecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$replacerecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.replace(String text, String searchString, Str ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$reverserecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$reverserecipe.md index e86c6a7092..44d3b3fb60 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$reverserecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$reverserecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.reverse(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$splitrecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$splitrecipe.md index daf37e18b8..e0ed4df28f 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$splitrecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$splitrecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.split(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$striprecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$striprecipe.md index 57d221a332..75f41e6739 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$striprecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$striprecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.strip(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$trimrecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$trimrecipe.md index 48e610bc6a..a88f5925b7 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$trimrecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$trimrecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.trim(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$uppercaserecipe.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$uppercaserecipe.md index a7a537aa1e..d945ced7cb 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$uppercaserecipe.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes$uppercaserecipe.md @@ -13,12 +13,17 @@ _Replace Maven Shared `StringUtils.upperCase(String str)` with JDK provided API. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes.md b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes.md index c52c0493f1..157b97a049 100644 --- a/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes.md +++ b/docs/recipes/apache/maven/shared/mavensharedstringutilsrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `org.openrewrite.apache.maven.shared.MavenSharedS ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/maven/shared/MavenSharedStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes$replacesetboldweightboldwithsetboldtruerecipe.md b/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes$replacesetboldweightboldwithsetboldtruerecipe.md index 3d4da11703..221fa6c625 100644 --- a/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes$replacesetboldweightboldwithsetboldtruerecipe.md +++ b/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes$replacesetboldweightboldwithsetboldtruerecipe.md @@ -13,12 +13,17 @@ _Replace `Font.setBoldweight(Font.BOLDWEIGHT_BOLD)` or equivalent with `Font.set ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetBoldweightWithSetBold.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetBoldweightWithSetBold.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes$replacesetboldweightnormalwithsetboldfalserecipe.md b/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes$replacesetboldweightnormalwithsetboldfalserecipe.md index bf011cdc66..ac665cca25 100644 --- a/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes$replacesetboldweightnormalwithsetboldfalserecipe.md +++ b/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes$replacesetboldweightnormalwithsetboldfalserecipe.md @@ -13,12 +13,17 @@ _Replace `Font.setBoldweight(Font.BOLDWEIGHT_NORMAL)` or equivalent with `Font.s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetBoldweightWithSetBold.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetBoldweightWithSetBold.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes.md b/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes.md index 5ea5b60baa..37ac5d2b49 100644 --- a/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes.md +++ b/docs/recipes/apache/poi/replacesetboldweightwithsetboldrecipes.md @@ -13,11 +13,16 @@ _Replace `Font.setBoldweight(short)` or equivalent with `Font.setBold(boolean)`. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetBoldweightWithSetBold.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetBoldweightWithSetBold.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeblankrecipe.md b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeblankrecipe.md index e4d32b0893..b06571cb95 100644 --- a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeblankrecipe.md +++ b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeblankrecipe.md @@ -13,12 +13,17 @@ _Replace `Cell.setCellType(Cell.CELL_TYPE_BLANK)` with `Cell.setCellType(CellTyp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypebooleanrecipe.md b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypebooleanrecipe.md index d5970a4558..35868a912d 100644 --- a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypebooleanrecipe.md +++ b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypebooleanrecipe.md @@ -13,12 +13,17 @@ _Replace `Cell.setCellType(Cell.CELL_TYPE_BOOLEAN)` with `Cell.setCellType(CellT ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeerrorrecipe.md b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeerrorrecipe.md index c5534e9543..c3359c9119 100644 --- a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeerrorrecipe.md +++ b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeerrorrecipe.md @@ -13,12 +13,17 @@ _Replace `Cell.setCellType(Cell.CELL_TYPE_ERROR)` with `Cell.setCellType(CellTyp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeformularecipe.md b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeformularecipe.md index 5f71d6ec0c..8eed12e9d1 100644 --- a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeformularecipe.md +++ b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypeformularecipe.md @@ -13,12 +13,17 @@ _Replace `Cell.setCellType(Cell.CELL_TYPE_FORMULA)` with `Cell.setCellType(CellT ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypenumericrecipe.md b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypenumericrecipe.md index 98249c7f43..59619f91f5 100644 --- a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypenumericrecipe.md +++ b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypenumericrecipe.md @@ -13,12 +13,17 @@ _Replace `Cell.setCellType(Cell.CELL_TYPE_NUMERIC)` with `Cell.setCellType(CellT ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypestringrecipe.md b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypestringrecipe.md index d1d3a5d859..8741b3529a 100644 --- a/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypestringrecipe.md +++ b/docs/recipes/apache/poi/replacesetcelltyperecipes$replacesetcelltypestringrecipe.md @@ -13,12 +13,17 @@ _Replace `Cell.setCellType(Cell.CELL_TYPE_STRING)` with `Cell.setCellType(CellTy ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/replacesetcelltyperecipes.md b/docs/recipes/apache/poi/replacesetcelltyperecipes.md index 5d1e7eb7a0..95940bc909 100644 --- a/docs/recipes/apache/poi/replacesetcelltyperecipes.md +++ b/docs/recipes/apache/poi/replacesetcelltyperecipes.md @@ -13,11 +13,16 @@ _Replace `Cell.setCellType(int)` with equivalent `Cell.setCellType(CellType)`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/apache/poi/ReplaceSetCellType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/apache/poi/upgradeapachepoi_3_17.md b/docs/recipes/apache/poi/upgradeapachepoi_3_17.md index b096c7e23e..6ebb3d2678 100644 --- a/docs/recipes/apache/poi/upgradeapachepoi_3_17.md +++ b/docs/recipes/apache/poi/upgradeapachepoi_3_17.md @@ -18,11 +18,16 @@ _Migrates to the last Apache POI 3.x release. This recipe modifies build files a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-poi-3-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/resources/META-INF/rewrite/apache-poi-3-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -428,7 +433,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/circleci/installorb.md b/docs/recipes/circleci/installorb.md index 52e22f6a02..90de6482d8 100644 --- a/docs/recipes/circleci/installorb.md +++ b/docs/recipes/circleci/installorb.md @@ -13,7 +13,7 @@ _Install a CircleCI [orb](https://circleci.com/docs/2.0/orb-intro/) if it is not ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-circleci/blob/main/src/main/java/org/openrewrite/circleci/InstallOrb.java), [Issue Tracker](https://github.com/openrewrite/rewrite-circleci/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-circleci/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _Install a CircleCI [orb](https://circleci.com/docs/2.0/orb-intro/) if it is not | `String` | orbKey | The orb key to be followed by an orb slug identifying a specific orb version. | `kube` | | `String` | slug | A specific orb to install, in the form `/@1.2.3`. | `circleci/kubernetes@0.11.0` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.InstallOrbExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.InstallOrbExample displayName: Install an orb example recipeList: - - org.openrewrite.circleci.InstallOrb: + - org.openrewrite.circleci.InstallOrb: orbKey: kube slug: circleci/kubernetes@0.11.0 ``` -Now that `com.yourorg.InstallOrbExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-circleci:{{VERSION_REWRITE_CIRCLECI}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/circleci/updateimage.md b/docs/recipes/circleci/updateimage.md index d430edf1dd..f0759f91bf 100644 --- a/docs/recipes/circleci/updateimage.md +++ b/docs/recipes/circleci/updateimage.md @@ -13,7 +13,7 @@ _See the list of [pre-built CircleCI images](https://circleci.com/docs/2.0/circl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-circleci/blob/main/src/main/java/org/openrewrite/circleci/UpdateImage.java), [Issue Tracker](https://github.com/openrewrite/rewrite-circleci/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-circleci/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,25 +21,28 @@ _See the list of [pre-built CircleCI images](https://circleci.com/docs/2.0/circl | -- | -- | -- | -- | | `String` | image | Image to use. | `circleci/openjdk:jdk` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpdateImageExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpdateImageExample displayName: Update CircleCI image example recipeList: - - org.openrewrite.circleci.UpdateImage: + - org.openrewrite.circleci.UpdateImage: image: circleci/openjdk:jdk ``` -Now that `com.yourorg.UpdateImageExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-circleci:{{VERSION_REWRITE_CIRCLECI}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/codehaus/plexus/abstractlogenabledtoslf4j.md b/docs/recipes/codehaus/plexus/abstractlogenabledtoslf4j.md index 055753bf53..e94b180d33 100644 --- a/docs/recipes/codehaus/plexus/abstractlogenabledtoslf4j.md +++ b/docs/recipes/codehaus/plexus/abstractlogenabledtoslf4j.md @@ -13,12 +13,17 @@ _Introduce a SLF4J `Logger` field and replace calls to `getLogger()` with calls ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/AbstractLogEnabledToSlf4j.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/AbstractLogEnabledToSlf4j.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectoryfilerecipe.md b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectoryfilerecipe.md index 582b04c67c..646b2e1ea0 100644 --- a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectoryfilerecipe.md +++ b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectoryfilerecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `FileUtils.deleteDirectory(File directory)` with JDK provided AP ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusFileUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusFileUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectorystringrecipe.md b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectorystringrecipe.md index 23dbad1774..f8f26b52e5 100644 --- a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectorystringrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$deletedirectorystringrecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `FileUtils.deleteDirectory(String directory)` with JDK provided ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusFileUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusFileUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$fileexistsstringrecipe.md b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$fileexistsstringrecipe.md index 1aa40956fc..f24fd3eb79 100644 --- a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$fileexistsstringrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$fileexistsstringrecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `FileUtils.fileExists(String fileName)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusFileUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusFileUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$getfilerecipe.md b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$getfilerecipe.md index 0618252ae8..6a10257dbe 100644 --- a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$getfilerecipe.md +++ b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes$getfilerecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `FileUtils.getFile(String fileName)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusFileUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusFileUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes.md b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes.md index 70aa2a3d13..f0311d157c 100644 --- a/docs/recipes/codehaus/plexus/plexusfileutilsrecipes.md +++ b/docs/recipes/codehaus/plexus/plexusfileutilsrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `org.openrewrite.codehaus.plexus.PlexusFileUtils` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusFileUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusFileUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$abbreviaterecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$abbreviaterecipe.md index 54e144ac0b..c506007b1d 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$abbreviaterecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$abbreviaterecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.abbreviate(String str, int maxWidth)` with JDK prov ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$capitaliserecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$capitaliserecipe.md index f006c44a7d..fbfcd3732c 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$capitaliserecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$capitaliserecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.capitalise(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringfallbackrecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringfallbackrecipe.md index aed8a50ef9..c90313e68e 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringfallbackrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringfallbackrecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.defaultString(Object obj, String nullDefault)` with ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringrecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringrecipe.md index fdf45292b1..f72fd1a94d 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$defaultstringrecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.defaultString(Object obj)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$deletewhitespacerecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$deletewhitespacerecipe.md index d8a99accc0..206a44a84c 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$deletewhitespacerecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$deletewhitespacerecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.deleteWhitespace(String str)` with JDK provided API ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsignorecaserecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsignorecaserecipe.md index ae34400319..e3db9f337f 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsignorecaserecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsignorecaserecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.equalsIgnoreCase(String str1, String str2)` with JD ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsrecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsrecipe.md index cac5289e69..c4a49eae45 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$equalsrecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.equals(String str1, String str2)` with JDK provided ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$lowercaserecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$lowercaserecipe.md index c9b20f9d41..6860b1d557 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$lowercaserecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$lowercaserecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.lowerCase(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$replacerecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$replacerecipe.md index f0118efc55..215676864f 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$replacerecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$replacerecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.replace(String text, String searchString, String re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$reverserecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$reverserecipe.md index 49d6a06d3f..cf9abafa21 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$reverserecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$reverserecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.reverse(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$splitrecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$splitrecipe.md index 202b685f98..2a1d7d520e 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$splitrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$splitrecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.split(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$striprecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$striprecipe.md index 4a58ce47fd..f004325522 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$striprecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$striprecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.strip(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$trimrecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$trimrecipe.md index 1e22699ba8..1691279597 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$trimrecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$trimrecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.trim(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$uppercaserecipe.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$uppercaserecipe.md index 39e2cd4ba9..742e616bf3 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$uppercaserecipe.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes$uppercaserecipe.md @@ -13,12 +13,17 @@ _Replace Plexus `StringUtils.upperCase(String str)` with JDK provided API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes.md b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes.md index 1bdb0836d8..3be44d86b9 100644 --- a/docs/recipes/codehaus/plexus/plexusstringutilsrecipes.md +++ b/docs/recipes/codehaus/plexus/plexusstringutilsrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `org.openrewrite.codehaus.plexus.PlexusStringUtil ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) - +[GitHub](https://github.com/openrewrite/rewrite-apache/blob/main/src/main/java/org/openrewrite/codehaus/plexus/PlexusStringUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-apache/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-apache/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-apache` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/codemods/applycodemod.md b/docs/recipes/codemods/applycodemod.md index 26c2c8d4ee..1b7a6f7699 100644 --- a/docs/recipes/codemods/applycodemod.md +++ b/docs/recipes/codemods/applycodemod.md @@ -13,7 +13,7 @@ _Applies a codemod represented by an NPM package to all source files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/java/org/openrewrite/codemods/ApplyCodemod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -24,28 +24,31 @@ _Applies a codemod represented by an NPM package to all source files._ | `String` | fileFilter | Optional glob pattern to filter files to apply the codemod to. Defaults to all files. Note: not all codemods support file glob filtering. | `**/*.(j|t)sx` | | `List` | codemodArgs | *Optional*. Arguments which get passed to the codemod command. | `--force --jscodeshift='--parser=${parser}'` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ApplyCodemodExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ApplyCodemodExample displayName: Applies a codemod to all source files example recipeList: - - org.openrewrite.codemods.ApplyCodemod: + - org.openrewrite.codemods.ApplyCodemod: transform: '-t path/to/transform/optimus-prime' executable: '@next/codemod/bin/next-codemod.js' fileFilter: '**/*.(j|t)sx' codemodArgs: --force --jscodeshift='--parser=${parser}' ``` -Now that `com.yourorg.ApplyCodemodExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-codemods:{{VERSION_REWRITE_CODEMODS}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/codemods/cleanup/javascript/arrowbodystyle.md b/docs/recipes/codemods/cleanup/javascript/arrowbodystyle.md index 54ee1ee1fd..c00bf6ed10 100644 --- a/docs/recipes/codemods/cleanup/javascript/arrowbodystyle.md +++ b/docs/recipes/codemods/cleanup/javascript/arrowbodystyle.md @@ -13,12 +13,16 @@ _Require braces around arrow function bodies See [rule details](https://eslint.o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/betterregex.md b/docs/recipes/codemods/cleanup/javascript/betterregex.md index cb9c36d4f6..d7bfe2526b 100644 --- a/docs/recipes/codemods/cleanup/javascript/betterregex.md +++ b/docs/recipes/codemods/cleanup/javascript/betterregex.md @@ -13,12 +13,16 @@ _Improve regexes by making them shorter, consistent, and safer. See [rule detail ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/capitalizedcomments.md b/docs/recipes/codemods/cleanup/javascript/capitalizedcomments.md index e013269a5c..90256e750c 100644 --- a/docs/recipes/codemods/cleanup/javascript/capitalizedcomments.md +++ b/docs/recipes/codemods/cleanup/javascript/capitalizedcomments.md @@ -13,12 +13,16 @@ _Enforce or disallow capitalization of the first letter of a comment See [rule ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/catcherrorname.md b/docs/recipes/codemods/cleanup/javascript/catcherrorname.md index 6a7079b368..ef77a001ed 100644 --- a/docs/recipes/codemods/cleanup/javascript/catcherrorname.md +++ b/docs/recipes/codemods/cleanup/javascript/catcherrorname.md @@ -13,12 +13,16 @@ _Enforce a specific parameter name in catch clauses. See [rule details](https:// ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/consistentdestructuring.md b/docs/recipes/codemods/cleanup/javascript/consistentdestructuring.md index 218665bc47..7ce5bba929 100644 --- a/docs/recipes/codemods/cleanup/javascript/consistentdestructuring.md +++ b/docs/recipes/codemods/cleanup/javascript/consistentdestructuring.md @@ -13,12 +13,16 @@ _Use destructured variables over properties. See [rule details](https://github.c ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/consistenttypespecifierstyle.md b/docs/recipes/codemods/cleanup/javascript/consistenttypespecifierstyle.md index 85e62dacec..c367ede7be 100644 --- a/docs/recipes/codemods/cleanup/javascript/consistenttypespecifierstyle.md +++ b/docs/recipes/codemods/cleanup/javascript/consistenttypespecifierstyle.md @@ -13,12 +13,16 @@ _Enforce or ban the use of inline type-only markers for named imports See rule d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/curly.md b/docs/recipes/codemods/cleanup/javascript/curly.md index aa122b1f31..a28eb242fb 100644 --- a/docs/recipes/codemods/cleanup/javascript/curly.md +++ b/docs/recipes/codemods/cleanup/javascript/curly.md @@ -13,12 +13,16 @@ _Enforce consistent brace style for all control statements See [rule details](h ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/customerrordefinition.md b/docs/recipes/codemods/cleanup/javascript/customerrordefinition.md index eab590af1a..866eba71b2 100644 --- a/docs/recipes/codemods/cleanup/javascript/customerrordefinition.md +++ b/docs/recipes/codemods/cleanup/javascript/customerrordefinition.md @@ -13,12 +13,16 @@ _Enforce correct `Error` subclassing. See [rule details](https://github.com/sind ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/dotnotation.md b/docs/recipes/codemods/cleanup/javascript/dotnotation.md index e116a366d1..42f1313370 100644 --- a/docs/recipes/codemods/cleanup/javascript/dotnotation.md +++ b/docs/recipes/codemods/cleanup/javascript/dotnotation.md @@ -13,12 +13,16 @@ _Enforce dot notation whenever possible See [rule details](https://eslint.org/d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/emptybracespaces.md b/docs/recipes/codemods/cleanup/javascript/emptybracespaces.md index 74abf3238e..f0b217f14c 100644 --- a/docs/recipes/codemods/cleanup/javascript/emptybracespaces.md +++ b/docs/recipes/codemods/cleanup/javascript/emptybracespaces.md @@ -13,12 +13,16 @@ _Enforce no spaces between braces. See [rule details](https://github.com/sindres ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/eqeqeq.md b/docs/recipes/codemods/cleanup/javascript/eqeqeq.md index e0f893657e..c95c2cabd0 100644 --- a/docs/recipes/codemods/cleanup/javascript/eqeqeq.md +++ b/docs/recipes/codemods/cleanup/javascript/eqeqeq.md @@ -13,12 +13,16 @@ _Require the use of `===` and `!==` See [rule details](https://eslint.org/docs/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/escapecase.md b/docs/recipes/codemods/cleanup/javascript/escapecase.md index a3c1f24ee5..6a3f9857b5 100644 --- a/docs/recipes/codemods/cleanup/javascript/escapecase.md +++ b/docs/recipes/codemods/cleanup/javascript/escapecase.md @@ -13,12 +13,16 @@ _Require escape sequences to use uppercase values. See [rule details](https://gi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/explicitlengthcheck.md b/docs/recipes/codemods/cleanup/javascript/explicitlengthcheck.md index 95bbb763ba..9bf82be3f2 100644 --- a/docs/recipes/codemods/cleanup/javascript/explicitlengthcheck.md +++ b/docs/recipes/codemods/cleanup/javascript/explicitlengthcheck.md @@ -13,12 +13,16 @@ _Enforce explicitly comparing the length or size property of a value. See [rule ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/first.md b/docs/recipes/codemods/cleanup/javascript/first.md index 0d1f9773c7..36171b9e0c 100644 --- a/docs/recipes/codemods/cleanup/javascript/first.md +++ b/docs/recipes/codemods/cleanup/javascript/first.md @@ -13,12 +13,16 @@ _Ensure all imports appear before other statements See rule details for [import/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/logicalassignmentoperators.md b/docs/recipes/codemods/cleanup/javascript/logicalassignmentoperators.md index 26f0bac532..2104bb4d8d 100644 --- a/docs/recipes/codemods/cleanup/javascript/logicalassignmentoperators.md +++ b/docs/recipes/codemods/cleanup/javascript/logicalassignmentoperators.md @@ -13,12 +13,16 @@ _Require or disallow logical assignment operator shorthand See [rule details](h ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/multilinecommentstyle.md b/docs/recipes/codemods/cleanup/javascript/multilinecommentstyle.md index 75d9187856..fbd15fe598 100644 --- a/docs/recipes/codemods/cleanup/javascript/multilinecommentstyle.md +++ b/docs/recipes/codemods/cleanup/javascript/multilinecommentstyle.md @@ -13,12 +13,16 @@ _Enforce a particular style for multiline comments See [rule details](https://e ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/newforbuiltins.md b/docs/recipes/codemods/cleanup/javascript/newforbuiltins.md index afbeece3be..45bbe49d47 100644 --- a/docs/recipes/codemods/cleanup/javascript/newforbuiltins.md +++ b/docs/recipes/codemods/cleanup/javascript/newforbuiltins.md @@ -13,12 +13,16 @@ _Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/newlineafterimport.md b/docs/recipes/codemods/cleanup/javascript/newlineafterimport.md index 33f13ea55a..52d368e597 100644 --- a/docs/recipes/codemods/cleanup/javascript/newlineafterimport.md +++ b/docs/recipes/codemods/cleanup/javascript/newlineafterimport.md @@ -13,12 +13,16 @@ _Enforce a newline after import statements See rule details for [import/newline- ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noabsolutepath.md b/docs/recipes/codemods/cleanup/javascript/noabsolutepath.md index 71d711ff6b..a1c5f87416 100644 --- a/docs/recipes/codemods/cleanup/javascript/noabsolutepath.md +++ b/docs/recipes/codemods/cleanup/javascript/noabsolutepath.md @@ -13,12 +13,16 @@ _Forbid import of modules using absolute paths See rule details for [import/no-a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noarrayforeach.md b/docs/recipes/codemods/cleanup/javascript/noarrayforeach.md index 20d2bb48a6..15eb23fefa 100644 --- a/docs/recipes/codemods/cleanup/javascript/noarrayforeach.md +++ b/docs/recipes/codemods/cleanup/javascript/noarrayforeach.md @@ -13,12 +13,16 @@ _Prefer `for…of` over the `forEach` method. See [rule details](https://github. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noarraymethodthisargument.md b/docs/recipes/codemods/cleanup/javascript/noarraymethodthisargument.md index f48e2f4491..2c4d3581cd 100644 --- a/docs/recipes/codemods/cleanup/javascript/noarraymethodthisargument.md +++ b/docs/recipes/codemods/cleanup/javascript/noarraymethodthisargument.md @@ -13,12 +13,16 @@ _Disallow using the `this` argument in array methods. See [rule details](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noarraypushpush.md b/docs/recipes/codemods/cleanup/javascript/noarraypushpush.md index a85d05a545..20c499d584 100644 --- a/docs/recipes/codemods/cleanup/javascript/noarraypushpush.md +++ b/docs/recipes/codemods/cleanup/javascript/noarraypushpush.md @@ -13,12 +13,16 @@ _Enforce combining multiple `Array#push()` into one call. See [rule details](htt ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noawaitexpressionmember.md b/docs/recipes/codemods/cleanup/javascript/noawaitexpressionmember.md index 286f37c1e4..f54b07262d 100644 --- a/docs/recipes/codemods/cleanup/javascript/noawaitexpressionmember.md +++ b/docs/recipes/codemods/cleanup/javascript/noawaitexpressionmember.md @@ -13,12 +13,16 @@ _Disallow member access from `await` expression. See [rule details](https://gith ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noconsolespaces.md b/docs/recipes/codemods/cleanup/javascript/noconsolespaces.md index 6f124cf6c1..0c5e5b6b7b 100644 --- a/docs/recipes/codemods/cleanup/javascript/noconsolespaces.md +++ b/docs/recipes/codemods/cleanup/javascript/noconsolespaces.md @@ -13,12 +13,16 @@ _Do not use leading/trailing space between `console.log` parameters. See [rule d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nodivregex.md b/docs/recipes/codemods/cleanup/javascript/nodivregex.md index 9e35580318..fb3d9e71ef 100644 --- a/docs/recipes/codemods/cleanup/javascript/nodivregex.md +++ b/docs/recipes/codemods/cleanup/javascript/nodivregex.md @@ -13,12 +13,16 @@ _Disallow equal signs explicitly at the beginning of regular expressions See [r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noduplicates.md b/docs/recipes/codemods/cleanup/javascript/noduplicates.md index 5c9ca2ebde..2ea2fddb63 100644 --- a/docs/recipes/codemods/cleanup/javascript/noduplicates.md +++ b/docs/recipes/codemods/cleanup/javascript/noduplicates.md @@ -13,12 +13,16 @@ _Forbid repeated import of the same module in multiple places See rule details f ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noelsereturn.md b/docs/recipes/codemods/cleanup/javascript/noelsereturn.md index 3166fc98d8..bb4bee388e 100644 --- a/docs/recipes/codemods/cleanup/javascript/noelsereturn.md +++ b/docs/recipes/codemods/cleanup/javascript/noelsereturn.md @@ -13,12 +13,16 @@ _Disallow else blocks after return statements in if statements See [rule detail ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noemptynamedblocks.md b/docs/recipes/codemods/cleanup/javascript/noemptynamedblocks.md index b6bee0bd24..fae14baecc 100644 --- a/docs/recipes/codemods/cleanup/javascript/noemptynamedblocks.md +++ b/docs/recipes/codemods/cleanup/javascript/noemptynamedblocks.md @@ -13,12 +13,16 @@ _Forbid empty named import See rule details for [import/no-empty-named-blocks](h ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noextrabind.md b/docs/recipes/codemods/cleanup/javascript/noextrabind.md index d1343c5cde..d5684b0d81 100644 --- a/docs/recipes/codemods/cleanup/javascript/noextrabind.md +++ b/docs/recipes/codemods/cleanup/javascript/noextrabind.md @@ -13,12 +13,16 @@ _Disallow unnecessary calls to `.bind()` See [rule details](https://eslint.org/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noextralabel.md b/docs/recipes/codemods/cleanup/javascript/noextralabel.md index 9599b6ff76..386c343e4c 100644 --- a/docs/recipes/codemods/cleanup/javascript/noextralabel.md +++ b/docs/recipes/codemods/cleanup/javascript/noextralabel.md @@ -13,12 +13,16 @@ _Disallow unnecessary labels See [rule details](https://eslint.org/docs/latest/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noforloop.md b/docs/recipes/codemods/cleanup/javascript/noforloop.md index f2e62726dc..9e18a4d89e 100644 --- a/docs/recipes/codemods/cleanup/javascript/noforloop.md +++ b/docs/recipes/codemods/cleanup/javascript/noforloop.md @@ -13,12 +13,16 @@ _Do not use a `for` loop that can be replaced with a `for-of` loop. See [rule de ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nohexescape.md b/docs/recipes/codemods/cleanup/javascript/nohexescape.md index 10ba985710..7deea9da50 100644 --- a/docs/recipes/codemods/cleanup/javascript/nohexescape.md +++ b/docs/recipes/codemods/cleanup/javascript/nohexescape.md @@ -13,12 +13,16 @@ _Enforce the use of Unicode escapes instead of hexadecimal escapes. See [rule de ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noimplicitcoercion.md b/docs/recipes/codemods/cleanup/javascript/noimplicitcoercion.md index a1676e54aa..602fb35de8 100644 --- a/docs/recipes/codemods/cleanup/javascript/noimplicitcoercion.md +++ b/docs/recipes/codemods/cleanup/javascript/noimplicitcoercion.md @@ -13,12 +13,16 @@ _Disallow shorthand type conversions See [rule details](https://eslint.org/docs ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noimportmoduleexports.md b/docs/recipes/codemods/cleanup/javascript/noimportmoduleexports.md index ae3e0b09db..c517d0275d 100644 --- a/docs/recipes/codemods/cleanup/javascript/noimportmoduleexports.md +++ b/docs/recipes/codemods/cleanup/javascript/noimportmoduleexports.md @@ -13,12 +13,16 @@ _Forbid import statements with CommonJS module.exports See rule details for [imp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noinstanceofarray.md b/docs/recipes/codemods/cleanup/javascript/noinstanceofarray.md index 0c69354795..a3baa3e886 100644 --- a/docs/recipes/codemods/cleanup/javascript/noinstanceofarray.md +++ b/docs/recipes/codemods/cleanup/javascript/noinstanceofarray.md @@ -13,12 +13,16 @@ _Require `Array.isArray()` instead of `instanceof Array`. See [rule details](htt ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nolonelyif.md b/docs/recipes/codemods/cleanup/javascript/nolonelyif.md index 2dec30f760..8328224167 100644 --- a/docs/recipes/codemods/cleanup/javascript/nolonelyif.md +++ b/docs/recipes/codemods/cleanup/javascript/nolonelyif.md @@ -13,12 +13,16 @@ _Disallow `if` statements as the only statement in `if` blocks without `else`. S ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nonamespace.md b/docs/recipes/codemods/cleanup/javascript/nonamespace.md index 907646b94b..7aa177dcd2 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonamespace.md +++ b/docs/recipes/codemods/cleanup/javascript/nonamespace.md @@ -13,12 +13,16 @@ _Forbid namespace (a.k.a. "wildcard" `*`) imports. See rule details for [import/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nonegatedcondition.md b/docs/recipes/codemods/cleanup/javascript/nonegatedcondition.md index 0ec581f8ef..42485f0766 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonegatedcondition.md +++ b/docs/recipes/codemods/cleanup/javascript/nonegatedcondition.md @@ -13,12 +13,16 @@ _Disallow negated conditions. See [rule details](https://github.com/sindresorhus ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nonestedternary.md b/docs/recipes/codemods/cleanup/javascript/nonestedternary.md index a1943eca4e..a6ccb935be 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonestedternary.md +++ b/docs/recipes/codemods/cleanup/javascript/nonestedternary.md @@ -13,12 +13,16 @@ _Disallow nested ternary expressions. See [rule details](https://github.com/sind ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nonewarray.md b/docs/recipes/codemods/cleanup/javascript/nonewarray.md index 4c0db63b60..3929566182 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonewarray.md +++ b/docs/recipes/codemods/cleanup/javascript/nonewarray.md @@ -13,12 +13,16 @@ _Disallow `new Array()`. See [rule details](https://github.com/sindresorhus/esli ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nonewbuffer.md b/docs/recipes/codemods/cleanup/javascript/nonewbuffer.md index d558fa9502..b1497f8017 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonewbuffer.md +++ b/docs/recipes/codemods/cleanup/javascript/nonewbuffer.md @@ -13,12 +13,16 @@ _Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nonull.md b/docs/recipes/codemods/cleanup/javascript/nonull.md index 2d574666c1..6dede54921 100644 --- a/docs/recipes/codemods/cleanup/javascript/nonull.md +++ b/docs/recipes/codemods/cleanup/javascript/nonull.md @@ -13,12 +13,16 @@ _Disallow the use of the `null` literal. See [rule details](https://github.com/s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/norelativepackages.md b/docs/recipes/codemods/cleanup/javascript/norelativepackages.md index 468a4191c8..31eb44d4ec 100644 --- a/docs/recipes/codemods/cleanup/javascript/norelativepackages.md +++ b/docs/recipes/codemods/cleanup/javascript/norelativepackages.md @@ -13,12 +13,16 @@ _Forbid importing packages through relative paths See rule details for [import/n ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nostaticonlyclass.md b/docs/recipes/codemods/cleanup/javascript/nostaticonlyclass.md index 8b6e512c8f..51353bded2 100644 --- a/docs/recipes/codemods/cleanup/javascript/nostaticonlyclass.md +++ b/docs/recipes/codemods/cleanup/javascript/nostaticonlyclass.md @@ -13,12 +13,16 @@ _Disallow classes that only have static members. See [rule details](https://gith ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/notypeofundefined.md b/docs/recipes/codemods/cleanup/javascript/notypeofundefined.md index 830f1d44ec..98b86b4fe4 100644 --- a/docs/recipes/codemods/cleanup/javascript/notypeofundefined.md +++ b/docs/recipes/codemods/cleanup/javascript/notypeofundefined.md @@ -13,12 +13,16 @@ _Disallow comparing `undefined` using `typeof`. See [rule details](https://githu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/noundefinit.md b/docs/recipes/codemods/cleanup/javascript/noundefinit.md index 51d0963a2c..dd6883ea98 100644 --- a/docs/recipes/codemods/cleanup/javascript/noundefinit.md +++ b/docs/recipes/codemods/cleanup/javascript/noundefinit.md @@ -13,12 +13,16 @@ _Disallow initializing variables to undefined See [rule details](https://eslint ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nounnecessaryawait.md b/docs/recipes/codemods/cleanup/javascript/nounnecessaryawait.md index 0dd0a69503..47103af0af 100644 --- a/docs/recipes/codemods/cleanup/javascript/nounnecessaryawait.md +++ b/docs/recipes/codemods/cleanup/javascript/nounnecessaryawait.md @@ -13,12 +13,16 @@ _Disallow awaiting non-promise values. See [rule details](https://github.com/sin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nounneededternary.md b/docs/recipes/codemods/cleanup/javascript/nounneededternary.md index cf0409354f..b85b9a3184 100644 --- a/docs/recipes/codemods/cleanup/javascript/nounneededternary.md +++ b/docs/recipes/codemods/cleanup/javascript/nounneededternary.md @@ -13,12 +13,16 @@ _Disallow ternary operators when simpler alternatives exist See [rule details]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nounreadablearraydestructuring.md b/docs/recipes/codemods/cleanup/javascript/nounreadablearraydestructuring.md index 6f4c6840de..6bebcfa15b 100644 --- a/docs/recipes/codemods/cleanup/javascript/nounreadablearraydestructuring.md +++ b/docs/recipes/codemods/cleanup/javascript/nounreadablearraydestructuring.md @@ -13,12 +13,16 @@ _Disallow unreadable array destructuring. See [rule details](https://github.com/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nouselesscomputedkey.md b/docs/recipes/codemods/cleanup/javascript/nouselesscomputedkey.md index 55875b8fab..c2955b7eb3 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselesscomputedkey.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselesscomputedkey.md @@ -13,12 +13,16 @@ _Disallow unnecessary computed property keys in objects and classes See [rule d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nouselessfallbackinspread.md b/docs/recipes/codemods/cleanup/javascript/nouselessfallbackinspread.md index 5e4fe57ca4..760c004594 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselessfallbackinspread.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselessfallbackinspread.md @@ -13,12 +13,16 @@ _Disallow useless fallback when spreading in object literals. See [rule details] ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nouselesslengthcheck.md b/docs/recipes/codemods/cleanup/javascript/nouselesslengthcheck.md index 14210d1cd7..7608c3fdd0 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselesslengthcheck.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselesslengthcheck.md @@ -13,12 +13,16 @@ _Disallow useless array `length` check. See [rule details](https://github.com/si ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nouselesspathsegments.md b/docs/recipes/codemods/cleanup/javascript/nouselesspathsegments.md index 0bee59ad75..a788570f1d 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselesspathsegments.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselesspathsegments.md @@ -13,12 +13,16 @@ _Forbid unnecessary path segments in import and require statements See rule deta ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nouselesspromiseresolvereject.md b/docs/recipes/codemods/cleanup/javascript/nouselesspromiseresolvereject.md index 2be230d842..326f356dea 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselesspromiseresolvereject.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselesspromiseresolvereject.md @@ -13,12 +13,16 @@ _Disallow returning/yielding `Promise.resolve()`/`reject()` in `async` functions ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nouselessrename.md b/docs/recipes/codemods/cleanup/javascript/nouselessrename.md index d657807560..0ebee80797 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselessrename.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselessrename.md @@ -13,12 +13,16 @@ _Disallow renaming import, export, and destructured assignments to the same name ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nouselessreturn.md b/docs/recipes/codemods/cleanup/javascript/nouselessreturn.md index 4154293067..4380966f94 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselessreturn.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselessreturn.md @@ -13,12 +13,16 @@ _Disallow redundant return statements See [rule details](https://eslint.org/doc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nouselessspread.md b/docs/recipes/codemods/cleanup/javascript/nouselessspread.md index 455aebcaa9..75f87cf7d8 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselessspread.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselessspread.md @@ -13,12 +13,16 @@ _Disallow unnecessary spread. See [rule details](https://github.com/sindresorhus ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nouselessundefined.md b/docs/recipes/codemods/cleanup/javascript/nouselessundefined.md index f91af2a975..aa597b138f 100644 --- a/docs/recipes/codemods/cleanup/javascript/nouselessundefined.md +++ b/docs/recipes/codemods/cleanup/javascript/nouselessundefined.md @@ -13,12 +13,16 @@ _Disallow useless `undefined`. See [rule details](https://github.com/sindresorhu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/novar.md b/docs/recipes/codemods/cleanup/javascript/novar.md index 0607a38b98..500bddb688 100644 --- a/docs/recipes/codemods/cleanup/javascript/novar.md +++ b/docs/recipes/codemods/cleanup/javascript/novar.md @@ -13,12 +13,16 @@ _Require `let` or `const` instead of `var` See [rule details](https://eslint.or ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/nozerofractions.md b/docs/recipes/codemods/cleanup/javascript/nozerofractions.md index df968aca4e..90caf4e3ba 100644 --- a/docs/recipes/codemods/cleanup/javascript/nozerofractions.md +++ b/docs/recipes/codemods/cleanup/javascript/nozerofractions.md @@ -13,12 +13,16 @@ _Disallow number literals with zero fractions or dangling dots. See [rule detail ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/numberliteralcase.md b/docs/recipes/codemods/cleanup/javascript/numberliteralcase.md index e8ff31992b..fb3da42fbc 100644 --- a/docs/recipes/codemods/cleanup/javascript/numberliteralcase.md +++ b/docs/recipes/codemods/cleanup/javascript/numberliteralcase.md @@ -13,12 +13,16 @@ _Enforce proper case for numeric literals. See [rule details](https://github.com ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/numericseparatorsstyle.md b/docs/recipes/codemods/cleanup/javascript/numericseparatorsstyle.md index 6756d75657..4031dd165a 100644 --- a/docs/recipes/codemods/cleanup/javascript/numericseparatorsstyle.md +++ b/docs/recipes/codemods/cleanup/javascript/numericseparatorsstyle.md @@ -13,12 +13,16 @@ _Enforce the style of numeric separators by correctly grouping digits. See [rule ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/objectshorthand.md b/docs/recipes/codemods/cleanup/javascript/objectshorthand.md index 62bfbec5e3..02de7ab291 100644 --- a/docs/recipes/codemods/cleanup/javascript/objectshorthand.md +++ b/docs/recipes/codemods/cleanup/javascript/objectshorthand.md @@ -13,12 +13,16 @@ _Require or disallow method and property shorthand syntax for object literals S ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/onevar.md b/docs/recipes/codemods/cleanup/javascript/onevar.md index f21db9d0fe..eee6a57a1b 100644 --- a/docs/recipes/codemods/cleanup/javascript/onevar.md +++ b/docs/recipes/codemods/cleanup/javascript/onevar.md @@ -13,12 +13,16 @@ _Enforce variables to be declared either together or separately in functions Se ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/operatorassignment.md b/docs/recipes/codemods/cleanup/javascript/operatorassignment.md index d323af1a62..932ee13fc8 100644 --- a/docs/recipes/codemods/cleanup/javascript/operatorassignment.md +++ b/docs/recipes/codemods/cleanup/javascript/operatorassignment.md @@ -13,12 +13,16 @@ _Require or disallow assignment operator shorthand where possible See [rule det ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/order.md b/docs/recipes/codemods/cleanup/javascript/order.md index 38311f46bd..661b2bd2e7 100644 --- a/docs/recipes/codemods/cleanup/javascript/order.md +++ b/docs/recipes/codemods/cleanup/javascript/order.md @@ -13,12 +13,16 @@ _Enforce a convention in module import order See rule details for [import/order] ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-import.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferaddeventlistener.md b/docs/recipes/codemods/cleanup/javascript/preferaddeventlistener.md index 926c002d04..a42b336f3b 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferaddeventlistener.md +++ b/docs/recipes/codemods/cleanup/javascript/preferaddeventlistener.md @@ -13,12 +13,16 @@ _Prefer `.addEventListener()` and `.removeEventListener()` over on-functions. Se ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferarrayfind.md b/docs/recipes/codemods/cleanup/javascript/preferarrayfind.md index 9372f881ea..6418637d7f 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarrayfind.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarrayfind.md @@ -13,12 +13,16 @@ _Prefer `.find()` and `.findLast()` over the first or last element from `.filter ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferarrayflat.md b/docs/recipes/codemods/cleanup/javascript/preferarrayflat.md index 426ae3fe79..a04614b729 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarrayflat.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarrayflat.md @@ -13,12 +13,16 @@ _Prefer `Array#flat()` over legacy techniques to flatten arrays. See [rule detai ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferarrayflatmap.md b/docs/recipes/codemods/cleanup/javascript/preferarrayflatmap.md index 3aaec1957d..324c696a14 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarrayflatmap.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarrayflatmap.md @@ -13,12 +13,16 @@ _Prefer `.flatMap()` over `.map().flat()`. See [rule details](https://github.com ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferarrayindexof.md b/docs/recipes/codemods/cleanup/javascript/preferarrayindexof.md index c4b29f2775..e943d7442b 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarrayindexof.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarrayindexof.md @@ -17,12 +17,16 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferarraysome.md b/docs/recipes/codemods/cleanup/javascript/preferarraysome.md index 11b30a69c2..d7ccec7430 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarraysome.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarraysome.md @@ -17,12 +17,16 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferarrowcallback.md b/docs/recipes/codemods/cleanup/javascript/preferarrowcallback.md index a90f5877b4..e5821fd9cc 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferarrowcallback.md +++ b/docs/recipes/codemods/cleanup/javascript/preferarrowcallback.md @@ -13,12 +13,16 @@ _Require using arrow functions for callbacks See [rule details](https://eslint. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferat.md b/docs/recipes/codemods/cleanup/javascript/preferat.md index c4d2466d76..e4d694eebe 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferat.md +++ b/docs/recipes/codemods/cleanup/javascript/preferat.md @@ -13,12 +13,16 @@ _Prefer `.at()` method for index access and `String#charAt()`. See [rule details ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferconst.md b/docs/recipes/codemods/cleanup/javascript/preferconst.md index db7c160ae3..4b511511dc 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferconst.md +++ b/docs/recipes/codemods/cleanup/javascript/preferconst.md @@ -13,12 +13,16 @@ _Require const declarations for variables that are never reassigned after declar ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferdatenow.md b/docs/recipes/codemods/cleanup/javascript/preferdatenow.md index 97d63c9a54..8ed8f04a47 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdatenow.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdatenow.md @@ -13,12 +13,16 @@ _Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch. See ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferdefaultparameters.md b/docs/recipes/codemods/cleanup/javascript/preferdefaultparameters.md index 059f7f25b9..420b6bfa97 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdefaultparameters.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdefaultparameters.md @@ -13,12 +13,16 @@ _Prefer default parameters over reassignment. See [rule details](https://github. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferdestructuring.md b/docs/recipes/codemods/cleanup/javascript/preferdestructuring.md index 87c17d89e3..7d14f999a5 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdestructuring.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdestructuring.md @@ -13,12 +13,16 @@ _Require destructuring from arrays and/or objects See [rule details](https://es ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferdomnodeappend.md b/docs/recipes/codemods/cleanup/javascript/preferdomnodeappend.md index 118448c8d6..347219ea2a 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdomnodeappend.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdomnodeappend.md @@ -13,12 +13,16 @@ _Prefer `Node#append()` over `Node#appendChild()`. See [rule details](https://gi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferdomnodedataset.md b/docs/recipes/codemods/cleanup/javascript/preferdomnodedataset.md index 3d9ff2ab69..1bbf3f5c87 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdomnodedataset.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdomnodedataset.md @@ -13,12 +13,16 @@ _Prefer using `.dataset` on DOM elements over calling attribute methods. See [ru ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferdomnoderemove.md b/docs/recipes/codemods/cleanup/javascript/preferdomnoderemove.md index 07be7aa084..9077a731f3 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferdomnoderemove.md +++ b/docs/recipes/codemods/cleanup/javascript/preferdomnoderemove.md @@ -13,12 +13,16 @@ _Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`. See [rule ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferexponentiationoperator.md b/docs/recipes/codemods/cleanup/javascript/preferexponentiationoperator.md index ea2fb22a82..ca8e1194e5 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferexponentiationoperator.md +++ b/docs/recipes/codemods/cleanup/javascript/preferexponentiationoperator.md @@ -13,12 +13,16 @@ _Disallow the use of `Math.pow` in favor of the ** operator See [rule details]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferexportfrom.md b/docs/recipes/codemods/cleanup/javascript/preferexportfrom.md index d270982890..9a7914cdc6 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferexportfrom.md +++ b/docs/recipes/codemods/cleanup/javascript/preferexportfrom.md @@ -13,12 +13,16 @@ _Prefer `export…from` when re-exporting. See [rule details](https://github.com ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferincludes.md b/docs/recipes/codemods/cleanup/javascript/preferincludes.md index 514a01476a..45d6c24aa8 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferincludes.md +++ b/docs/recipes/codemods/cleanup/javascript/preferincludes.md @@ -13,12 +13,16 @@ _Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for exi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferjsonparsebuffer.md b/docs/recipes/codemods/cleanup/javascript/preferjsonparsebuffer.md index cf4cddd162..d6aecb4929 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferjsonparsebuffer.md +++ b/docs/recipes/codemods/cleanup/javascript/preferjsonparsebuffer.md @@ -13,12 +13,16 @@ _Prefer reading a JSON file as a buffer. See [rule details](https://github.com/s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferkeyboardeventkey.md b/docs/recipes/codemods/cleanup/javascript/preferkeyboardeventkey.md index 7a14e6dafc..074b4e25e1 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferkeyboardeventkey.md +++ b/docs/recipes/codemods/cleanup/javascript/preferkeyboardeventkey.md @@ -13,12 +13,16 @@ _Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`. See [rule details](htt ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefermathtrunc.md b/docs/recipes/codemods/cleanup/javascript/prefermathtrunc.md index dfa20b6d7a..75903415d8 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefermathtrunc.md +++ b/docs/recipes/codemods/cleanup/javascript/prefermathtrunc.md @@ -13,12 +13,16 @@ _Enforce the use of `Math.trunc()` instead of bitwise operators. See [rule detai ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefermoderndomapis.md b/docs/recipes/codemods/cleanup/javascript/prefermoderndomapis.md index c13ce50edf..b531c030e0 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefermoderndomapis.md +++ b/docs/recipes/codemods/cleanup/javascript/prefermoderndomapis.md @@ -13,12 +13,16 @@ _Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefermodernmathapis.md b/docs/recipes/codemods/cleanup/javascript/prefermodernmathapis.md index 9171828bf4..f39f7e6630 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefermodernmathapis.md +++ b/docs/recipes/codemods/cleanup/javascript/prefermodernmathapis.md @@ -13,12 +13,16 @@ _Prefer modern Math APIs over legacy patterns. See [rule details](https://github ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefermodule.md b/docs/recipes/codemods/cleanup/javascript/prefermodule.md index fa93d18ef3..0d38b1c285 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefermodule.md +++ b/docs/recipes/codemods/cleanup/javascript/prefermodule.md @@ -13,12 +13,16 @@ _Prefer JavaScript modules (ESM) over CommonJS. See [rule details](https://githu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefernativecoercionfunctions.md b/docs/recipes/codemods/cleanup/javascript/prefernativecoercionfunctions.md index 3975f0fdfa..ae733ec351 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefernativecoercionfunctions.md +++ b/docs/recipes/codemods/cleanup/javascript/prefernativecoercionfunctions.md @@ -13,12 +13,16 @@ _Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly. Se ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefernegativeindex.md b/docs/recipes/codemods/cleanup/javascript/prefernegativeindex.md index 69d45fa902..747b10717e 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefernegativeindex.md +++ b/docs/recipes/codemods/cleanup/javascript/prefernegativeindex.md @@ -13,12 +13,16 @@ _Prefer negative index over `.length - index` when possible. See [rule details]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefernodeprotocol.md b/docs/recipes/codemods/cleanup/javascript/prefernodeprotocol.md index 8ff92e253a..a2b26c75a8 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefernodeprotocol.md +++ b/docs/recipes/codemods/cleanup/javascript/prefernodeprotocol.md @@ -13,12 +13,16 @@ _Prefer using the `node:` protocol when importing Node.js builtin modules. See [ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefernumberproperties.md b/docs/recipes/codemods/cleanup/javascript/prefernumberproperties.md index 241fd4340f..6e616771f0 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefernumberproperties.md +++ b/docs/recipes/codemods/cleanup/javascript/prefernumberproperties.md @@ -13,12 +13,16 @@ _Prefer `Number` static properties over global ones. See [rule details](https:// ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefernumericliterals.md b/docs/recipes/codemods/cleanup/javascript/prefernumericliterals.md index d5db10238f..e193531c62 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefernumericliterals.md +++ b/docs/recipes/codemods/cleanup/javascript/prefernumericliterals.md @@ -13,12 +13,16 @@ _Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and he ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferobjectfromentries.md b/docs/recipes/codemods/cleanup/javascript/preferobjectfromentries.md index 8045557a5f..787c707e01 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferobjectfromentries.md +++ b/docs/recipes/codemods/cleanup/javascript/preferobjectfromentries.md @@ -13,12 +13,16 @@ _Prefer using `Object.fromEntries()` to transform a list of key-value pairs into ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferobjecthasown.md b/docs/recipes/codemods/cleanup/javascript/preferobjecthasown.md index 23f654db81..64e4ce9ce2 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferobjecthasown.md +++ b/docs/recipes/codemods/cleanup/javascript/preferobjecthasown.md @@ -13,12 +13,16 @@ _Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Obj ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferobjectspread.md b/docs/recipes/codemods/cleanup/javascript/preferobjectspread.md index e16cf97203..87abc10bf7 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferobjectspread.md +++ b/docs/recipes/codemods/cleanup/javascript/preferobjectspread.md @@ -13,12 +13,16 @@ _Disallow using `Object.assign` with an object literal as the first argument and ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferoptionalcatchbinding.md b/docs/recipes/codemods/cleanup/javascript/preferoptionalcatchbinding.md index 6465dc6ef9..ee2ea558b3 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferoptionalcatchbinding.md +++ b/docs/recipes/codemods/cleanup/javascript/preferoptionalcatchbinding.md @@ -13,12 +13,16 @@ _Prefer omitting the catch binding parameter. See [rule details](https://github. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferprototypemethods.md b/docs/recipes/codemods/cleanup/javascript/preferprototypemethods.md index 0385b7204e..211a2383ee 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferprototypemethods.md +++ b/docs/recipes/codemods/cleanup/javascript/preferprototypemethods.md @@ -13,12 +13,16 @@ _Prefer borrowing methods from the prototype instead of the instance. See [rule ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferqueryselector.md b/docs/recipes/codemods/cleanup/javascript/preferqueryselector.md index bc0042cc8c..628aecbae9 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferqueryselector.md +++ b/docs/recipes/codemods/cleanup/javascript/preferqueryselector.md @@ -13,12 +13,16 @@ _Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferreflectapply.md b/docs/recipes/codemods/cleanup/javascript/preferreflectapply.md index 1dda8d190f..6487cbffe3 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferreflectapply.md +++ b/docs/recipes/codemods/cleanup/javascript/preferreflectapply.md @@ -13,12 +13,16 @@ _Prefer `Reflect.apply()` over `Function#apply()`. See [rule details](https://gi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferregexptest.md b/docs/recipes/codemods/cleanup/javascript/preferregexptest.md index bfb1984bbd..d5689cd1da 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferregexptest.md +++ b/docs/recipes/codemods/cleanup/javascript/preferregexptest.md @@ -13,12 +13,16 @@ _Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`. See [rule det ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefersethas.md b/docs/recipes/codemods/cleanup/javascript/prefersethas.md index d977b3d9fe..4ee43cf5b3 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefersethas.md +++ b/docs/recipes/codemods/cleanup/javascript/prefersethas.md @@ -13,12 +13,16 @@ _Prefer `Set#has()` over `Array#includes()` when checking for existence or non-e ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefersetsize.md b/docs/recipes/codemods/cleanup/javascript/prefersetsize.md index b9263b2882..120aad5871 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefersetsize.md +++ b/docs/recipes/codemods/cleanup/javascript/prefersetsize.md @@ -13,12 +13,16 @@ _Prefer using `Set#size` instead of `Array#length`. See [rule details](https://g ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferspread.md b/docs/recipes/codemods/cleanup/javascript/preferspread.md index ce03a3fd58..4c5b7a94a7 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferspread.md +++ b/docs/recipes/codemods/cleanup/javascript/preferspread.md @@ -17,12 +17,16 @@ See [rule details](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/ma ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferstringreplaceall.md b/docs/recipes/codemods/cleanup/javascript/preferstringreplaceall.md index 44b51869d6..a015c3870e 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferstringreplaceall.md +++ b/docs/recipes/codemods/cleanup/javascript/preferstringreplaceall.md @@ -13,12 +13,16 @@ _Prefer `String#replaceAll()` over regex searches with the global flag. See [rul ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferstringslice.md b/docs/recipes/codemods/cleanup/javascript/preferstringslice.md index 9b7063aaa3..48d5bf6585 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferstringslice.md +++ b/docs/recipes/codemods/cleanup/javascript/preferstringslice.md @@ -13,12 +13,16 @@ _Prefer `String#slice()` over `String#substr()` and `String#substring()`. See [r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferstringstartsendswith.md b/docs/recipes/codemods/cleanup/javascript/preferstringstartsendswith.md index 1bf76af1f1..c3155e1fca 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferstringstartsendswith.md +++ b/docs/recipes/codemods/cleanup/javascript/preferstringstartsendswith.md @@ -13,12 +13,16 @@ _Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`. See [r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferstringtrimstartend.md b/docs/recipes/codemods/cleanup/javascript/preferstringtrimstartend.md index c2eec518df..f78952835d 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferstringtrimstartend.md +++ b/docs/recipes/codemods/cleanup/javascript/preferstringtrimstartend.md @@ -13,12 +13,16 @@ _Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `St ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferswitch.md b/docs/recipes/codemods/cleanup/javascript/preferswitch.md index 5943223412..f36e445cfa 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferswitch.md +++ b/docs/recipes/codemods/cleanup/javascript/preferswitch.md @@ -13,12 +13,16 @@ _Prefer `switch` over multiple `else-if`. See [rule details](https://github.com/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefertemplate.md b/docs/recipes/codemods/cleanup/javascript/prefertemplate.md index cb78704c7c..fd1115e25d 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefertemplate.md +++ b/docs/recipes/codemods/cleanup/javascript/prefertemplate.md @@ -13,12 +13,16 @@ _Require template literals instead of string concatenation See [rule details](h ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preferternary.md b/docs/recipes/codemods/cleanup/javascript/preferternary.md index bae09968f7..b94508185d 100644 --- a/docs/recipes/codemods/cleanup/javascript/preferternary.md +++ b/docs/recipes/codemods/cleanup/javascript/preferternary.md @@ -13,12 +13,16 @@ _Prefer ternary expressions over simple `if-else` statements. See [rule details] ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/prefertypeerror.md b/docs/recipes/codemods/cleanup/javascript/prefertypeerror.md index ddc77ca1d5..08530c0420 100644 --- a/docs/recipes/codemods/cleanup/javascript/prefertypeerror.md +++ b/docs/recipes/codemods/cleanup/javascript/prefertypeerror.md @@ -13,12 +13,16 @@ _Enforce throwing `TypeError` in type checking conditions. See [rule details](ht ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/preventabbreviations.md b/docs/recipes/codemods/cleanup/javascript/preventabbreviations.md index d2a74a3326..6d1705f8bf 100644 --- a/docs/recipes/codemods/cleanup/javascript/preventabbreviations.md +++ b/docs/recipes/codemods/cleanup/javascript/preventabbreviations.md @@ -13,12 +13,16 @@ _Prevent abbreviations. See [rule details](https://github.com/sindresorhus/eslin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/relativeurlstyle.md b/docs/recipes/codemods/cleanup/javascript/relativeurlstyle.md index 8f6e30b407..27688a984b 100644 --- a/docs/recipes/codemods/cleanup/javascript/relativeurlstyle.md +++ b/docs/recipes/codemods/cleanup/javascript/relativeurlstyle.md @@ -13,12 +13,16 @@ _Enforce consistent relative URL style. See [rule details](https://github.com/si ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/requirearrayjoinseparator.md b/docs/recipes/codemods/cleanup/javascript/requirearrayjoinseparator.md index c5a74e2b3f..cde7507eea 100644 --- a/docs/recipes/codemods/cleanup/javascript/requirearrayjoinseparator.md +++ b/docs/recipes/codemods/cleanup/javascript/requirearrayjoinseparator.md @@ -13,12 +13,16 @@ _Enforce using the separator argument with `Array#join()`. See [rule details](ht ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/requirenumbertofixeddigitsargument.md b/docs/recipes/codemods/cleanup/javascript/requirenumbertofixeddigitsargument.md index 9435147227..fa1495cb42 100644 --- a/docs/recipes/codemods/cleanup/javascript/requirenumbertofixeddigitsargument.md +++ b/docs/recipes/codemods/cleanup/javascript/requirenumbertofixeddigitsargument.md @@ -13,12 +13,16 @@ _Enforce using the digits argument with `Number#toFixed()`. See [rule details](h ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/sortimports.md b/docs/recipes/codemods/cleanup/javascript/sortimports.md index 8e1f6aa7ab..bfc4be2c83 100644 --- a/docs/recipes/codemods/cleanup/javascript/sortimports.md +++ b/docs/recipes/codemods/cleanup/javascript/sortimports.md @@ -13,12 +13,16 @@ _Enforce sorted import declarations within modules See [rule details](https://e ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/sortvars.md b/docs/recipes/codemods/cleanup/javascript/sortvars.md index 863006ca1f..afe5953824 100644 --- a/docs/recipes/codemods/cleanup/javascript/sortvars.md +++ b/docs/recipes/codemods/cleanup/javascript/sortvars.md @@ -13,12 +13,16 @@ _Require variables within the same declaration block to be sorted See [rule det ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/strict.md b/docs/recipes/codemods/cleanup/javascript/strict.md index 247b3304e5..8c702aae1e 100644 --- a/docs/recipes/codemods/cleanup/javascript/strict.md +++ b/docs/recipes/codemods/cleanup/javascript/strict.md @@ -13,12 +13,16 @@ _Require or disallow strict mode directives See [rule details](https://eslint.o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/stringcontent.md b/docs/recipes/codemods/cleanup/javascript/stringcontent.md index c2f7ba821e..440f0d3cab 100644 --- a/docs/recipes/codemods/cleanup/javascript/stringcontent.md +++ b/docs/recipes/codemods/cleanup/javascript/stringcontent.md @@ -13,12 +13,16 @@ _Enforce better string content. See [rule details](https://github.com/sindresorh ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/switchcasebraces.md b/docs/recipes/codemods/cleanup/javascript/switchcasebraces.md index b822de5ec9..483b47ce01 100644 --- a/docs/recipes/codemods/cleanup/javascript/switchcasebraces.md +++ b/docs/recipes/codemods/cleanup/javascript/switchcasebraces.md @@ -13,12 +13,16 @@ _Enforce consistent brace style for case clauses. See [rule details](https://git ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/templateindent.md b/docs/recipes/codemods/cleanup/javascript/templateindent.md index ccf907b03e..e771b77475 100644 --- a/docs/recipes/codemods/cleanup/javascript/templateindent.md +++ b/docs/recipes/codemods/cleanup/javascript/templateindent.md @@ -13,12 +13,16 @@ _Fix whitespace-insensitive template indentation. See [rule details](https://git ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/textencodingidentifiercase.md b/docs/recipes/codemods/cleanup/javascript/textencodingidentifiercase.md index 1eeb70fdb5..d18911a93e 100644 --- a/docs/recipes/codemods/cleanup/javascript/textencodingidentifiercase.md +++ b/docs/recipes/codemods/cleanup/javascript/textencodingidentifiercase.md @@ -13,12 +13,16 @@ _Enforce consistent case for text encoding identifiers. See [rule details](https ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/thrownewerror.md b/docs/recipes/codemods/cleanup/javascript/thrownewerror.md index 90e382cf74..d637ae11d0 100644 --- a/docs/recipes/codemods/cleanup/javascript/thrownewerror.md +++ b/docs/recipes/codemods/cleanup/javascript/thrownewerror.md @@ -13,12 +13,16 @@ _Require `new` when throwing an error. See [rule details](https://github.com/sin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/unicorn.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/unicodebom.md b/docs/recipes/codemods/cleanup/javascript/unicodebom.md index 47dac5056c..c054afbb1b 100644 --- a/docs/recipes/codemods/cleanup/javascript/unicodebom.md +++ b/docs/recipes/codemods/cleanup/javascript/unicodebom.md @@ -13,12 +13,16 @@ _Require or disallow Unicode byte order mark (BOM) See [rule details](https://e ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/javascript/yoda.md b/docs/recipes/codemods/cleanup/javascript/yoda.md index c6531aa320..f9874c4d4f 100644 --- a/docs/recipes/codemods/cleanup/javascript/yoda.md +++ b/docs/recipes/codemods/cleanup/javascript/yoda.md @@ -13,12 +13,16 @@ _Require or disallow "Yoda" conditions See [rule details](https://eslint.org/doc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/base-eslint.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/consistenttestit.md b/docs/recipes/codemods/cleanup/jest/consistenttestit.md index 6b4a76bc52..02032fe45e 100644 --- a/docs/recipes/codemods/cleanup/jest/consistenttestit.md +++ b/docs/recipes/codemods/cleanup/jest/consistenttestit.md @@ -19,12 +19,16 @@ _Enforce test and it usage conventions See rule details for [jest/consistent-tes ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/noaliasmethods.md b/docs/recipes/codemods/cleanup/jest/noaliasmethods.md index 70476104ed..a3083f6e5d 100644 --- a/docs/recipes/codemods/cleanup/jest/noaliasmethods.md +++ b/docs/recipes/codemods/cleanup/jest/noaliasmethods.md @@ -19,12 +19,16 @@ _Disallow alias methods See rule details for [jest/no-alias-methods](https://git ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/nodeprecatedfunctions27.md b/docs/recipes/codemods/cleanup/jest/nodeprecatedfunctions27.md index 0c9df79abe..0b1a3dc6bf 100644 --- a/docs/recipes/codemods/cleanup/jest/nodeprecatedfunctions27.md +++ b/docs/recipes/codemods/cleanup/jest/nodeprecatedfunctions27.md @@ -19,12 +19,16 @@ _Disallow use of deprecated functions from before version 27 See rule details fo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/nojasmineglobals.md b/docs/recipes/codemods/cleanup/jest/nojasmineglobals.md index ed9e218970..9a413e3ea7 100644 --- a/docs/recipes/codemods/cleanup/jest/nojasmineglobals.md +++ b/docs/recipes/codemods/cleanup/jest/nojasmineglobals.md @@ -19,12 +19,16 @@ _Disallow Jasmine globals See rule details for [jest/no-jasmine-globals](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/notestprefixes.md b/docs/recipes/codemods/cleanup/jest/notestprefixes.md index 07dae84b9b..e5860069e1 100644 --- a/docs/recipes/codemods/cleanup/jest/notestprefixes.md +++ b/docs/recipes/codemods/cleanup/jest/notestprefixes.md @@ -19,12 +19,16 @@ _Require using .only and .skip over f and x See rule details for [jest/no-test-p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/nountypedmockfactory.md b/docs/recipes/codemods/cleanup/jest/nountypedmockfactory.md index 75056344e6..4f169c9b6e 100644 --- a/docs/recipes/codemods/cleanup/jest/nountypedmockfactory.md +++ b/docs/recipes/codemods/cleanup/jest/nountypedmockfactory.md @@ -19,12 +19,16 @@ _Disallow using jest.mock() factories without an explicit type parameter See rul ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/prefercomparisonmatcher.md b/docs/recipes/codemods/cleanup/jest/prefercomparisonmatcher.md index fc0d5ff8af..8b02339a3f 100644 --- a/docs/recipes/codemods/cleanup/jest/prefercomparisonmatcher.md +++ b/docs/recipes/codemods/cleanup/jest/prefercomparisonmatcher.md @@ -19,12 +19,16 @@ _Suggest using the built-in comparison matchers See rule details for [jest/prefe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/preferexpectresolves.md b/docs/recipes/codemods/cleanup/jest/preferexpectresolves.md index 3710fd6504..f7b6904e60 100644 --- a/docs/recipes/codemods/cleanup/jest/preferexpectresolves.md +++ b/docs/recipes/codemods/cleanup/jest/preferexpectresolves.md @@ -19,12 +19,16 @@ _Prefer await expect(...).resolves over expect(await ...) syntax See rule detail ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/preferlowercasetitle.md b/docs/recipes/codemods/cleanup/jest/preferlowercasetitle.md index 23f55d181b..4ba2327488 100644 --- a/docs/recipes/codemods/cleanup/jest/preferlowercasetitle.md +++ b/docs/recipes/codemods/cleanup/jest/preferlowercasetitle.md @@ -19,12 +19,16 @@ _Enforce lowercase test names See rule details for [jest/prefer-lowercase-title] ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/prefermockpromiseshorthand.md b/docs/recipes/codemods/cleanup/jest/prefermockpromiseshorthand.md index 9ea616d741..63bc457260 100644 --- a/docs/recipes/codemods/cleanup/jest/prefermockpromiseshorthand.md +++ b/docs/recipes/codemods/cleanup/jest/prefermockpromiseshorthand.md @@ -19,12 +19,16 @@ _Prefer mock resolved/rejected shorthands for promises See rule details for [jes ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/preferspyon.md b/docs/recipes/codemods/cleanup/jest/preferspyon.md index 11b8a9d07a..458c84f9ea 100644 --- a/docs/recipes/codemods/cleanup/jest/preferspyon.md +++ b/docs/recipes/codemods/cleanup/jest/preferspyon.md @@ -19,12 +19,16 @@ _Suggest using jest.spyOn() See rule details for [jest/prefer-spy-on](https://gi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/prefertobe.md b/docs/recipes/codemods/cleanup/jest/prefertobe.md index 5c67aecf3f..7f56683f86 100644 --- a/docs/recipes/codemods/cleanup/jest/prefertobe.md +++ b/docs/recipes/codemods/cleanup/jest/prefertobe.md @@ -19,12 +19,16 @@ _Suggest using toBe() for primitive literals See rule details for [jest/prefer-t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/prefertocontain.md b/docs/recipes/codemods/cleanup/jest/prefertocontain.md index 5bc2ebed40..f7476d116f 100644 --- a/docs/recipes/codemods/cleanup/jest/prefertocontain.md +++ b/docs/recipes/codemods/cleanup/jest/prefertocontain.md @@ -19,12 +19,16 @@ _Suggest using toContain() See rule details for [jest/prefer-to-contain](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/prefertodo.md b/docs/recipes/codemods/cleanup/jest/prefertodo.md index 384d9a08d0..54870c9021 100644 --- a/docs/recipes/codemods/cleanup/jest/prefertodo.md +++ b/docs/recipes/codemods/cleanup/jest/prefertodo.md @@ -19,12 +19,16 @@ _Suggest using test.todo See rule details for [jest/prefer-todo](https://github. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/prefertohavelength.md b/docs/recipes/codemods/cleanup/jest/prefertohavelength.md index c04db4848b..08da38a5e8 100644 --- a/docs/recipes/codemods/cleanup/jest/prefertohavelength.md +++ b/docs/recipes/codemods/cleanup/jest/prefertohavelength.md @@ -19,12 +19,16 @@ _Suggest using toHaveLength() See rule details for [jest/prefer-to-have-length]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/recommendedjestcodecleanup.md b/docs/recipes/codemods/cleanup/jest/recommendedjestcodecleanup.md index 411a617d01..3a2846b7bf 100644 --- a/docs/recipes/codemods/cleanup/jest/recommendedjestcodecleanup.md +++ b/docs/recipes/codemods/cleanup/jest/recommendedjestcodecleanup.md @@ -19,12 +19,16 @@ _Collection of cleanup ESLint rules that are recommended by [eslint-plugin-jest] ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/jest/validtitle.md b/docs/recipes/codemods/cleanup/jest/validtitle.md index e16f96d38c..ffd696002a 100644 --- a/docs/recipes/codemods/cleanup/jest/validtitle.md +++ b/docs/recipes/codemods/cleanup/jest/validtitle.md @@ -19,12 +19,16 @@ _Enforce valid titles See rule details for [jest/valid-title](https://github.com ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-jest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/destructuringassignment.md b/docs/recipes/codemods/cleanup/react/destructuringassignment.md index 1ef5ea118f..1b022eafe1 100644 --- a/docs/recipes/codemods/cleanup/react/destructuringassignment.md +++ b/docs/recipes/codemods/cleanup/react/destructuringassignment.md @@ -13,12 +13,16 @@ _Enforce consistent usage of destructuring assignment of props, state, and conte ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/functioncomponentdefinition.md b/docs/recipes/codemods/cleanup/react/functioncomponentdefinition.md index 3f23fbbd78..fbc5a2fae3 100644 --- a/docs/recipes/codemods/cleanup/react/functioncomponentdefinition.md +++ b/docs/recipes/codemods/cleanup/react/functioncomponentdefinition.md @@ -13,12 +13,16 @@ _Enforce a specific function type for function components See rule details for [ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxbooleanvalue.md b/docs/recipes/codemods/cleanup/react/jsxbooleanvalue.md index d305cffc50..c72986dd19 100644 --- a/docs/recipes/codemods/cleanup/react/jsxbooleanvalue.md +++ b/docs/recipes/codemods/cleanup/react/jsxbooleanvalue.md @@ -13,12 +13,16 @@ _Enforce boolean attributes notation in JSX See rule details for [react/jsx-bool ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxclosingbracketlocation.md b/docs/recipes/codemods/cleanup/react/jsxclosingbracketlocation.md index 9ebccd456e..9d1aabff08 100644 --- a/docs/recipes/codemods/cleanup/react/jsxclosingbracketlocation.md +++ b/docs/recipes/codemods/cleanup/react/jsxclosingbracketlocation.md @@ -13,12 +13,16 @@ _Enforce closing bracket location in JSX See rule details for [react/jsx-closing ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxclosingtaglocation.md b/docs/recipes/codemods/cleanup/react/jsxclosingtaglocation.md index b9746553b9..2eac3abe2a 100644 --- a/docs/recipes/codemods/cleanup/react/jsxclosingtaglocation.md +++ b/docs/recipes/codemods/cleanup/react/jsxclosingtaglocation.md @@ -13,12 +13,16 @@ _Enforce closing tag location for multiline JSX See rule details for [react/jsx- ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxcurlybracepresence.md b/docs/recipes/codemods/cleanup/react/jsxcurlybracepresence.md index 76632553e7..10af8d764e 100644 --- a/docs/recipes/codemods/cleanup/react/jsxcurlybracepresence.md +++ b/docs/recipes/codemods/cleanup/react/jsxcurlybracepresence.md @@ -13,12 +13,16 @@ _Disallow unnecessary JSX expressions when literals alone are sufficient or enfo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxcurlynewline.md b/docs/recipes/codemods/cleanup/react/jsxcurlynewline.md index e67243c1ae..b0bfc9b6bd 100644 --- a/docs/recipes/codemods/cleanup/react/jsxcurlynewline.md +++ b/docs/recipes/codemods/cleanup/react/jsxcurlynewline.md @@ -13,12 +13,16 @@ _Enforce consistent linebreaks in curly braces in JSX attributes and expressions ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxcurlyspacing.md b/docs/recipes/codemods/cleanup/react/jsxcurlyspacing.md index 5cedc4b3de..c871202c86 100644 --- a/docs/recipes/codemods/cleanup/react/jsxcurlyspacing.md +++ b/docs/recipes/codemods/cleanup/react/jsxcurlyspacing.md @@ -13,12 +13,16 @@ _Enforce or disallow spaces inside of curly braces in JSX attributes and express ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxequalsspacing.md b/docs/recipes/codemods/cleanup/react/jsxequalsspacing.md index fe7e58838c..17122fd33d 100644 --- a/docs/recipes/codemods/cleanup/react/jsxequalsspacing.md +++ b/docs/recipes/codemods/cleanup/react/jsxequalsspacing.md @@ -13,12 +13,16 @@ _Enforce or disallow spaces around equal signs in JSX attributes See rule detail ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxfirstpropnewline.md b/docs/recipes/codemods/cleanup/react/jsxfirstpropnewline.md index 5947069565..85c28d3e39 100644 --- a/docs/recipes/codemods/cleanup/react/jsxfirstpropnewline.md +++ b/docs/recipes/codemods/cleanup/react/jsxfirstpropnewline.md @@ -13,12 +13,16 @@ _Enforce proper position of the first property in JSX See rule details for [reac ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxfragments.md b/docs/recipes/codemods/cleanup/react/jsxfragments.md index f1a667b861..4b19051c7b 100644 --- a/docs/recipes/codemods/cleanup/react/jsxfragments.md +++ b/docs/recipes/codemods/cleanup/react/jsxfragments.md @@ -13,12 +13,16 @@ _Enforce shorthand or standard form for React fragments See rule details for [re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxindent.md b/docs/recipes/codemods/cleanup/react/jsxindent.md index cd9f038af5..9c969ed17f 100644 --- a/docs/recipes/codemods/cleanup/react/jsxindent.md +++ b/docs/recipes/codemods/cleanup/react/jsxindent.md @@ -13,12 +13,16 @@ _Enforce JSX indentation See rule details for [react/jsx-indent](https://github. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxindentprops.md b/docs/recipes/codemods/cleanup/react/jsxindentprops.md index 562865d204..8e5ffb28e8 100644 --- a/docs/recipes/codemods/cleanup/react/jsxindentprops.md +++ b/docs/recipes/codemods/cleanup/react/jsxindentprops.md @@ -13,12 +13,16 @@ _Enforce props indentation in JSX See rule details for [react/jsx-indent-props]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxmaxpropsperline.md b/docs/recipes/codemods/cleanup/react/jsxmaxpropsperline.md index ec39ec5143..2834368254 100644 --- a/docs/recipes/codemods/cleanup/react/jsxmaxpropsperline.md +++ b/docs/recipes/codemods/cleanup/react/jsxmaxpropsperline.md @@ -13,12 +13,16 @@ _Enforce maximum of props on a single line in JSX See rule details for [react/js ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxnewline.md b/docs/recipes/codemods/cleanup/react/jsxnewline.md index 8ef33f1cb5..9ccc60a794 100644 --- a/docs/recipes/codemods/cleanup/react/jsxnewline.md +++ b/docs/recipes/codemods/cleanup/react/jsxnewline.md @@ -13,12 +13,16 @@ _Require or prevent a new line after jsx elements and expressions See rule detai ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxnoleakedrender.md b/docs/recipes/codemods/cleanup/react/jsxnoleakedrender.md index 62e8d8e1a4..adc1018956 100644 --- a/docs/recipes/codemods/cleanup/react/jsxnoleakedrender.md +++ b/docs/recipes/codemods/cleanup/react/jsxnoleakedrender.md @@ -13,12 +13,16 @@ _Disallow problematic leaked values from being rendered See rule details for [re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxnotargetblank.md b/docs/recipes/codemods/cleanup/react/jsxnotargetblank.md index c9c779dba1..c4226ba66f 100644 --- a/docs/recipes/codemods/cleanup/react/jsxnotargetblank.md +++ b/docs/recipes/codemods/cleanup/react/jsxnotargetblank.md @@ -13,12 +13,16 @@ _Disallow target="_blank" attribute without rel="noreferrer" See rule details fo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxnouselessfragment.md b/docs/recipes/codemods/cleanup/react/jsxnouselessfragment.md index 94df41e346..db6b522a84 100644 --- a/docs/recipes/codemods/cleanup/react/jsxnouselessfragment.md +++ b/docs/recipes/codemods/cleanup/react/jsxnouselessfragment.md @@ -13,12 +13,16 @@ _Disallow unnecessary fragments See rule details for [react/jsx-no-useless-fragm ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxoneexpressionperline.md b/docs/recipes/codemods/cleanup/react/jsxoneexpressionperline.md index bf1bc0fe54..1b970cd225 100644 --- a/docs/recipes/codemods/cleanup/react/jsxoneexpressionperline.md +++ b/docs/recipes/codemods/cleanup/react/jsxoneexpressionperline.md @@ -13,12 +13,16 @@ _Require one JSX element per line See rule details for [react/jsx-one-expression ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxpropsnomultispaces.md b/docs/recipes/codemods/cleanup/react/jsxpropsnomultispaces.md index a772d6e4db..01956fbcbd 100644 --- a/docs/recipes/codemods/cleanup/react/jsxpropsnomultispaces.md +++ b/docs/recipes/codemods/cleanup/react/jsxpropsnomultispaces.md @@ -13,12 +13,16 @@ _Disallow multiple spaces between inline JSX props See rule details for [react/j ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxsortprops.md b/docs/recipes/codemods/cleanup/react/jsxsortprops.md index ae288f50d9..5eb36d0e63 100644 --- a/docs/recipes/codemods/cleanup/react/jsxsortprops.md +++ b/docs/recipes/codemods/cleanup/react/jsxsortprops.md @@ -13,12 +13,16 @@ _Enforce props alphabetical sorting See rule details for [react/jsx-sort-props]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxspacebeforeclosing.md b/docs/recipes/codemods/cleanup/react/jsxspacebeforeclosing.md index 201c67dfc8..5f4fb51540 100644 --- a/docs/recipes/codemods/cleanup/react/jsxspacebeforeclosing.md +++ b/docs/recipes/codemods/cleanup/react/jsxspacebeforeclosing.md @@ -13,12 +13,16 @@ _Enforce spacing before closing bracket in JSX See rule details for [react/jsx-s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxtagspacing.md b/docs/recipes/codemods/cleanup/react/jsxtagspacing.md index 2177fa8293..a80ce0b9b1 100644 --- a/docs/recipes/codemods/cleanup/react/jsxtagspacing.md +++ b/docs/recipes/codemods/cleanup/react/jsxtagspacing.md @@ -13,12 +13,16 @@ _Enforce whitespace in and around the JSX opening and closing brackets See rule ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/jsxwrapmultilines.md b/docs/recipes/codemods/cleanup/react/jsxwrapmultilines.md index 6ea8054bcf..cdeddbd7ce 100644 --- a/docs/recipes/codemods/cleanup/react/jsxwrapmultilines.md +++ b/docs/recipes/codemods/cleanup/react/jsxwrapmultilines.md @@ -13,12 +13,16 @@ _Disallow missing parentheses around multiline JSX See rule details for [react/j ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/noarrowfunctionlifecycle.md b/docs/recipes/codemods/cleanup/react/noarrowfunctionlifecycle.md index fb3a9a1e88..08b94047c0 100644 --- a/docs/recipes/codemods/cleanup/react/noarrowfunctionlifecycle.md +++ b/docs/recipes/codemods/cleanup/react/noarrowfunctionlifecycle.md @@ -13,12 +13,16 @@ _Lifecycle methods should be methods on the prototype, not class fields See rule ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/nounknownproperty.md b/docs/recipes/codemods/cleanup/react/nounknownproperty.md index a481f2f8ba..4858d68971 100644 --- a/docs/recipes/codemods/cleanup/react/nounknownproperty.md +++ b/docs/recipes/codemods/cleanup/react/nounknownproperty.md @@ -13,12 +13,16 @@ _Disallow usage of unknown DOM property See rule details for [react/no-unknown-p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/preferreadonlyprops.md b/docs/recipes/codemods/cleanup/react/preferreadonlyprops.md index 1b52f07c6b..365ef6f4e5 100644 --- a/docs/recipes/codemods/cleanup/react/preferreadonlyprops.md +++ b/docs/recipes/codemods/cleanup/react/preferreadonlyprops.md @@ -13,12 +13,16 @@ _Enforce that props are read-only See rule details for [react/prefer-read-only-p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/selfclosingcomp.md b/docs/recipes/codemods/cleanup/react/selfclosingcomp.md index 6425b01a1e..73cf6106e6 100644 --- a/docs/recipes/codemods/cleanup/react/selfclosingcomp.md +++ b/docs/recipes/codemods/cleanup/react/selfclosingcomp.md @@ -13,12 +13,16 @@ _Disallow extra closing tags for components without children See rule details fo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/react/sortproptypes.md b/docs/recipes/codemods/cleanup/react/sortproptypes.md index f99c4c78da..cfeb157304 100644 --- a/docs/recipes/codemods/cleanup/react/sortproptypes.md +++ b/docs/recipes/codemods/cleanup/react/sortproptypes.md @@ -13,12 +13,16 @@ _Enforce propTypes declarations alphabetical sorting See rule details for [react ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/storybook/awaitinteractions.md b/docs/recipes/codemods/cleanup/storybook/awaitinteractions.md index 2321bcbef4..2099d900f5 100644 --- a/docs/recipes/codemods/cleanup/storybook/awaitinteractions.md +++ b/docs/recipes/codemods/cleanup/storybook/awaitinteractions.md @@ -19,12 +19,16 @@ _Interactions should be awaited See rule details for [storybook/await-interactio ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-storybook.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/storybook/defaultexports.md b/docs/recipes/codemods/cleanup/storybook/defaultexports.md index e116075274..dfa2345aea 100644 --- a/docs/recipes/codemods/cleanup/storybook/defaultexports.md +++ b/docs/recipes/codemods/cleanup/storybook/defaultexports.md @@ -19,12 +19,16 @@ _Story files should have a default export See rule details for [storybook/defaul ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-storybook.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/storybook/hierarchyseparator.md b/docs/recipes/codemods/cleanup/storybook/hierarchyseparator.md index 41d04c3aca..7d146dd2b9 100644 --- a/docs/recipes/codemods/cleanup/storybook/hierarchyseparator.md +++ b/docs/recipes/codemods/cleanup/storybook/hierarchyseparator.md @@ -19,12 +19,16 @@ _Deprecated hierarchy separator in title property See rule details for [storyboo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-storybook.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/storybook/noredundantstoryname.md b/docs/recipes/codemods/cleanup/storybook/noredundantstoryname.md index 113b2a592e..1ee5294010 100644 --- a/docs/recipes/codemods/cleanup/storybook/noredundantstoryname.md +++ b/docs/recipes/codemods/cleanup/storybook/noredundantstoryname.md @@ -19,12 +19,16 @@ _A story should not have a redundant name property See rule details for [storybo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-storybook.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/storybook/notitlepropertyinmeta.md b/docs/recipes/codemods/cleanup/storybook/notitlepropertyinmeta.md index 42d30c24ad..00c4a59a58 100644 --- a/docs/recipes/codemods/cleanup/storybook/notitlepropertyinmeta.md +++ b/docs/recipes/codemods/cleanup/storybook/notitlepropertyinmeta.md @@ -19,12 +19,16 @@ _Do not define a title in meta See rule details for [storybook/no-title-property ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-storybook.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/storybook/preferpascalcase.md b/docs/recipes/codemods/cleanup/storybook/preferpascalcase.md index 1d3358617b..bd6423c6f4 100644 --- a/docs/recipes/codemods/cleanup/storybook/preferpascalcase.md +++ b/docs/recipes/codemods/cleanup/storybook/preferpascalcase.md @@ -19,12 +19,16 @@ _Stories should use PascalCase See rule details for [storybook/prefer-pascal-cas ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-storybook.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/storybook/recommendedstorybookcodecleanup.md b/docs/recipes/codemods/cleanup/storybook/recommendedstorybookcodecleanup.md index 2f2c849444..324989df07 100644 --- a/docs/recipes/codemods/cleanup/storybook/recommendedstorybookcodecleanup.md +++ b/docs/recipes/codemods/cleanup/storybook/recommendedstorybookcodecleanup.md @@ -19,12 +19,16 @@ _Collection of cleanup ESLint rules from [eslint-plugin-storybook](https://githu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-storybook.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/storybook/usestorybookexpect.md b/docs/recipes/codemods/cleanup/storybook/usestorybookexpect.md index ea8b110b6d..70fa8364d2 100644 --- a/docs/recipes/codemods/cleanup/storybook/usestorybookexpect.md +++ b/docs/recipes/codemods/cleanup/storybook/usestorybookexpect.md @@ -19,12 +19,16 @@ _Use expect from @storybook/jest See rule details for [storybook/use-storybook-e ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-storybook.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/storybook/usestorybooktestinglibrary.md b/docs/recipes/codemods/cleanup/storybook/usestorybooktestinglibrary.md index 4e6eb63b03..2e0db1422a 100644 --- a/docs/recipes/codemods/cleanup/storybook/usestorybooktestinglibrary.md +++ b/docs/recipes/codemods/cleanup/storybook/usestorybooktestinglibrary.md @@ -19,12 +19,16 @@ _Do not use testing-library directly on stories See rule details for [storybook/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-storybook.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/firstattributelinebreak.md b/docs/recipes/codemods/cleanup/svelte/firstattributelinebreak.md index 0fcb9fc22c..6c72676e73 100644 --- a/docs/recipes/codemods/cleanup/svelte/firstattributelinebreak.md +++ b/docs/recipes/codemods/cleanup/svelte/firstattributelinebreak.md @@ -19,12 +19,16 @@ _enforce the location of first attribute See rule details for [svelte/first-attr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/htmlclosingbracketspacing.md b/docs/recipes/codemods/cleanup/svelte/htmlclosingbracketspacing.md index 64425ea0ef..987afc73a8 100644 --- a/docs/recipes/codemods/cleanup/svelte/htmlclosingbracketspacing.md +++ b/docs/recipes/codemods/cleanup/svelte/htmlclosingbracketspacing.md @@ -19,12 +19,16 @@ _require or disallow a space before tag's closing brackets See rule details for ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/htmlquotes.md b/docs/recipes/codemods/cleanup/svelte/htmlquotes.md index 6827e63c15..b78d71ac14 100644 --- a/docs/recipes/codemods/cleanup/svelte/htmlquotes.md +++ b/docs/recipes/codemods/cleanup/svelte/htmlquotes.md @@ -19,12 +19,16 @@ _enforce quotes style of HTML attributes See rule details for [svelte/html-quote ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/htmlselfclosing.md b/docs/recipes/codemods/cleanup/svelte/htmlselfclosing.md index 9478ec1885..075c8e7493 100644 --- a/docs/recipes/codemods/cleanup/svelte/htmlselfclosing.md +++ b/docs/recipes/codemods/cleanup/svelte/htmlselfclosing.md @@ -19,12 +19,16 @@ _enforce self-closing style See rule details for [svelte/html-self-closing](http ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/indent.md b/docs/recipes/codemods/cleanup/svelte/indent.md index 00eff7554c..644a80598e 100644 --- a/docs/recipes/codemods/cleanup/svelte/indent.md +++ b/docs/recipes/codemods/cleanup/svelte/indent.md @@ -19,12 +19,16 @@ _enforce consistent indentation See rule details for [svelte/indent](https://sve ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/maxattributesperline.md b/docs/recipes/codemods/cleanup/svelte/maxattributesperline.md index af51df53a0..86367584b4 100644 --- a/docs/recipes/codemods/cleanup/svelte/maxattributesperline.md +++ b/docs/recipes/codemods/cleanup/svelte/maxattributesperline.md @@ -19,12 +19,16 @@ _enforce the maximum number of attributes per line See rule details for [svelte/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/mustachespacing.md b/docs/recipes/codemods/cleanup/svelte/mustachespacing.md index e69d05d3df..dedcb817f6 100644 --- a/docs/recipes/codemods/cleanup/svelte/mustachespacing.md +++ b/docs/recipes/codemods/cleanup/svelte/mustachespacing.md @@ -19,12 +19,16 @@ _enforce unified spacing in mustache See rule details for [svelte/mustache-spaci ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/nodynamicslotname.md b/docs/recipes/codemods/cleanup/svelte/nodynamicslotname.md index f0e0498f4c..23fc690196 100644 --- a/docs/recipes/codemods/cleanup/svelte/nodynamicslotname.md +++ b/docs/recipes/codemods/cleanup/svelte/nodynamicslotname.md @@ -19,12 +19,16 @@ _disallow dynamic slot name See rule details for [svelte/no-dynamic-slot-name](h ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/nospacesaroundequalsignsinattribute.md b/docs/recipes/codemods/cleanup/svelte/nospacesaroundequalsignsinattribute.md index 0c41e8db09..cb7533714a 100644 --- a/docs/recipes/codemods/cleanup/svelte/nospacesaroundequalsignsinattribute.md +++ b/docs/recipes/codemods/cleanup/svelte/nospacesaroundequalsignsinattribute.md @@ -19,12 +19,16 @@ _disallow spaces around equal signs in attribute See rule details for [svelte/no ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/nouselessmustaches.md b/docs/recipes/codemods/cleanup/svelte/nouselessmustaches.md index 221c1049c3..06d7f642b8 100644 --- a/docs/recipes/codemods/cleanup/svelte/nouselessmustaches.md +++ b/docs/recipes/codemods/cleanup/svelte/nouselessmustaches.md @@ -19,12 +19,16 @@ _disallow unnecessary mustache interpolations See rule details for [svelte/no-us ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/preferclassdirective.md b/docs/recipes/codemods/cleanup/svelte/preferclassdirective.md index 5fa14e4463..6f9d324477 100644 --- a/docs/recipes/codemods/cleanup/svelte/preferclassdirective.md +++ b/docs/recipes/codemods/cleanup/svelte/preferclassdirective.md @@ -19,12 +19,16 @@ _require class directives instead of ternary expressions See rule details for [s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/preferstyledirective.md b/docs/recipes/codemods/cleanup/svelte/preferstyledirective.md index 78a740501a..8a8703d251 100644 --- a/docs/recipes/codemods/cleanup/svelte/preferstyledirective.md +++ b/docs/recipes/codemods/cleanup/svelte/preferstyledirective.md @@ -19,12 +19,16 @@ _require style directives instead of style attribute See rule details for [svelt ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/recommendedsveltecodecleanup.md b/docs/recipes/codemods/cleanup/svelte/recommendedsveltecodecleanup.md index 9d32ff39be..3b0028aae5 100644 --- a/docs/recipes/codemods/cleanup/svelte/recommendedsveltecodecleanup.md +++ b/docs/recipes/codemods/cleanup/svelte/recommendedsveltecodecleanup.md @@ -19,12 +19,16 @@ _Collection of cleanup ESLint rules from [eslint-plugin-svelte](https://github.c ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/requirestorereactiveaccess.md b/docs/recipes/codemods/cleanup/svelte/requirestorereactiveaccess.md index 8490fa607b..044dc067a7 100644 --- a/docs/recipes/codemods/cleanup/svelte/requirestorereactiveaccess.md +++ b/docs/recipes/codemods/cleanup/svelte/requirestorereactiveaccess.md @@ -19,12 +19,16 @@ _disallow to use of the store itself as an operand. Need to use $ prefix or get ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/shorthandattribute.md b/docs/recipes/codemods/cleanup/svelte/shorthandattribute.md index 44f99731dd..947ae1d085 100644 --- a/docs/recipes/codemods/cleanup/svelte/shorthandattribute.md +++ b/docs/recipes/codemods/cleanup/svelte/shorthandattribute.md @@ -19,12 +19,16 @@ _enforce use of shorthand syntax in attribute See rule details for [svelte/short ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/shorthanddirective.md b/docs/recipes/codemods/cleanup/svelte/shorthanddirective.md index 8f59fbd28f..5b9568833a 100644 --- a/docs/recipes/codemods/cleanup/svelte/shorthanddirective.md +++ b/docs/recipes/codemods/cleanup/svelte/shorthanddirective.md @@ -19,12 +19,16 @@ _enforce use of shorthand syntax in directives See rule details for [svelte/shor ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/sortattributes.md b/docs/recipes/codemods/cleanup/svelte/sortattributes.md index dcbec4d39b..8d8d11a35e 100644 --- a/docs/recipes/codemods/cleanup/svelte/sortattributes.md +++ b/docs/recipes/codemods/cleanup/svelte/sortattributes.md @@ -19,12 +19,16 @@ _enforce order of attributes See rule details for [svelte/sort-attributes](https ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/svelte/spacedhtmlcomment.md b/docs/recipes/codemods/cleanup/svelte/spacedhtmlcomment.md index 02202d5e20..b0e787c3a4 100644 --- a/docs/recipes/codemods/cleanup/svelte/spacedhtmlcomment.md +++ b/docs/recipes/codemods/cleanup/svelte/spacedhtmlcomment.md @@ -23,12 +23,16 @@ See rule details for [svelte/spaced-html-comment](https://sveltejs.github.io/esl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-svelte.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/arraybracketnewline.md b/docs/recipes/codemods/cleanup/vue/arraybracketnewline.md index 27633c77e0..265a215ed8 100644 --- a/docs/recipes/codemods/cleanup/vue/arraybracketnewline.md +++ b/docs/recipes/codemods/cleanup/vue/arraybracketnewline.md @@ -23,12 +23,16 @@ See rule details for [vue/array-bracket-newline](https://eslint.vuejs.org/rules/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/arraybracketspacing.md b/docs/recipes/codemods/cleanup/vue/arraybracketspacing.md index f370f978a8..0440630565 100644 --- a/docs/recipes/codemods/cleanup/vue/arraybracketspacing.md +++ b/docs/recipes/codemods/cleanup/vue/arraybracketspacing.md @@ -23,12 +23,16 @@ See rule details for [vue/array-bracket-spacing](https://eslint.vuejs.org/rules/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/arrayelementnewline.md b/docs/recipes/codemods/cleanup/vue/arrayelementnewline.md index fa7616930d..2bbdc40929 100644 --- a/docs/recipes/codemods/cleanup/vue/arrayelementnewline.md +++ b/docs/recipes/codemods/cleanup/vue/arrayelementnewline.md @@ -23,12 +23,16 @@ See rule details for [vue/array-element-newline](https://eslint.vuejs.org/rules/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/arrowspacing.md b/docs/recipes/codemods/cleanup/vue/arrowspacing.md index bb2c08456e..171f55615a 100644 --- a/docs/recipes/codemods/cleanup/vue/arrowspacing.md +++ b/docs/recipes/codemods/cleanup/vue/arrowspacing.md @@ -23,12 +23,16 @@ See rule details for [vue/arrow-spacing](https://eslint.vuejs.org/rules/arrow-sp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/attributesorder.md b/docs/recipes/codemods/cleanup/vue/attributesorder.md index 6f43a084f8..d0386f1df5 100644 --- a/docs/recipes/codemods/cleanup/vue/attributesorder.md +++ b/docs/recipes/codemods/cleanup/vue/attributesorder.md @@ -19,12 +19,16 @@ _Enforce order of attributes See rule details for [vue/attributes-order](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/blockorder.md b/docs/recipes/codemods/cleanup/vue/blockorder.md index 6ac2f64baa..3233ae6e4f 100644 --- a/docs/recipes/codemods/cleanup/vue/blockorder.md +++ b/docs/recipes/codemods/cleanup/vue/blockorder.md @@ -19,12 +19,16 @@ _Enforce order of component top-level elements See rule details for [vue/block-o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/blockspacing.md b/docs/recipes/codemods/cleanup/vue/blockspacing.md index f60862641e..d215c92b76 100644 --- a/docs/recipes/codemods/cleanup/vue/blockspacing.md +++ b/docs/recipes/codemods/cleanup/vue/blockspacing.md @@ -23,12 +23,16 @@ See rule details for [vue/block-spacing](https://eslint.vuejs.org/rules/block-sp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/blocktagnewline.md b/docs/recipes/codemods/cleanup/vue/blocktagnewline.md index bbe23e8924..b9d95b3367 100644 --- a/docs/recipes/codemods/cleanup/vue/blocktagnewline.md +++ b/docs/recipes/codemods/cleanup/vue/blocktagnewline.md @@ -19,12 +19,16 @@ _Enforce line breaks after opening and before closing block-level tags See rule ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/bracestyle.md b/docs/recipes/codemods/cleanup/vue/bracestyle.md index f7f657b7d3..1b0016b48e 100644 --- a/docs/recipes/codemods/cleanup/vue/bracestyle.md +++ b/docs/recipes/codemods/cleanup/vue/bracestyle.md @@ -23,12 +23,16 @@ See rule details for [vue/brace-style](https://eslint.vuejs.org/rules/brace-styl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/commadangle.md b/docs/recipes/codemods/cleanup/vue/commadangle.md index 9f4208c8b3..ca200fdf59 100644 --- a/docs/recipes/codemods/cleanup/vue/commadangle.md +++ b/docs/recipes/codemods/cleanup/vue/commadangle.md @@ -23,12 +23,16 @@ See rule details for [vue/comma-dangle](https://eslint.vuejs.org/rules/comma-dan ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/commaspacing.md b/docs/recipes/codemods/cleanup/vue/commaspacing.md index 3bf9ef3f2e..9c15e8729b 100644 --- a/docs/recipes/codemods/cleanup/vue/commaspacing.md +++ b/docs/recipes/codemods/cleanup/vue/commaspacing.md @@ -23,12 +23,16 @@ See rule details for [vue/comma-spacing](https://eslint.vuejs.org/rules/comma-sp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/commastyle.md b/docs/recipes/codemods/cleanup/vue/commastyle.md index ce11a94484..ca4abc00b3 100644 --- a/docs/recipes/codemods/cleanup/vue/commastyle.md +++ b/docs/recipes/codemods/cleanup/vue/commastyle.md @@ -23,12 +23,16 @@ See rule details for [vue/comma-style](https://eslint.vuejs.org/rules/comma-styl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/componentnameintemplatecasing.md b/docs/recipes/codemods/cleanup/vue/componentnameintemplatecasing.md index 0c8c9d5f27..d544e860ef 100644 --- a/docs/recipes/codemods/cleanup/vue/componentnameintemplatecasing.md +++ b/docs/recipes/codemods/cleanup/vue/componentnameintemplatecasing.md @@ -19,12 +19,16 @@ _Enforce specific casing for the component naming style in template See rule det ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/componentoptionsnamecasing.md b/docs/recipes/codemods/cleanup/vue/componentoptionsnamecasing.md index 07832a1506..44d896ebfb 100644 --- a/docs/recipes/codemods/cleanup/vue/componentoptionsnamecasing.md +++ b/docs/recipes/codemods/cleanup/vue/componentoptionsnamecasing.md @@ -19,12 +19,16 @@ _Enforce the casing of component name in components options See rule details for ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/componenttagsorder.md b/docs/recipes/codemods/cleanup/vue/componenttagsorder.md index 6251ea8e0d..481a763ca3 100644 --- a/docs/recipes/codemods/cleanup/vue/componenttagsorder.md +++ b/docs/recipes/codemods/cleanup/vue/componenttagsorder.md @@ -19,12 +19,16 @@ _Enforce order of component top-level elements See rule details for [vue/compone ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/definemacrosorder.md b/docs/recipes/codemods/cleanup/vue/definemacrosorder.md index 2955cb0138..bccc68c0ac 100644 --- a/docs/recipes/codemods/cleanup/vue/definemacrosorder.md +++ b/docs/recipes/codemods/cleanup/vue/definemacrosorder.md @@ -19,12 +19,16 @@ _Enforce order of defineEmits and defineProps compiler macros See rule details f ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/dotlocation.md b/docs/recipes/codemods/cleanup/vue/dotlocation.md index eb9e21780e..60ebef45c5 100644 --- a/docs/recipes/codemods/cleanup/vue/dotlocation.md +++ b/docs/recipes/codemods/cleanup/vue/dotlocation.md @@ -23,12 +23,16 @@ See rule details for [vue/dot-location](https://eslint.vuejs.org/rules/dot-locat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/dotnotation.md b/docs/recipes/codemods/cleanup/vue/dotnotation.md index cb250c448a..3a6601a363 100644 --- a/docs/recipes/codemods/cleanup/vue/dotnotation.md +++ b/docs/recipes/codemods/cleanup/vue/dotnotation.md @@ -23,12 +23,16 @@ See rule details for [vue/dot-notation](https://eslint.vuejs.org/rules/dot-notat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/eqeqeq.md b/docs/recipes/codemods/cleanup/vue/eqeqeq.md index 1efeba2ace..012030a8b0 100644 --- a/docs/recipes/codemods/cleanup/vue/eqeqeq.md +++ b/docs/recipes/codemods/cleanup/vue/eqeqeq.md @@ -23,12 +23,16 @@ See rule details for [vue/eqeqeq](https://eslint.vuejs.org/rules/eqeqeq.html) ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/funccallspacing.md b/docs/recipes/codemods/cleanup/vue/funccallspacing.md index dbbaf40c85..dfc710735b 100644 --- a/docs/recipes/codemods/cleanup/vue/funccallspacing.md +++ b/docs/recipes/codemods/cleanup/vue/funccallspacing.md @@ -23,12 +23,16 @@ See rule details for [vue/func-call-spacing](https://eslint.vuejs.org/rules/func ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/htmlcommentcontentnewline.md b/docs/recipes/codemods/cleanup/vue/htmlcommentcontentnewline.md index ed505a03a4..3ed7f41fda 100644 --- a/docs/recipes/codemods/cleanup/vue/htmlcommentcontentnewline.md +++ b/docs/recipes/codemods/cleanup/vue/htmlcommentcontentnewline.md @@ -19,12 +19,16 @@ _Enforce unified line brake in HTML comments See rule details for [vue/html-comm ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/htmlcommentcontentspacing.md b/docs/recipes/codemods/cleanup/vue/htmlcommentcontentspacing.md index 05619466aa..f203100052 100644 --- a/docs/recipes/codemods/cleanup/vue/htmlcommentcontentspacing.md +++ b/docs/recipes/codemods/cleanup/vue/htmlcommentcontentspacing.md @@ -19,12 +19,16 @@ _Enforce unified spacing in HTML comments See rule details for [vue/html-comment ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/htmlcommentindent.md b/docs/recipes/codemods/cleanup/vue/htmlcommentindent.md index 86c115a2c1..ff8b8be67c 100644 --- a/docs/recipes/codemods/cleanup/vue/htmlcommentindent.md +++ b/docs/recipes/codemods/cleanup/vue/htmlcommentindent.md @@ -19,12 +19,16 @@ _Enforce consistent indentation in HTML comments See rule details for [vue/html- ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/keyspacing.md b/docs/recipes/codemods/cleanup/vue/keyspacing.md index 2965873894..e4dd7217f9 100644 --- a/docs/recipes/codemods/cleanup/vue/keyspacing.md +++ b/docs/recipes/codemods/cleanup/vue/keyspacing.md @@ -23,12 +23,16 @@ See rule details for [vue/key-spacing](https://eslint.vuejs.org/rules/key-spacin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/keywordspacing.md b/docs/recipes/codemods/cleanup/vue/keywordspacing.md index 596d115fee..81016e099b 100644 --- a/docs/recipes/codemods/cleanup/vue/keywordspacing.md +++ b/docs/recipes/codemods/cleanup/vue/keywordspacing.md @@ -23,12 +23,16 @@ See rule details for [vue/keyword-spacing](https://eslint.vuejs.org/rules/keywor ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/multilineternary.md b/docs/recipes/codemods/cleanup/vue/multilineternary.md index 5cc1f5341b..5b86f16bad 100644 --- a/docs/recipes/codemods/cleanup/vue/multilineternary.md +++ b/docs/recipes/codemods/cleanup/vue/multilineternary.md @@ -23,12 +23,16 @@ See rule details for [vue/multiline-ternary](https://eslint.vuejs.org/rules/mult ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/newlinebetweenmultilineproperty.md b/docs/recipes/codemods/cleanup/vue/newlinebetweenmultilineproperty.md index 43fa16ff9f..5eb90ef3e0 100644 --- a/docs/recipes/codemods/cleanup/vue/newlinebetweenmultilineproperty.md +++ b/docs/recipes/codemods/cleanup/vue/newlinebetweenmultilineproperty.md @@ -19,12 +19,16 @@ _Enforce new lines between multi-line properties in Vue components See rule deta ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/nexttickstyle.md b/docs/recipes/codemods/cleanup/vue/nexttickstyle.md index 0df2e6213e..357feed6ad 100644 --- a/docs/recipes/codemods/cleanup/vue/nexttickstyle.md +++ b/docs/recipes/codemods/cleanup/vue/nexttickstyle.md @@ -19,12 +19,16 @@ _Enforce Promise or callback style in nextTick See rule details for [vue/next-ti ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/noextraparens.md b/docs/recipes/codemods/cleanup/vue/noextraparens.md index ac65a36e9b..8859ced393 100644 --- a/docs/recipes/codemods/cleanup/vue/noextraparens.md +++ b/docs/recipes/codemods/cleanup/vue/noextraparens.md @@ -23,12 +23,16 @@ See rule details for [vue/no-extra-parens](https://eslint.vuejs.org/rules/no-ext ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/norequiredpropwithdefault.md b/docs/recipes/codemods/cleanup/vue/norequiredpropwithdefault.md index 9add9a6339..6742059d64 100644 --- a/docs/recipes/codemods/cleanup/vue/norequiredpropwithdefault.md +++ b/docs/recipes/codemods/cleanup/vue/norequiredpropwithdefault.md @@ -19,12 +19,16 @@ _Enforce props with default values to be optional See rule details for [vue/no-r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/nounsupportedfeatures.md b/docs/recipes/codemods/cleanup/vue/nounsupportedfeatures.md index 29567665fb..04ba1dcdf2 100644 --- a/docs/recipes/codemods/cleanup/vue/nounsupportedfeatures.md +++ b/docs/recipes/codemods/cleanup/vue/nounsupportedfeatures.md @@ -19,12 +19,16 @@ _Disallow unsupported Vue.js syntax on the specified version See rule details fo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/nouselessmustaches.md b/docs/recipes/codemods/cleanup/vue/nouselessmustaches.md index c71459b22d..1ab3f47f79 100644 --- a/docs/recipes/codemods/cleanup/vue/nouselessmustaches.md +++ b/docs/recipes/codemods/cleanup/vue/nouselessmustaches.md @@ -19,12 +19,16 @@ _Disallow unnecessary mustache interpolations See rule details for [vue/no-usele ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/nouselessvbind.md b/docs/recipes/codemods/cleanup/vue/nouselessvbind.md index 5589cc5fd1..3bd34e788a 100644 --- a/docs/recipes/codemods/cleanup/vue/nouselessvbind.md +++ b/docs/recipes/codemods/cleanup/vue/nouselessvbind.md @@ -19,12 +19,16 @@ _Disallow unnecessary v-bind directives See rule details for [vue/no-useless-v-b ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/objectcurlynewline.md b/docs/recipes/codemods/cleanup/vue/objectcurlynewline.md index 06c1a13c37..04dec52c24 100644 --- a/docs/recipes/codemods/cleanup/vue/objectcurlynewline.md +++ b/docs/recipes/codemods/cleanup/vue/objectcurlynewline.md @@ -23,12 +23,16 @@ See rule details for [vue/object-curly-newline](https://eslint.vuejs.org/rules/o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/objectcurlyspacing.md b/docs/recipes/codemods/cleanup/vue/objectcurlyspacing.md index 63111a2737..ade3fb0467 100644 --- a/docs/recipes/codemods/cleanup/vue/objectcurlyspacing.md +++ b/docs/recipes/codemods/cleanup/vue/objectcurlyspacing.md @@ -23,12 +23,16 @@ See rule details for [vue/object-curly-spacing](https://eslint.vuejs.org/rules/o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/objectpropertynewline.md b/docs/recipes/codemods/cleanup/vue/objectpropertynewline.md index 327a839a91..bc1eb81e4b 100644 --- a/docs/recipes/codemods/cleanup/vue/objectpropertynewline.md +++ b/docs/recipes/codemods/cleanup/vue/objectpropertynewline.md @@ -23,12 +23,16 @@ See rule details for [vue/object-property-newline](https://eslint.vuejs.org/rule ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/objectshorthand.md b/docs/recipes/codemods/cleanup/vue/objectshorthand.md index 167e93dfb9..219fc865b3 100644 --- a/docs/recipes/codemods/cleanup/vue/objectshorthand.md +++ b/docs/recipes/codemods/cleanup/vue/objectshorthand.md @@ -23,12 +23,16 @@ See rule details for [vue/object-shorthand](https://eslint.vuejs.org/rules/objec ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/operatorlinebreak.md b/docs/recipes/codemods/cleanup/vue/operatorlinebreak.md index a7649b00b0..9e0ed9a215 100644 --- a/docs/recipes/codemods/cleanup/vue/operatorlinebreak.md +++ b/docs/recipes/codemods/cleanup/vue/operatorlinebreak.md @@ -23,12 +23,16 @@ See rule details for [vue/operator-linebreak](https://eslint.vuejs.org/rules/ope ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/orderincomponents.md b/docs/recipes/codemods/cleanup/vue/orderincomponents.md index d517484d9f..e6a3337c91 100644 --- a/docs/recipes/codemods/cleanup/vue/orderincomponents.md +++ b/docs/recipes/codemods/cleanup/vue/orderincomponents.md @@ -19,12 +19,16 @@ _Enforce order of properties in components See rule details for [vue/order-in-co ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/paddinglinebetweenblocks.md b/docs/recipes/codemods/cleanup/vue/paddinglinebetweenblocks.md index d00ad16aff..034e4e0593 100644 --- a/docs/recipes/codemods/cleanup/vue/paddinglinebetweenblocks.md +++ b/docs/recipes/codemods/cleanup/vue/paddinglinebetweenblocks.md @@ -19,12 +19,16 @@ _Require or disallow padding lines between blocks See rule details for [vue/padd ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/paddinglinebetweentags.md b/docs/recipes/codemods/cleanup/vue/paddinglinebetweentags.md index 9d45d54862..099d67c389 100644 --- a/docs/recipes/codemods/cleanup/vue/paddinglinebetweentags.md +++ b/docs/recipes/codemods/cleanup/vue/paddinglinebetweentags.md @@ -19,12 +19,16 @@ _Require or disallow newlines between sibling tags in template See rule details ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/paddinglinesincomponentdefinition.md b/docs/recipes/codemods/cleanup/vue/paddinglinesincomponentdefinition.md index af7314f820..46f5c4faba 100644 --- a/docs/recipes/codemods/cleanup/vue/paddinglinesincomponentdefinition.md +++ b/docs/recipes/codemods/cleanup/vue/paddinglinesincomponentdefinition.md @@ -19,12 +19,16 @@ _Require or disallow padding lines in component definition See rule details for ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/preferdefineoptions.md b/docs/recipes/codemods/cleanup/vue/preferdefineoptions.md index c47752bdcd..39b36fa53e 100644 --- a/docs/recipes/codemods/cleanup/vue/preferdefineoptions.md +++ b/docs/recipes/codemods/cleanup/vue/preferdefineoptions.md @@ -19,12 +19,16 @@ _Enforce use of defineOptions instead of default export. See rule details for [v ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/preferseparatestaticclass.md b/docs/recipes/codemods/cleanup/vue/preferseparatestaticclass.md index be811d063a..c699ac986e 100644 --- a/docs/recipes/codemods/cleanup/vue/preferseparatestaticclass.md +++ b/docs/recipes/codemods/cleanup/vue/preferseparatestaticclass.md @@ -19,12 +19,16 @@ _Require static class names in template to be in a separate class attribute See ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/prefertemplate.md b/docs/recipes/codemods/cleanup/vue/prefertemplate.md index 510eb82dc0..cf7502dd54 100644 --- a/docs/recipes/codemods/cleanup/vue/prefertemplate.md +++ b/docs/recipes/codemods/cleanup/vue/prefertemplate.md @@ -23,12 +23,16 @@ See rule details for [vue/prefer-template](https://eslint.vuejs.org/rules/prefer ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/quoteprops.md b/docs/recipes/codemods/cleanup/vue/quoteprops.md index 7bf4cfa76b..2fbe80e48f 100644 --- a/docs/recipes/codemods/cleanup/vue/quoteprops.md +++ b/docs/recipes/codemods/cleanup/vue/quoteprops.md @@ -23,12 +23,16 @@ See rule details for [vue/quote-props](https://eslint.vuejs.org/rules/quote-prop ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/recommendedvuecodecleanup.md b/docs/recipes/codemods/cleanup/vue/recommendedvuecodecleanup.md index 28ce945fb6..588d0e5aa0 100644 --- a/docs/recipes/codemods/cleanup/vue/recommendedvuecodecleanup.md +++ b/docs/recipes/codemods/cleanup/vue/recommendedvuecodecleanup.md @@ -19,12 +19,16 @@ _Collection of cleanup ESLint rules from [eslint-plugin-vue](https://eslint.vuej ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/scriptindent.md b/docs/recipes/codemods/cleanup/vue/scriptindent.md index 74986a4c81..f40994ce66 100644 --- a/docs/recipes/codemods/cleanup/vue/scriptindent.md +++ b/docs/recipes/codemods/cleanup/vue/scriptindent.md @@ -23,12 +23,16 @@ See rule details for [vue/script-indent](https://eslint.vuejs.org/rules/script-i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/spaceinfixops.md b/docs/recipes/codemods/cleanup/vue/spaceinfixops.md index e68be66cb7..95ebc5860f 100644 --- a/docs/recipes/codemods/cleanup/vue/spaceinfixops.md +++ b/docs/recipes/codemods/cleanup/vue/spaceinfixops.md @@ -23,12 +23,16 @@ See rule details for [vue/space-infix-ops](https://eslint.vuejs.org/rules/space- ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/spaceinparens.md b/docs/recipes/codemods/cleanup/vue/spaceinparens.md index 89505082b1..5db9957e71 100644 --- a/docs/recipes/codemods/cleanup/vue/spaceinparens.md +++ b/docs/recipes/codemods/cleanup/vue/spaceinparens.md @@ -23,12 +23,16 @@ See rule details for [vue/space-in-parens](https://eslint.vuejs.org/rules/space- ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/spaceunaryops.md b/docs/recipes/codemods/cleanup/vue/spaceunaryops.md index f42e1c61ca..75e5f65843 100644 --- a/docs/recipes/codemods/cleanup/vue/spaceunaryops.md +++ b/docs/recipes/codemods/cleanup/vue/spaceunaryops.md @@ -23,12 +23,16 @@ See rule details for [vue/space-unary-ops](https://eslint.vuejs.org/rules/space- ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/staticclassnamesorder.md b/docs/recipes/codemods/cleanup/vue/staticclassnamesorder.md index 593c202965..b015c2a9c2 100644 --- a/docs/recipes/codemods/cleanup/vue/staticclassnamesorder.md +++ b/docs/recipes/codemods/cleanup/vue/staticclassnamesorder.md @@ -19,12 +19,16 @@ _Enforce static class names order See rule details for [vue/static-class-names-o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/templatecurlyspacing.md b/docs/recipes/codemods/cleanup/vue/templatecurlyspacing.md index 9de4c40af7..3a6045d8b6 100644 --- a/docs/recipes/codemods/cleanup/vue/templatecurlyspacing.md +++ b/docs/recipes/codemods/cleanup/vue/templatecurlyspacing.md @@ -23,12 +23,16 @@ See rule details for [vue/template-curly-spacing](https://eslint.vuejs.org/rules ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/thisintemplate.md b/docs/recipes/codemods/cleanup/vue/thisintemplate.md index 900f3785bb..2484c3d4b5 100644 --- a/docs/recipes/codemods/cleanup/vue/thisintemplate.md +++ b/docs/recipes/codemods/cleanup/vue/thisintemplate.md @@ -19,12 +19,16 @@ _Disallow usage of this in template See rule details for [vue/this-in-template]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/vfordelimiterstyle.md b/docs/recipes/codemods/cleanup/vue/vfordelimiterstyle.md index fad1759bbb..b3ecddb122 100644 --- a/docs/recipes/codemods/cleanup/vue/vfordelimiterstyle.md +++ b/docs/recipes/codemods/cleanup/vue/vfordelimiterstyle.md @@ -19,12 +19,16 @@ _Enforce v-for directive's delimiter style See rule details for [vue/v-for-delim ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/vifelsekey.md b/docs/recipes/codemods/cleanup/vue/vifelsekey.md index 237b28789e..a54e31a1c2 100644 --- a/docs/recipes/codemods/cleanup/vue/vifelsekey.md +++ b/docs/recipes/codemods/cleanup/vue/vifelsekey.md @@ -19,12 +19,16 @@ _Require key attribute for conditionally rendered repeated components See rule d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/cleanup/vue/vonhandlerstyle.md b/docs/recipes/codemods/cleanup/vue/vonhandlerstyle.md index c71ed46241..2c363299e5 100644 --- a/docs/recipes/codemods/cleanup/vue/vonhandlerstyle.md +++ b/docs/recipes/codemods/cleanup/vue/vonhandlerstyle.md @@ -19,12 +19,16 @@ _Enforce writing style for handlers in v-on directives See rule details for [vue ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/eslint-plugin-vue.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/ecmascript/5to6/amdtoesm.md b/docs/recipes/codemods/ecmascript/5to6/amdtoesm.md index d1146d1893..1b0e3097f3 100644 --- a/docs/recipes/codemods/ecmascript/5to6/amdtoesm.md +++ b/docs/recipes/codemods/ecmascript/5to6/amdtoesm.md @@ -18,12 +18,16 @@ _Transform AMD style `define()` calls to ES6 `import` statements_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/ecmascript.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/ecmascript/5to6/cjstoesm.md b/docs/recipes/codemods/ecmascript/5to6/cjstoesm.md index db69ff5358..a8534d4d94 100644 --- a/docs/recipes/codemods/ecmascript/5to6/cjstoesm.md +++ b/docs/recipes/codemods/ecmascript/5to6/cjstoesm.md @@ -18,12 +18,16 @@ _Transform CommonJS style `require()` calls to ES6 `import` statements_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/ecmascript.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/ecmascript/5to6/ecmascript6bestpractices.md b/docs/recipes/codemods/ecmascript/5to6/ecmascript6bestpractices.md index 176ad83ea7..8ffc27bcd8 100644 --- a/docs/recipes/codemods/ecmascript/5to6/ecmascript6bestpractices.md +++ b/docs/recipes/codemods/ecmascript/5to6/ecmascript6bestpractices.md @@ -18,15 +18,16 @@ _A collection of common ECMAScript 5 to ECMAScript 6 updates._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/ecmascript.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/ecmascript/5to6/namedexportgeneration.md b/docs/recipes/codemods/ecmascript/5to6/namedexportgeneration.md index 0b84a911b6..488dcd76d5 100644 --- a/docs/recipes/codemods/ecmascript/5to6/namedexportgeneration.md +++ b/docs/recipes/codemods/ecmascript/5to6/namedexportgeneration.md @@ -18,12 +18,16 @@ _Generate named exports from CommonJS modules_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/ecmascript.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/ecmascript/5to6/nostrict.md b/docs/recipes/codemods/ecmascript/5to6/nostrict.md index e925a74ccd..11ce7fdbdd 100644 --- a/docs/recipes/codemods/ecmascript/5to6/nostrict.md +++ b/docs/recipes/codemods/ecmascript/5to6/nostrict.md @@ -18,12 +18,16 @@ _Remove "use strict" directives_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/ecmascript.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/ecmascript/5to6/simplearrow.md b/docs/recipes/codemods/ecmascript/5to6/simplearrow.md index cce5379a6a..45934f1737 100644 --- a/docs/recipes/codemods/ecmascript/5to6/simplearrow.md +++ b/docs/recipes/codemods/ecmascript/5to6/simplearrow.md @@ -18,12 +18,16 @@ _Replace all function expressions with only `return` statement with simple arrow ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/ecmascript.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/ecmascript/5to6/vartolet.md b/docs/recipes/codemods/ecmascript/5to6/vartolet.md index 773fdabc08..dc4a7558be 100644 --- a/docs/recipes/codemods/ecmascript/5to6/vartolet.md +++ b/docs/recipes/codemods/ecmascript/5to6/vartolet.md @@ -18,12 +18,16 @@ _Convert `var` to `let`_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/ecmascript.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/ecmascript/eslinttypescriptdefaults.md b/docs/recipes/codemods/ecmascript/eslinttypescriptdefaults.md index 5df240d02a..a3eb0233ec 100644 --- a/docs/recipes/codemods/ecmascript/eslinttypescriptdefaults.md +++ b/docs/recipes/codemods/ecmascript/eslinttypescriptdefaults.md @@ -18,12 +18,16 @@ _The default config includes the `@typescript-eslint` plugin and the correspondi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/ecmascript.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/ecmascript/eslinttypescriptprettier.md b/docs/recipes/codemods/ecmascript/eslinttypescriptprettier.md index 5b8f97066f..aa3210d13f 100644 --- a/docs/recipes/codemods/ecmascript/eslinttypescriptprettier.md +++ b/docs/recipes/codemods/ecmascript/eslinttypescriptprettier.md @@ -18,12 +18,16 @@ _Formats all TypeScript source code using the ESLint Prettier plugin._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/ecmascript.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/eslint.md b/docs/recipes/codemods/eslint.md index b657338536..7cca7c3968 100644 --- a/docs/recipes/codemods/eslint.md +++ b/docs/recipes/codemods/eslint.md @@ -13,7 +13,7 @@ _Run [ESLint](https://eslint.org/) across the code to fix common static analysis ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/java/org/openrewrite/codemods/ESLint.java), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -33,10 +33,14 @@ _Run [ESLint](https://eslint.org/) across the code to fix common static analysis Note that this will override any other configuration options. | | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/arraybracketnewline.md b/docs/recipes/codemods/format/arraybracketnewline.md index 60fd3c6318..df83b2c73d 100644 --- a/docs/recipes/codemods/format/arraybracketnewline.md +++ b/docs/recipes/codemods/format/arraybracketnewline.md @@ -18,12 +18,16 @@ _Enforce linebreaks after opening and before closing array brackets See [rule d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/arraybracketspacing.md b/docs/recipes/codemods/format/arraybracketspacing.md index f3ed2936a9..29d9a9b07f 100644 --- a/docs/recipes/codemods/format/arraybracketspacing.md +++ b/docs/recipes/codemods/format/arraybracketspacing.md @@ -18,12 +18,16 @@ _Enforce consistent spacing inside array brackets See [rule details](https://es ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/arrayelementnewline.md b/docs/recipes/codemods/format/arrayelementnewline.md index 62c32aed64..e73e328a52 100644 --- a/docs/recipes/codemods/format/arrayelementnewline.md +++ b/docs/recipes/codemods/format/arrayelementnewline.md @@ -18,12 +18,16 @@ _Enforce line breaks after each array element See [rule details](https://eslint ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/arrowparens.md b/docs/recipes/codemods/format/arrowparens.md index bb61cfbbe2..ba0d5d99d5 100644 --- a/docs/recipes/codemods/format/arrowparens.md +++ b/docs/recipes/codemods/format/arrowparens.md @@ -18,12 +18,16 @@ _Require parentheses around arrow function arguments See [rule details](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/arrowspacing.md b/docs/recipes/codemods/format/arrowspacing.md index 5e55e5e7ed..10ed2a7b15 100644 --- a/docs/recipes/codemods/format/arrowspacing.md +++ b/docs/recipes/codemods/format/arrowspacing.md @@ -18,12 +18,16 @@ _Enforce consistent spacing before and after the arrow in arrow functions See [ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/blockspacing.md b/docs/recipes/codemods/format/blockspacing.md index a27f38a379..baefc0a1f6 100644 --- a/docs/recipes/codemods/format/blockspacing.md +++ b/docs/recipes/codemods/format/blockspacing.md @@ -18,12 +18,16 @@ _Disallow or enforce spaces inside of blocks after opening block and before clos ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/bracestyle.md b/docs/recipes/codemods/format/bracestyle.md index 5b65a989e9..f4aee231e5 100644 --- a/docs/recipes/codemods/format/bracestyle.md +++ b/docs/recipes/codemods/format/bracestyle.md @@ -18,12 +18,16 @@ _Enforce consistent brace style for blocks See [rule details](https://eslint.st ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/commadangle.md b/docs/recipes/codemods/format/commadangle.md index 0e1ac6f29a..aad98bcc51 100644 --- a/docs/recipes/codemods/format/commadangle.md +++ b/docs/recipes/codemods/format/commadangle.md @@ -18,12 +18,16 @@ _Require or disallow trailing commas See [rule details](https://eslint.style/ru ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/commaspacing.md b/docs/recipes/codemods/format/commaspacing.md index 12ad1258db..6b6ef311b6 100644 --- a/docs/recipes/codemods/format/commaspacing.md +++ b/docs/recipes/codemods/format/commaspacing.md @@ -18,12 +18,16 @@ _Enforce consistent spacing before and after commas See [rule details](https:// ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/commastyle.md b/docs/recipes/codemods/format/commastyle.md index 8d0b4c3bee..afdf4e0d42 100644 --- a/docs/recipes/codemods/format/commastyle.md +++ b/docs/recipes/codemods/format/commastyle.md @@ -18,12 +18,16 @@ _Enforce consistent comma style See [rule details](https://eslint.style/rules/d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/computedpropertyspacing.md b/docs/recipes/codemods/format/computedpropertyspacing.md index 4ebbae6ce1..33de8a42c1 100644 --- a/docs/recipes/codemods/format/computedpropertyspacing.md +++ b/docs/recipes/codemods/format/computedpropertyspacing.md @@ -18,12 +18,16 @@ _Enforce consistent spacing inside computed property brackets See [rule details ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/dotlocation.md b/docs/recipes/codemods/format/dotlocation.md index 837c0755b1..2e6435e53e 100644 --- a/docs/recipes/codemods/format/dotlocation.md +++ b/docs/recipes/codemods/format/dotlocation.md @@ -18,12 +18,16 @@ _Enforce consistent newlines before and after dots See [rule details](https://e ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/eollast.md b/docs/recipes/codemods/format/eollast.md index 8b4a639497..ac9af98f74 100644 --- a/docs/recipes/codemods/format/eollast.md +++ b/docs/recipes/codemods/format/eollast.md @@ -18,12 +18,16 @@ _Require or disallow newline at the end of files See [rule details](https://esl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/funccallspacing.md b/docs/recipes/codemods/format/funccallspacing.md index 230154b18d..a650442516 100644 --- a/docs/recipes/codemods/format/funccallspacing.md +++ b/docs/recipes/codemods/format/funccallspacing.md @@ -18,12 +18,16 @@ _Require or disallow spacing between function identifiers and their invocations. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/functioncallargumentnewline.md b/docs/recipes/codemods/format/functioncallargumentnewline.md index 0c2dd437a1..18510e4188 100644 --- a/docs/recipes/codemods/format/functioncallargumentnewline.md +++ b/docs/recipes/codemods/format/functioncallargumentnewline.md @@ -18,12 +18,16 @@ _Enforce line breaks between arguments of a function call See [rule details](ht ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/functioncallspacing.md b/docs/recipes/codemods/format/functioncallspacing.md index 73d4bb40d3..e724b6ee04 100644 --- a/docs/recipes/codemods/format/functioncallspacing.md +++ b/docs/recipes/codemods/format/functioncallspacing.md @@ -18,12 +18,16 @@ _Require or disallow spacing between function identifiers and their invocations ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/functionparennewline.md b/docs/recipes/codemods/format/functionparennewline.md index 60fb618030..122c3ac0a2 100644 --- a/docs/recipes/codemods/format/functionparennewline.md +++ b/docs/recipes/codemods/format/functionparennewline.md @@ -18,12 +18,16 @@ _Enforce consistent line breaks inside function parentheses See [rule details]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/generatorstarspacing.md b/docs/recipes/codemods/format/generatorstarspacing.md index 67264eb7f6..392bf7d73e 100644 --- a/docs/recipes/codemods/format/generatorstarspacing.md +++ b/docs/recipes/codemods/format/generatorstarspacing.md @@ -18,12 +18,16 @@ _Enforce consistent spacing around `*` operators in generator function ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/implicitarrowlinebreak.md b/docs/recipes/codemods/format/implicitarrowlinebreak.md index dfa925faa4..a69b8d784e 100644 --- a/docs/recipes/codemods/format/implicitarrowlinebreak.md +++ b/docs/recipes/codemods/format/implicitarrowlinebreak.md @@ -18,12 +18,16 @@ _Enforce the location of arrow function bodies See [rule details](https://eslin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/indent.md b/docs/recipes/codemods/format/indent.md index e02a1ae38c..6ce084486d 100644 --- a/docs/recipes/codemods/format/indent.md +++ b/docs/recipes/codemods/format/indent.md @@ -18,12 +18,16 @@ _Enforce consistent indentation See [rule details](https://eslint.style/rules/d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/indentbinaryops.md b/docs/recipes/codemods/format/indentbinaryops.md index aa9f70bdae..df04d7ade4 100644 --- a/docs/recipes/codemods/format/indentbinaryops.md +++ b/docs/recipes/codemods/format/indentbinaryops.md @@ -18,12 +18,16 @@ _Indentation for binary operators See [rule details](https://eslint.style/rules ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxclosingbracketlocation.md b/docs/recipes/codemods/format/jsxclosingbracketlocation.md index 70b92b37a5..249c0f5c15 100644 --- a/docs/recipes/codemods/format/jsxclosingbracketlocation.md +++ b/docs/recipes/codemods/format/jsxclosingbracketlocation.md @@ -18,12 +18,16 @@ _Enforce closing bracket location in JSX See [rule details](https://eslint.styl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxclosingtaglocation.md b/docs/recipes/codemods/format/jsxclosingtaglocation.md index 323c1fb5fd..2e14997634 100644 --- a/docs/recipes/codemods/format/jsxclosingtaglocation.md +++ b/docs/recipes/codemods/format/jsxclosingtaglocation.md @@ -18,12 +18,16 @@ _Enforce closing tag location for multiline JSX See [rule details](https://esli ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxcurlybracepresence.md b/docs/recipes/codemods/format/jsxcurlybracepresence.md index f15a48cfc8..0d954e71a2 100644 --- a/docs/recipes/codemods/format/jsxcurlybracepresence.md +++ b/docs/recipes/codemods/format/jsxcurlybracepresence.md @@ -18,12 +18,16 @@ _Disallow unnecessary JSX expressions when literals alone are sufficient or enfo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxcurlynewline.md b/docs/recipes/codemods/format/jsxcurlynewline.md index 1fd2bff7e8..9059336059 100644 --- a/docs/recipes/codemods/format/jsxcurlynewline.md +++ b/docs/recipes/codemods/format/jsxcurlynewline.md @@ -18,12 +18,16 @@ _Enforce consistent linebreaks in curly braces in JSX attributes and expressions ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxcurlyspacing.md b/docs/recipes/codemods/format/jsxcurlyspacing.md index 4127a0515c..63332fa499 100644 --- a/docs/recipes/codemods/format/jsxcurlyspacing.md +++ b/docs/recipes/codemods/format/jsxcurlyspacing.md @@ -18,12 +18,16 @@ _Enforce or disallow spaces inside of curly braces in JSX attributes and express ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxequalsspacing.md b/docs/recipes/codemods/format/jsxequalsspacing.md index 75ad3c4593..20981e7677 100644 --- a/docs/recipes/codemods/format/jsxequalsspacing.md +++ b/docs/recipes/codemods/format/jsxequalsspacing.md @@ -18,12 +18,16 @@ _Enforce or disallow spaces around equal signs in JSX attributes See [rule deta ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxfirstpropnewline.md b/docs/recipes/codemods/format/jsxfirstpropnewline.md index 6391ba8c56..23d51ab6e1 100644 --- a/docs/recipes/codemods/format/jsxfirstpropnewline.md +++ b/docs/recipes/codemods/format/jsxfirstpropnewline.md @@ -18,12 +18,16 @@ _Enforce proper position of the first property in JSX See [rule details](https: ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxindent.md b/docs/recipes/codemods/format/jsxindent.md index e2ab38bcfc..41bf62f442 100644 --- a/docs/recipes/codemods/format/jsxindent.md +++ b/docs/recipes/codemods/format/jsxindent.md @@ -18,12 +18,16 @@ _Enforce JSX indentation See [rule details](https://eslint.style/rules/default/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxindentprops.md b/docs/recipes/codemods/format/jsxindentprops.md index f399d85fa3..5bfff28e30 100644 --- a/docs/recipes/codemods/format/jsxindentprops.md +++ b/docs/recipes/codemods/format/jsxindentprops.md @@ -18,12 +18,16 @@ _Enforce props indentation in JSX See [rule details](https://eslint.style/rules ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxmaxpropsperline.md b/docs/recipes/codemods/format/jsxmaxpropsperline.md index 0ee76ae34f..dbe2e64483 100644 --- a/docs/recipes/codemods/format/jsxmaxpropsperline.md +++ b/docs/recipes/codemods/format/jsxmaxpropsperline.md @@ -18,12 +18,16 @@ _Enforce maximum of props on a single line in JSX See [rule details](https://es ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxnewline.md b/docs/recipes/codemods/format/jsxnewline.md index 718b8dff48..a74132e165 100644 --- a/docs/recipes/codemods/format/jsxnewline.md +++ b/docs/recipes/codemods/format/jsxnewline.md @@ -18,12 +18,16 @@ _Require or prevent a new line after jsx elements and expressions. See [rule de ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxoneexpressionperline.md b/docs/recipes/codemods/format/jsxoneexpressionperline.md index 19c69a4060..1ce00d4911 100644 --- a/docs/recipes/codemods/format/jsxoneexpressionperline.md +++ b/docs/recipes/codemods/format/jsxoneexpressionperline.md @@ -18,12 +18,16 @@ _Require one JSX element per line See [rule details](https://eslint.style/rules ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxpascalcase.md b/docs/recipes/codemods/format/jsxpascalcase.md index a67b8a1111..71575abad3 100644 --- a/docs/recipes/codemods/format/jsxpascalcase.md +++ b/docs/recipes/codemods/format/jsxpascalcase.md @@ -18,12 +18,16 @@ _Enforce PascalCase for user-defined JSX components See [rule details](https:// ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxpropsnomultispaces.md b/docs/recipes/codemods/format/jsxpropsnomultispaces.md index 9817dffd21..54f9a1c1e2 100644 --- a/docs/recipes/codemods/format/jsxpropsnomultispaces.md +++ b/docs/recipes/codemods/format/jsxpropsnomultispaces.md @@ -18,12 +18,16 @@ _Disallow multiple spaces between inline JSX props See [rule details](https://e ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxquotes.md b/docs/recipes/codemods/format/jsxquotes.md index d07476852e..342893c99c 100644 --- a/docs/recipes/codemods/format/jsxquotes.md +++ b/docs/recipes/codemods/format/jsxquotes.md @@ -18,12 +18,16 @@ _Enforce the consistent use of either double or single quotes in JSX attributes ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxselfclosingcomp.md b/docs/recipes/codemods/format/jsxselfclosingcomp.md index d73172d842..d3aa8f9599 100644 --- a/docs/recipes/codemods/format/jsxselfclosingcomp.md +++ b/docs/recipes/codemods/format/jsxselfclosingcomp.md @@ -18,12 +18,16 @@ _Disallow extra closing tags for components without children See [rule details] ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxsortprops.md b/docs/recipes/codemods/format/jsxsortprops.md index b15b798723..0633c44fa2 100644 --- a/docs/recipes/codemods/format/jsxsortprops.md +++ b/docs/recipes/codemods/format/jsxsortprops.md @@ -18,12 +18,16 @@ _Enforce props alphabetical sorting See [rule details](https://eslint.style/rul ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxtagspacing.md b/docs/recipes/codemods/format/jsxtagspacing.md index b3e5fc0a09..256fa41edf 100644 --- a/docs/recipes/codemods/format/jsxtagspacing.md +++ b/docs/recipes/codemods/format/jsxtagspacing.md @@ -18,12 +18,16 @@ _Enforce whitespace in and around the JSX opening and closing brackets See [rul ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/jsxwrapmultilines.md b/docs/recipes/codemods/format/jsxwrapmultilines.md index ddeda1f5eb..bedbbf56e8 100644 --- a/docs/recipes/codemods/format/jsxwrapmultilines.md +++ b/docs/recipes/codemods/format/jsxwrapmultilines.md @@ -18,12 +18,16 @@ _Disallow missing parentheses around multiline JSX See [rule details](https://e ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/keyspacing.md b/docs/recipes/codemods/format/keyspacing.md index 769bbe65df..40b3f62a6d 100644 --- a/docs/recipes/codemods/format/keyspacing.md +++ b/docs/recipes/codemods/format/keyspacing.md @@ -18,12 +18,16 @@ _Enforce consistent spacing between keys and values in object literal properties ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/keywordspacing.md b/docs/recipes/codemods/format/keywordspacing.md index 39a6e6dbac..bbda0cd484 100644 --- a/docs/recipes/codemods/format/keywordspacing.md +++ b/docs/recipes/codemods/format/keywordspacing.md @@ -18,12 +18,16 @@ _Enforce consistent spacing before and after keywords See [rule details](https: ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/linebreakstyle.md b/docs/recipes/codemods/format/linebreakstyle.md index 2d648bbe59..6344c056bb 100644 --- a/docs/recipes/codemods/format/linebreakstyle.md +++ b/docs/recipes/codemods/format/linebreakstyle.md @@ -18,12 +18,16 @@ _Enforce consistent linebreak style See [rule details](https://eslint.style/rul ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/linesaroundcomment.md b/docs/recipes/codemods/format/linesaroundcomment.md index 1953c36991..e41c8624e9 100644 --- a/docs/recipes/codemods/format/linesaroundcomment.md +++ b/docs/recipes/codemods/format/linesaroundcomment.md @@ -18,12 +18,16 @@ _Require empty lines around comments See [rule details](https://eslint.style/ru ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/linesbetweenclassmembers.md b/docs/recipes/codemods/format/linesbetweenclassmembers.md index 27aa3e2c4f..51f9adfd5c 100644 --- a/docs/recipes/codemods/format/linesbetweenclassmembers.md +++ b/docs/recipes/codemods/format/linesbetweenclassmembers.md @@ -18,12 +18,16 @@ _Require or disallow an empty line between class members See [rule details](htt ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/memberdelimiterstyle.md b/docs/recipes/codemods/format/memberdelimiterstyle.md index 0c17d5001c..185dd6a1d9 100644 --- a/docs/recipes/codemods/format/memberdelimiterstyle.md +++ b/docs/recipes/codemods/format/memberdelimiterstyle.md @@ -18,12 +18,16 @@ _Require a specific member delimiter style for interfaces and type literals See ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/multilineternary.md b/docs/recipes/codemods/format/multilineternary.md index 22a81b6ac4..06a250f072 100644 --- a/docs/recipes/codemods/format/multilineternary.md +++ b/docs/recipes/codemods/format/multilineternary.md @@ -18,12 +18,16 @@ _Enforce newlines between operands of ternary expressions See [rule details](ht ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/newlineperchainedcall.md b/docs/recipes/codemods/format/newlineperchainedcall.md index 8fe12f38c7..d52a043dda 100644 --- a/docs/recipes/codemods/format/newlineperchainedcall.md +++ b/docs/recipes/codemods/format/newlineperchainedcall.md @@ -18,12 +18,16 @@ _Require a newline after each call in a method chain See [rule details](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/newparens.md b/docs/recipes/codemods/format/newparens.md index b5cf1fccb0..202225d828 100644 --- a/docs/recipes/codemods/format/newparens.md +++ b/docs/recipes/codemods/format/newparens.md @@ -18,12 +18,16 @@ _Enforce or disallow parentheses when invoking a constructor with no arguments ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/noconfusingarrow.md b/docs/recipes/codemods/format/noconfusingarrow.md index 2f2e3540c4..cb10463e21 100644 --- a/docs/recipes/codemods/format/noconfusingarrow.md +++ b/docs/recipes/codemods/format/noconfusingarrow.md @@ -18,12 +18,16 @@ _Disallow arrow functions where they could be confused with comparisons See [ru ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/noextraparens.md b/docs/recipes/codemods/format/noextraparens.md index d7ccd62908..6b1dff9cd3 100644 --- a/docs/recipes/codemods/format/noextraparens.md +++ b/docs/recipes/codemods/format/noextraparens.md @@ -18,12 +18,16 @@ _Disallow unnecessary parentheses See [rule details](https://eslint.style/rules ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/noextrasemi.md b/docs/recipes/codemods/format/noextrasemi.md index 75e24412ae..c1e4932bc2 100644 --- a/docs/recipes/codemods/format/noextrasemi.md +++ b/docs/recipes/codemods/format/noextrasemi.md @@ -18,12 +18,16 @@ _Disallow unnecessary semicolons See [rule details](https://eslint.style/rules/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/nofloatingdecimal.md b/docs/recipes/codemods/format/nofloatingdecimal.md index 6c5b2eaf77..446b9f93ff 100644 --- a/docs/recipes/codemods/format/nofloatingdecimal.md +++ b/docs/recipes/codemods/format/nofloatingdecimal.md @@ -18,12 +18,16 @@ _Disallow leading or trailing decimal points in numeric literals See [rule deta ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/nomultipleemptylines.md b/docs/recipes/codemods/format/nomultipleemptylines.md index 2eaa4626b5..7c64d20798 100644 --- a/docs/recipes/codemods/format/nomultipleemptylines.md +++ b/docs/recipes/codemods/format/nomultipleemptylines.md @@ -18,12 +18,16 @@ _Disallow multiple empty lines See [rule details](https://eslint.style/rules/de ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/nomultispaces.md b/docs/recipes/codemods/format/nomultispaces.md index 21e064c9c4..6802477da3 100644 --- a/docs/recipes/codemods/format/nomultispaces.md +++ b/docs/recipes/codemods/format/nomultispaces.md @@ -18,12 +18,16 @@ _Disallow multiple spaces See [rule details](https://eslint.style/rules/default ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/nonblockstatementbodyposition.md b/docs/recipes/codemods/format/nonblockstatementbodyposition.md index 529b030556..f85de5b416 100644 --- a/docs/recipes/codemods/format/nonblockstatementbodyposition.md +++ b/docs/recipes/codemods/format/nonblockstatementbodyposition.md @@ -18,12 +18,16 @@ _Enforce the location of single-line statements See [rule details](https://esli ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/notrailingspaces.md b/docs/recipes/codemods/format/notrailingspaces.md index 569b09a54e..b92f13a91f 100644 --- a/docs/recipes/codemods/format/notrailingspaces.md +++ b/docs/recipes/codemods/format/notrailingspaces.md @@ -18,12 +18,16 @@ _Disallow trailing whitespace at the end of lines See [rule details](https://es ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/nowhitespacebeforeproperty.md b/docs/recipes/codemods/format/nowhitespacebeforeproperty.md index 644c85f134..1dac8e7b39 100644 --- a/docs/recipes/codemods/format/nowhitespacebeforeproperty.md +++ b/docs/recipes/codemods/format/nowhitespacebeforeproperty.md @@ -18,12 +18,16 @@ _Disallow whitespace before properties See [rule details](https://eslint.style/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/objectcurlynewline.md b/docs/recipes/codemods/format/objectcurlynewline.md index 6da5adbc17..1f9bc6830d 100644 --- a/docs/recipes/codemods/format/objectcurlynewline.md +++ b/docs/recipes/codemods/format/objectcurlynewline.md @@ -18,12 +18,16 @@ _Enforce consistent line breaks after opening and before closing braces See [ru ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/objectcurlyspacing.md b/docs/recipes/codemods/format/objectcurlyspacing.md index e85fe74935..149391bdde 100644 --- a/docs/recipes/codemods/format/objectcurlyspacing.md +++ b/docs/recipes/codemods/format/objectcurlyspacing.md @@ -18,12 +18,16 @@ _Enforce consistent spacing inside braces See [rule details](https://eslint.sty ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/objectpropertynewline.md b/docs/recipes/codemods/format/objectpropertynewline.md index ad68ccd94b..2442d8ad96 100644 --- a/docs/recipes/codemods/format/objectpropertynewline.md +++ b/docs/recipes/codemods/format/objectpropertynewline.md @@ -18,12 +18,16 @@ _Enforce placing object properties on separate lines See [rule details](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/onevardeclarationperline.md b/docs/recipes/codemods/format/onevardeclarationperline.md index e978f59989..63d5ea42c8 100644 --- a/docs/recipes/codemods/format/onevardeclarationperline.md +++ b/docs/recipes/codemods/format/onevardeclarationperline.md @@ -18,12 +18,16 @@ _Require or disallow newlines around variable declarations See [rule details](h ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/operatorlinebreak.md b/docs/recipes/codemods/format/operatorlinebreak.md index 950a9206dd..4679c20e21 100644 --- a/docs/recipes/codemods/format/operatorlinebreak.md +++ b/docs/recipes/codemods/format/operatorlinebreak.md @@ -18,12 +18,16 @@ _Enforce consistent linebreak style for operators See [rule details](https://es ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/paddedblocks.md b/docs/recipes/codemods/format/paddedblocks.md index a3bf32faad..1ea623714d 100644 --- a/docs/recipes/codemods/format/paddedblocks.md +++ b/docs/recipes/codemods/format/paddedblocks.md @@ -18,12 +18,16 @@ _Require or disallow padding within blocks See [rule details](https://eslint.st ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/paddinglinebetweenstatements.md b/docs/recipes/codemods/format/paddinglinebetweenstatements.md index ff4cc35fcb..71a8bf6f3f 100644 --- a/docs/recipes/codemods/format/paddinglinebetweenstatements.md +++ b/docs/recipes/codemods/format/paddinglinebetweenstatements.md @@ -18,12 +18,16 @@ _Require or disallow padding lines between statements See [rule details](https: ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/quoteprops.md b/docs/recipes/codemods/format/quoteprops.md index 0abc9dfb26..8263bdc77c 100644 --- a/docs/recipes/codemods/format/quoteprops.md +++ b/docs/recipes/codemods/format/quoteprops.md @@ -18,12 +18,16 @@ _Require quotes around object literal property names See [rule details](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/quotes.md b/docs/recipes/codemods/format/quotes.md index 5e9059932a..6e6d97bd7a 100644 --- a/docs/recipes/codemods/format/quotes.md +++ b/docs/recipes/codemods/format/quotes.md @@ -18,12 +18,16 @@ _Enforce the consistent use of either backticks, double, or single quotes See [ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/recommendedeslintstyling.md b/docs/recipes/codemods/format/recommendedeslintstyling.md index 8c75189ed1..691d2d7c92 100644 --- a/docs/recipes/codemods/format/recommendedeslintstyling.md +++ b/docs/recipes/codemods/format/recommendedeslintstyling.md @@ -18,12 +18,16 @@ _Collection of stylistic ESLint rules that are recommended by the [ESLint Style. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/restspreadspacing.md b/docs/recipes/codemods/format/restspreadspacing.md index 8f997176eb..55cceb8af5 100644 --- a/docs/recipes/codemods/format/restspreadspacing.md +++ b/docs/recipes/codemods/format/restspreadspacing.md @@ -18,12 +18,16 @@ _Enforce spacing between rest and spread operators and their expressions See [r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/semi.md b/docs/recipes/codemods/format/semi.md index 48c664c303..66daafd732 100644 --- a/docs/recipes/codemods/format/semi.md +++ b/docs/recipes/codemods/format/semi.md @@ -18,12 +18,16 @@ _Require or disallow semicolons instead of ASI See [rule details](https://eslin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/semispacing.md b/docs/recipes/codemods/format/semispacing.md index 4eb1658caf..22185fbcb7 100644 --- a/docs/recipes/codemods/format/semispacing.md +++ b/docs/recipes/codemods/format/semispacing.md @@ -18,12 +18,16 @@ _Enforce consistent spacing before and after semicolons See [rule details](http ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/semistyle.md b/docs/recipes/codemods/format/semistyle.md index 2d87b54639..a3aea93b6a 100644 --- a/docs/recipes/codemods/format/semistyle.md +++ b/docs/recipes/codemods/format/semistyle.md @@ -18,12 +18,16 @@ _Enforce location of semicolons See [rule details](https://eslint.style/rules/d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/spacebeforeblocks.md b/docs/recipes/codemods/format/spacebeforeblocks.md index 4cd88342c1..229008e02f 100644 --- a/docs/recipes/codemods/format/spacebeforeblocks.md +++ b/docs/recipes/codemods/format/spacebeforeblocks.md @@ -18,12 +18,16 @@ _Enforce consistent spacing before blocks See [rule details](https://eslint.sty ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/spacebeforefunctionparen.md b/docs/recipes/codemods/format/spacebeforefunctionparen.md index fa58a998a3..91f213bad6 100644 --- a/docs/recipes/codemods/format/spacebeforefunctionparen.md +++ b/docs/recipes/codemods/format/spacebeforefunctionparen.md @@ -18,12 +18,16 @@ _Enforce consistent spacing before `function` definition opening paren ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/spacedcomment.md b/docs/recipes/codemods/format/spacedcomment.md index b7708d3e8d..e9324507ce 100644 --- a/docs/recipes/codemods/format/spacedcomment.md +++ b/docs/recipes/codemods/format/spacedcomment.md @@ -18,12 +18,16 @@ _Enforce consistent spacing after the `//` or `/*` in a comm ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/spaceinfixops.md b/docs/recipes/codemods/format/spaceinfixops.md index 6e75a0dc9d..51b3d45b40 100644 --- a/docs/recipes/codemods/format/spaceinfixops.md +++ b/docs/recipes/codemods/format/spaceinfixops.md @@ -18,12 +18,16 @@ _Require spacing around infix operators See [rule details](https://eslint.style ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/spaceinparens.md b/docs/recipes/codemods/format/spaceinparens.md index 746e288302..567ea56836 100644 --- a/docs/recipes/codemods/format/spaceinparens.md +++ b/docs/recipes/codemods/format/spaceinparens.md @@ -18,12 +18,16 @@ _Enforce consistent spacing inside parentheses See [rule details](https://eslin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/spaceunaryops.md b/docs/recipes/codemods/format/spaceunaryops.md index bd94c0275a..38b0c08634 100644 --- a/docs/recipes/codemods/format/spaceunaryops.md +++ b/docs/recipes/codemods/format/spaceunaryops.md @@ -18,12 +18,16 @@ _Enforce consistent spacing before or after unary operators See [rule details]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/switchcolonspacing.md b/docs/recipes/codemods/format/switchcolonspacing.md index e41ada5bcc..7d60bda1bc 100644 --- a/docs/recipes/codemods/format/switchcolonspacing.md +++ b/docs/recipes/codemods/format/switchcolonspacing.md @@ -18,12 +18,16 @@ _Enforce spacing around colons of switch statements See [rule details](https:// ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/templatecurlyspacing.md b/docs/recipes/codemods/format/templatecurlyspacing.md index 7b01d9734e..fd986c2d73 100644 --- a/docs/recipes/codemods/format/templatecurlyspacing.md +++ b/docs/recipes/codemods/format/templatecurlyspacing.md @@ -18,12 +18,16 @@ _Require or disallow spacing around embedded expressions of template strings Se ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/templatetagspacing.md b/docs/recipes/codemods/format/templatetagspacing.md index a7e4b6777b..d44324ee3c 100644 --- a/docs/recipes/codemods/format/templatetagspacing.md +++ b/docs/recipes/codemods/format/templatetagspacing.md @@ -18,12 +18,16 @@ _Require or disallow spacing between template tags and their literals See [rule ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/typeannotationspacing.md b/docs/recipes/codemods/format/typeannotationspacing.md index 43b642a230..3203c158f6 100644 --- a/docs/recipes/codemods/format/typeannotationspacing.md +++ b/docs/recipes/codemods/format/typeannotationspacing.md @@ -18,12 +18,16 @@ _Require consistent spacing around type annotations See [rule details](https:// ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/typegenericspacing.md b/docs/recipes/codemods/format/typegenericspacing.md index caf2c55a01..d4e398128f 100644 --- a/docs/recipes/codemods/format/typegenericspacing.md +++ b/docs/recipes/codemods/format/typegenericspacing.md @@ -18,12 +18,16 @@ _Enforces consistent spacing inside TypeScript type generics See [rule details] ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/typenamedtuplespacing.md b/docs/recipes/codemods/format/typenamedtuplespacing.md index 4def7d05ce..27d8a65c10 100644 --- a/docs/recipes/codemods/format/typenamedtuplespacing.md +++ b/docs/recipes/codemods/format/typenamedtuplespacing.md @@ -18,12 +18,16 @@ _Expect space before the type declaration in the named tuple See [rule details] ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/wrapiife.md b/docs/recipes/codemods/format/wrapiife.md index 7296e52822..6e15344b78 100644 --- a/docs/recipes/codemods/format/wrapiife.md +++ b/docs/recipes/codemods/format/wrapiife.md @@ -18,12 +18,16 @@ _Require parentheses around immediate `function` invocations See [rul ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/wrapregex.md b/docs/recipes/codemods/format/wrapregex.md index e2b0e44943..a543345e1f 100644 --- a/docs/recipes/codemods/format/wrapregex.md +++ b/docs/recipes/codemods/format/wrapregex.md @@ -18,12 +18,16 @@ _Require parenthesis around regex literals See [rule details](https://eslint.st ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/format/yieldstarspacing.md b/docs/recipes/codemods/format/yieldstarspacing.md index ded5dc075e..c2d4907888 100644 --- a/docs/recipes/codemods/format/yieldstarspacing.md +++ b/docs/recipes/codemods/format/yieldstarspacing.md @@ -18,12 +18,16 @@ _Require or disallow spacing around the `*` in `yield*` expr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/stylistic.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/angular/applyangularcli.md b/docs/recipes/codemods/migrate/angular/applyangularcli.md index e36663dec1..f5a0d417fa 100644 --- a/docs/recipes/codemods/migrate/angular/applyangularcli.md +++ b/docs/recipes/codemods/migrate/angular/applyangularcli.md @@ -13,7 +13,7 @@ _Run `ng update` to upgrade Angular CLI and Angular Core to the specified versio ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods-ng/blob/main/src/main/java/org/openrewrite/codemods/migrate/angular/ApplyAngularCLI.java), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods-ng/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods-ng/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,25 +21,28 @@ _Run `ng update` to upgrade Angular CLI and Angular Core to the specified versio | -- | -- | -- | -- | | `String` | version | Which version of Angular to upgrade | `17` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ApplyAngularCLIExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ApplyAngularCLIExample displayName: Upgrade Angular versions example recipeList: - - org.openrewrite.codemods.migrate.angular.ApplyAngularCLI: + - org.openrewrite.codemods.migrate.angular.ApplyAngularCLI: version: 17 ``` -Now that `com.yourorg.ApplyAngularCLIExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-codemods-ng:{{VERSION_REWRITE_CODEMODS_NG}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/codemods/migrate/angular/v15.md b/docs/recipes/codemods/migrate/angular/v15.md index 72e748d901..f3c8aef081 100644 --- a/docs/recipes/codemods/migrate/angular/v15.md +++ b/docs/recipes/codemods/migrate/angular/v15.md @@ -13,12 +13,16 @@ _Upgrade to Angular v15_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods-ng/blob/main/src/main/resources/META-INF/rewrite/angular.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods-ng/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods-ng/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods-ng` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/angular/v16.md b/docs/recipes/codemods/migrate/angular/v16.md index f13dba806d..2cc65e4690 100644 --- a/docs/recipes/codemods/migrate/angular/v16.md +++ b/docs/recipes/codemods/migrate/angular/v16.md @@ -13,12 +13,16 @@ _Upgrade to Angular v16_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods-ng/blob/main/src/main/resources/META-INF/rewrite/angular.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods-ng/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods-ng/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods-ng` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/angular/v17.md b/docs/recipes/codemods/migrate/angular/v17.md index b5b6c65b4f..2f49e4fb1c 100644 --- a/docs/recipes/codemods/migrate/angular/v17.md +++ b/docs/recipes/codemods/migrate/angular/v17.md @@ -13,12 +13,16 @@ _Upgrade to Angular v17_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods-ng/blob/main/src/main/resources/META-INF/rewrite/angular.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods-ng/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods-ng/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods-ng` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/angular/v18.md b/docs/recipes/codemods/migrate/angular/v18.md index 1f9a2c07e0..76ed940883 100644 --- a/docs/recipes/codemods/migrate/angular/v18.md +++ b/docs/recipes/codemods/migrate/angular/v18.md @@ -13,12 +13,16 @@ _Upgrade to Angular v18_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods-ng/blob/main/src/main/resources/META-INF/rewrite/angular.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods-ng/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods-ng/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods-ng` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/angular/v19.md b/docs/recipes/codemods/migrate/angular/v19.md index 5c07efe7c1..2eb2c5d4de 100644 --- a/docs/recipes/codemods/migrate/angular/v19.md +++ b/docs/recipes/codemods/migrate/angular/v19.md @@ -13,12 +13,16 @@ _Upgrade to Angular v19_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods-ng/blob/main/src/main/resources/META-INF/rewrite/angular.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods-ng/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods-ng/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods-ng` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/lodash/lodashunderscorearray.md b/docs/recipes/codemods/migrate/lodash/lodashunderscorearray.md index 210be05b9e..ef55f309c8 100644 --- a/docs/recipes/codemods/migrate/lodash/lodashunderscorearray.md +++ b/docs/recipes/codemods/migrate/lodash/lodashunderscorearray.md @@ -29,12 +29,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/migrate.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/lodash/lodashunderscorefunction.md b/docs/recipes/codemods/migrate/lodash/lodashunderscorefunction.md index ac4531895f..cdc6a89dd4 100644 --- a/docs/recipes/codemods/migrate/lodash/lodashunderscorefunction.md +++ b/docs/recipes/codemods/migrate/lodash/lodashunderscorefunction.md @@ -23,12 +23,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/migrate.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/lodash/lodashunderscoreobjects.md b/docs/recipes/codemods/migrate/lodash/lodashunderscoreobjects.md index e713086391..790bc628a9 100644 --- a/docs/recipes/codemods/migrate/lodash/lodashunderscoreobjects.md +++ b/docs/recipes/codemods/migrate/lodash/lodashunderscoreobjects.md @@ -27,12 +27,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/migrate.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/lodash/lodashunderscoreutil.md b/docs/recipes/codemods/migrate/lodash/lodashunderscoreutil.md index 66a4880174..b5669701df 100644 --- a/docs/recipes/codemods/migrate/lodash/lodashunderscoreutil.md +++ b/docs/recipes/codemods/migrate/lodash/lodashunderscoreutil.md @@ -28,12 +28,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/migrate.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/adapterv.md b/docs/recipes/codemods/migrate/mui/adapterv.md index 92b38db3b0..b399fd5468 100644 --- a/docs/recipes/codemods/migrate/mui/adapterv.md +++ b/docs/recipes/codemods/migrate/mui/adapterv.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/all.md b/docs/recipes/codemods/migrate/mui/all.md index bf4ef0b165..54e02cc208 100644 --- a/docs/recipes/codemods/migrate/mui/all.md +++ b/docs/recipes/codemods/migrate/mui/all.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/autocompleterenamecloseicon.md b/docs/recipes/codemods/migrate/mui/autocompleterenamecloseicon.md index 366d93c6b3..d50615896c 100644 --- a/docs/recipes/codemods/migrate/mui/autocompleterenamecloseicon.md +++ b/docs/recipes/codemods/migrate/mui/autocompleterenamecloseicon.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/autocompleterenameoption.md b/docs/recipes/codemods/migrate/mui/autocompleterenameoption.md index d7be6e1793..a7e7f6e833 100644 --- a/docs/recipes/codemods/migrate/mui/autocompleterenameoption.md +++ b/docs/recipes/codemods/migrate/mui/autocompleterenameoption.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/avatarcirclecircular.md b/docs/recipes/codemods/migrate/mui/avatarcirclecircular.md index 11a2f6fe9d..ff40c81324 100644 --- a/docs/recipes/codemods/migrate/mui/avatarcirclecircular.md +++ b/docs/recipes/codemods/migrate/mui/avatarcirclecircular.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/badgeoverlapvalue.md b/docs/recipes/codemods/migrate/mui/badgeoverlapvalue.md index ae744055ae..88322054ab 100644 --- a/docs/recipes/codemods/migrate/mui/badgeoverlapvalue.md +++ b/docs/recipes/codemods/migrate/mui/badgeoverlapvalue.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/basehookimports.md b/docs/recipes/codemods/migrate/mui/basehookimports.md index 0a3f3dd81a..f21baea565 100644 --- a/docs/recipes/codemods/migrate/mui/basehookimports.md +++ b/docs/recipes/codemods/migrate/mui/basehookimports.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/baseremovecomponentprop.md b/docs/recipes/codemods/migrate/mui/baseremovecomponentprop.md index d3054e7cc7..88dd245e97 100644 --- a/docs/recipes/codemods/migrate/mui/baseremovecomponentprop.md +++ b/docs/recipes/codemods/migrate/mui/baseremovecomponentprop.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/baseremoveunstyledsuffix.md b/docs/recipes/codemods/migrate/mui/baseremoveunstyledsuffix.md index 638c16200a..63e86d5eca 100644 --- a/docs/recipes/codemods/migrate/mui/baseremoveunstyledsuffix.md +++ b/docs/recipes/codemods/migrate/mui/baseremoveunstyledsuffix.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/baserenamecomponentstoslots.md b/docs/recipes/codemods/migrate/mui/baserenamecomponentstoslots.md index aa8e12ce69..ff126d4555 100644 --- a/docs/recipes/codemods/migrate/mui/baserenamecomponentstoslots.md +++ b/docs/recipes/codemods/migrate/mui/baserenamecomponentstoslots.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/baseusenamedexports.md b/docs/recipes/codemods/migrate/mui/baseusenamedexports.md index 3c9faec7c7..0445972b50 100644 --- a/docs/recipes/codemods/migrate/mui/baseusenamedexports.md +++ b/docs/recipes/codemods/migrate/mui/baseusenamedexports.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/boxborderradiusvalues.md b/docs/recipes/codemods/migrate/mui/boxborderradiusvalues.md index 2332bf2442..c42aae8e2a 100644 --- a/docs/recipes/codemods/migrate/mui/boxborderradiusvalues.md +++ b/docs/recipes/codemods/migrate/mui/boxborderradiusvalues.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/boxrenamecss.md b/docs/recipes/codemods/migrate/mui/boxrenamecss.md index 9b87c20a94..f1a9a13ab3 100644 --- a/docs/recipes/codemods/migrate/mui/boxrenamecss.md +++ b/docs/recipes/codemods/migrate/mui/boxrenamecss.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/boxrenamegap.md b/docs/recipes/codemods/migrate/mui/boxrenamegap.md index 8a3a12a8fc..f1d18b4d7a 100644 --- a/docs/recipes/codemods/migrate/mui/boxrenamegap.md +++ b/docs/recipes/codemods/migrate/mui/boxrenamegap.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/boxsxprop.md b/docs/recipes/codemods/migrate/mui/boxsxprop.md index 4b7fb75179..dc191374b3 100644 --- a/docs/recipes/codemods/migrate/mui/boxsxprop.md +++ b/docs/recipes/codemods/migrate/mui/boxsxprop.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/buttoncolorprop.md b/docs/recipes/codemods/migrate/mui/buttoncolorprop.md index d375200817..80d0be023f 100644 --- a/docs/recipes/codemods/migrate/mui/buttoncolorprop.md +++ b/docs/recipes/codemods/migrate/mui/buttoncolorprop.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/chipvariantprop.md b/docs/recipes/codemods/migrate/mui/chipvariantprop.md index b380f0ba18..06d9ae6330 100644 --- a/docs/recipes/codemods/migrate/mui/chipvariantprop.md +++ b/docs/recipes/codemods/migrate/mui/chipvariantprop.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/circularprogressvariant.md b/docs/recipes/codemods/migrate/mui/circularprogressvariant.md index 944f713649..c883d42e5e 100644 --- a/docs/recipes/codemods/migrate/mui/circularprogressvariant.md +++ b/docs/recipes/codemods/migrate/mui/circularprogressvariant.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/collapserenamecollapsedheight.md b/docs/recipes/codemods/migrate/mui/collapserenamecollapsedheight.md index 92b0d8c222..5ab3831bca 100644 --- a/docs/recipes/codemods/migrate/mui/collapserenamecollapsedheight.md +++ b/docs/recipes/codemods/migrate/mui/collapserenamecollapsedheight.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/componentrenameprop.md b/docs/recipes/codemods/migrate/mui/componentrenameprop.md index b9cb5968c0..3716aef4cb 100644 --- a/docs/recipes/codemods/migrate/mui/componentrenameprop.md +++ b/docs/recipes/codemods/migrate/mui/componentrenameprop.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/corestylesimport.md b/docs/recipes/codemods/migrate/mui/corestylesimport.md index 56d5f3a83a..1ade3ec918 100644 --- a/docs/recipes/codemods/migrate/mui/corestylesimport.md +++ b/docs/recipes/codemods/migrate/mui/corestylesimport.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/createtheme.md b/docs/recipes/codemods/migrate/mui/createtheme.md index 8a81c47778..893aa10c6e 100644 --- a/docs/recipes/codemods/migrate/mui/createtheme.md +++ b/docs/recipes/codemods/migrate/mui/createtheme.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/datepickersmovedtox.md b/docs/recipes/codemods/migrate/mui/datepickersmovedtox.md index 23555abaef..0f0f4a981c 100644 --- a/docs/recipes/codemods/migrate/mui/datepickersmovedtox.md +++ b/docs/recipes/codemods/migrate/mui/datepickersmovedtox.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/dialogprops.md b/docs/recipes/codemods/migrate/mui/dialogprops.md index 79fc506f28..0e96efe9af 100644 --- a/docs/recipes/codemods/migrate/mui/dialogprops.md +++ b/docs/recipes/codemods/migrate/mui/dialogprops.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/dialogtitleprops.md b/docs/recipes/codemods/migrate/mui/dialogtitleprops.md index 52213bea17..e061a5d0a6 100644 --- a/docs/recipes/codemods/migrate/mui/dialogtitleprops.md +++ b/docs/recipes/codemods/migrate/mui/dialogtitleprops.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/emotionprependcache.md b/docs/recipes/codemods/migrate/mui/emotionprependcache.md index 7d3240e534..b6f5603500 100644 --- a/docs/recipes/codemods/migrate/mui/emotionprependcache.md +++ b/docs/recipes/codemods/migrate/mui/emotionprependcache.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/expansionpanelcomponent.md b/docs/recipes/codemods/migrate/mui/expansionpanelcomponent.md index 7d8b4db099..fe685aab12 100644 --- a/docs/recipes/codemods/migrate/mui/expansionpanelcomponent.md +++ b/docs/recipes/codemods/migrate/mui/expansionpanelcomponent.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/fabvariant.md b/docs/recipes/codemods/migrate/mui/fabvariant.md index ee3882ef7d..cccccab9eb 100644 --- a/docs/recipes/codemods/migrate/mui/fabvariant.md +++ b/docs/recipes/codemods/migrate/mui/fabvariant.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/faderenamealpha.md b/docs/recipes/codemods/migrate/mui/faderenamealpha.md index 0c0de288c9..6df58879f3 100644 --- a/docs/recipes/codemods/migrate/mui/faderenamealpha.md +++ b/docs/recipes/codemods/migrate/mui/faderenamealpha.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/gridjustifyjustifycontent.md b/docs/recipes/codemods/migrate/mui/gridjustifyjustifycontent.md index 25231a7cda..fc2d5fccb3 100644 --- a/docs/recipes/codemods/migrate/mui/gridjustifyjustifycontent.md +++ b/docs/recipes/codemods/migrate/mui/gridjustifyjustifycontent.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/gridlistcomponent.md b/docs/recipes/codemods/migrate/mui/gridlistcomponent.md index 190b52d8ff..a110c93112 100644 --- a/docs/recipes/codemods/migrate/mui/gridlistcomponent.md +++ b/docs/recipes/codemods/migrate/mui/gridlistcomponent.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/gridvprops.md b/docs/recipes/codemods/migrate/mui/gridvprops.md index bc41399e42..a483302f70 100644 --- a/docs/recipes/codemods/migrate/mui/gridvprops.md +++ b/docs/recipes/codemods/migrate/mui/gridvprops.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/hiddendownprops.md b/docs/recipes/codemods/migrate/mui/hiddendownprops.md index 77f866b3fc..6c694b7993 100644 --- a/docs/recipes/codemods/migrate/mui/hiddendownprops.md +++ b/docs/recipes/codemods/migrate/mui/hiddendownprops.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/iconbuttonsize.md b/docs/recipes/codemods/migrate/mui/iconbuttonsize.md index 904afc676b..2c35fa95e9 100644 --- a/docs/recipes/codemods/migrate/mui/iconbuttonsize.md +++ b/docs/recipes/codemods/migrate/mui/iconbuttonsize.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/joyavatarremoveimgprops.md b/docs/recipes/codemods/migrate/mui/joyavatarremoveimgprops.md index d67681eb06..071bf3d0b8 100644 --- a/docs/recipes/codemods/migrate/mui/joyavatarremoveimgprops.md +++ b/docs/recipes/codemods/migrate/mui/joyavatarremoveimgprops.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/joyrenameclassnameprefix.md b/docs/recipes/codemods/migrate/mui/joyrenameclassnameprefix.md index 41aaee0f3f..f13c5aefa5 100644 --- a/docs/recipes/codemods/migrate/mui/joyrenameclassnameprefix.md +++ b/docs/recipes/codemods/migrate/mui/joyrenameclassnameprefix.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/joyrenamecomponentstoslots.md b/docs/recipes/codemods/migrate/mui/joyrenamecomponentstoslots.md index a156f3aeae..8d6b1ca3d6 100644 --- a/docs/recipes/codemods/migrate/mui/joyrenamecomponentstoslots.md +++ b/docs/recipes/codemods/migrate/mui/joyrenamecomponentstoslots.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/joyrenamerowprop.md b/docs/recipes/codemods/migrate/mui/joyrenamerowprop.md index b74f632686..01e900af2e 100644 --- a/docs/recipes/codemods/migrate/mui/joyrenamerowprop.md +++ b/docs/recipes/codemods/migrate/mui/joyrenamerowprop.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/joytextfieldtoinput.md b/docs/recipes/codemods/migrate/mui/joytextfieldtoinput.md index 481bb1aed9..12788d327c 100644 --- a/docs/recipes/codemods/migrate/mui/joytextfieldtoinput.md +++ b/docs/recipes/codemods/migrate/mui/joytextfieldtoinput.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/jsstostyled.md b/docs/recipes/codemods/migrate/mui/jsstostyled.md index 30ab905487..7c0ef02b76 100644 --- a/docs/recipes/codemods/migrate/mui/jsstostyled.md +++ b/docs/recipes/codemods/migrate/mui/jsstostyled.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/jsstotssreact.md b/docs/recipes/codemods/migrate/mui/jsstotssreact.md index 79a069e2c6..456dc9823c 100644 --- a/docs/recipes/codemods/migrate/mui/jsstotssreact.md +++ b/docs/recipes/codemods/migrate/mui/jsstotssreact.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/linkunderlinehover.md b/docs/recipes/codemods/migrate/mui/linkunderlinehover.md index 97b2e39115..e75d2649bc 100644 --- a/docs/recipes/codemods/migrate/mui/linkunderlinehover.md +++ b/docs/recipes/codemods/migrate/mui/linkunderlinehover.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/materialuistyles.md b/docs/recipes/codemods/migrate/mui/materialuistyles.md index 70bf89edbe..9b4baa8758 100644 --- a/docs/recipes/codemods/migrate/mui/materialuistyles.md +++ b/docs/recipes/codemods/migrate/mui/materialuistyles.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/materialuitypes.md b/docs/recipes/codemods/migrate/mui/materialuitypes.md index f78db53d6d..fd40778a49 100644 --- a/docs/recipes/codemods/migrate/mui/materialuitypes.md +++ b/docs/recipes/codemods/migrate/mui/materialuitypes.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/modalprops.md b/docs/recipes/codemods/migrate/mui/modalprops.md index 0ae6e5d8c7..568b740a3e 100644 --- a/docs/recipes/codemods/migrate/mui/modalprops.md +++ b/docs/recipes/codemods/migrate/mui/modalprops.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/movedlabmodules.md b/docs/recipes/codemods/migrate/mui/movedlabmodules.md index 549e355ddd..9b52a33b86 100644 --- a/docs/recipes/codemods/migrate/mui/movedlabmodules.md +++ b/docs/recipes/codemods/migrate/mui/movedlabmodules.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/muireplace.md b/docs/recipes/codemods/migrate/mui/muireplace.md index d3e76ef725..7c3f57e84f 100644 --- a/docs/recipes/codemods/migrate/mui/muireplace.md +++ b/docs/recipes/codemods/migrate/mui/muireplace.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/optimalimports.md b/docs/recipes/codemods/migrate/mui/optimalimports.md index b05cbbd765..b83d8d8c48 100644 --- a/docs/recipes/codemods/migrate/mui/optimalimports.md +++ b/docs/recipes/codemods/migrate/mui/optimalimports.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/paginationroundcircular.md b/docs/recipes/codemods/migrate/mui/paginationroundcircular.md index bcaab21bb1..d90aaf7e9f 100644 --- a/docs/recipes/codemods/migrate/mui/paginationroundcircular.md +++ b/docs/recipes/codemods/migrate/mui/paginationroundcircular.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/presetsafe.md b/docs/recipes/codemods/migrate/mui/presetsafe.md index 52415d3887..43d6174c3d 100644 --- a/docs/recipes/codemods/migrate/mui/presetsafe.md +++ b/docs/recipes/codemods/migrate/mui/presetsafe.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/renamecssvariables.md b/docs/recipes/codemods/migrate/mui/renamecssvariables.md index 0b9d0cefc2..4b4919f094 100644 --- a/docs/recipes/codemods/migrate/mui/renamecssvariables.md +++ b/docs/recipes/codemods/migrate/mui/renamecssvariables.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/rootref.md b/docs/recipes/codemods/migrate/mui/rootref.md index 50679c5c3b..aee7d37534 100644 --- a/docs/recipes/codemods/migrate/mui/rootref.md +++ b/docs/recipes/codemods/migrate/mui/rootref.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/skeletonvariant.md b/docs/recipes/codemods/migrate/mui/skeletonvariant.md index 6f8af877bb..aa56bfdca5 100644 --- a/docs/recipes/codemods/migrate/mui/skeletonvariant.md +++ b/docs/recipes/codemods/migrate/mui/skeletonvariant.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/styled.md b/docs/recipes/codemods/migrate/mui/styled.md index 62f949368b..1a0dcc20cd 100644 --- a/docs/recipes/codemods/migrate/mui/styled.md +++ b/docs/recipes/codemods/migrate/mui/styled.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/styledengineprovider.md b/docs/recipes/codemods/migrate/mui/styledengineprovider.md index d0b1701bc0..2fbe64d4f6 100644 --- a/docs/recipes/codemods/migrate/mui/styledengineprovider.md +++ b/docs/recipes/codemods/migrate/mui/styledengineprovider.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/sxprop.md b/docs/recipes/codemods/migrate/mui/sxprop.md index 86d10ec5e3..3880bc55fe 100644 --- a/docs/recipes/codemods/migrate/mui/sxprop.md +++ b/docs/recipes/codemods/migrate/mui/sxprop.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/systemprops.md b/docs/recipes/codemods/migrate/mui/systemprops.md index 2bbfd013a2..c35f51ef98 100644 --- a/docs/recipes/codemods/migrate/mui/systemprops.md +++ b/docs/recipes/codemods/migrate/mui/systemprops.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/tableprops.md b/docs/recipes/codemods/migrate/mui/tableprops.md index d78a156062..b92ad4e2ea 100644 --- a/docs/recipes/codemods/migrate/mui/tableprops.md +++ b/docs/recipes/codemods/migrate/mui/tableprops.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/tabsscrollbuttons.md b/docs/recipes/codemods/migrate/mui/tabsscrollbuttons.md index 9e7654e648..a13e3bd22e 100644 --- a/docs/recipes/codemods/migrate/mui/tabsscrollbuttons.md +++ b/docs/recipes/codemods/migrate/mui/tabsscrollbuttons.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/textareaminmaxrows.md b/docs/recipes/codemods/migrate/mui/textareaminmaxrows.md index 9fa98bbf4a..6c6ed25cc9 100644 --- a/docs/recipes/codemods/migrate/mui/textareaminmaxrows.md +++ b/docs/recipes/codemods/migrate/mui/textareaminmaxrows.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/themeaugment.md b/docs/recipes/codemods/migrate/mui/themeaugment.md index 0b6ff69208..e8342c7a19 100644 --- a/docs/recipes/codemods/migrate/mui/themeaugment.md +++ b/docs/recipes/codemods/migrate/mui/themeaugment.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/themebreakpoints.md b/docs/recipes/codemods/migrate/mui/themebreakpoints.md index 1b58596804..a319e69beb 100644 --- a/docs/recipes/codemods/migrate/mui/themebreakpoints.md +++ b/docs/recipes/codemods/migrate/mui/themebreakpoints.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/themebreakpointswidth.md b/docs/recipes/codemods/migrate/mui/themebreakpointswidth.md index 76c3c2edf7..21be4b0299 100644 --- a/docs/recipes/codemods/migrate/mui/themebreakpointswidth.md +++ b/docs/recipes/codemods/migrate/mui/themebreakpointswidth.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/themeoptions.md b/docs/recipes/codemods/migrate/mui/themeoptions.md index 1a8709a0f3..02f44d1c78 100644 --- a/docs/recipes/codemods/migrate/mui/themeoptions.md +++ b/docs/recipes/codemods/migrate/mui/themeoptions.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/themepalettemode.md b/docs/recipes/codemods/migrate/mui/themepalettemode.md index 62b74604ca..6308ce66bc 100644 --- a/docs/recipes/codemods/migrate/mui/themepalettemode.md +++ b/docs/recipes/codemods/migrate/mui/themepalettemode.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/themeprovider.md b/docs/recipes/codemods/migrate/mui/themeprovider.md index 4f3e24fb02..86855c3c6f 100644 --- a/docs/recipes/codemods/migrate/mui/themeprovider.md +++ b/docs/recipes/codemods/migrate/mui/themeprovider.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/themespacing.md b/docs/recipes/codemods/migrate/mui/themespacing.md index 8b75cbf290..138ddd6d9f 100644 --- a/docs/recipes/codemods/migrate/mui/themespacing.md +++ b/docs/recipes/codemods/migrate/mui/themespacing.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/themespacingapi.md b/docs/recipes/codemods/migrate/mui/themespacingapi.md index 156a110237..637f9d26a9 100644 --- a/docs/recipes/codemods/migrate/mui/themespacingapi.md +++ b/docs/recipes/codemods/migrate/mui/themespacingapi.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/themetypographyround.md b/docs/recipes/codemods/migrate/mui/themetypographyround.md index 90b460d870..b2042f8e63 100644 --- a/docs/recipes/codemods/migrate/mui/themetypographyround.md +++ b/docs/recipes/codemods/migrate/mui/themetypographyround.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/themev.md b/docs/recipes/codemods/migrate/mui/themev.md index 2cafd9df51..cb7e75d975 100644 --- a/docs/recipes/codemods/migrate/mui/themev.md +++ b/docs/recipes/codemods/migrate/mui/themev.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/toplevelimports.md b/docs/recipes/codemods/migrate/mui/toplevelimports.md index 932d61f63b..c975e3bdf7 100644 --- a/docs/recipes/codemods/migrate/mui/toplevelimports.md +++ b/docs/recipes/codemods/migrate/mui/toplevelimports.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/transitions.md b/docs/recipes/codemods/migrate/mui/transitions.md index 6cf6a893b7..227583fe8c 100644 --- a/docs/recipes/codemods/migrate/mui/transitions.md +++ b/docs/recipes/codemods/migrate/mui/transitions.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/treeviewmovedtox.md b/docs/recipes/codemods/migrate/mui/treeviewmovedtox.md index 346f39bf94..e7cba64345 100644 --- a/docs/recipes/codemods/migrate/mui/treeviewmovedtox.md +++ b/docs/recipes/codemods/migrate/mui/treeviewmovedtox.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/useautocomplete.md b/docs/recipes/codemods/migrate/mui/useautocomplete.md index 0a7a1ab2f7..4a35035bb0 100644 --- a/docs/recipes/codemods/migrate/mui/useautocomplete.md +++ b/docs/recipes/codemods/migrate/mui/useautocomplete.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/usetransitionprops.md b/docs/recipes/codemods/migrate/mui/usetransitionprops.md index 26d76e84a8..1186b9c1b8 100644 --- a/docs/recipes/codemods/migrate/mui/usetransitionprops.md +++ b/docs/recipes/codemods/migrate/mui/usetransitionprops.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/variantprop.md b/docs/recipes/codemods/migrate/mui/variantprop.md index cf8718debb..3a3dc62fa0 100644 --- a/docs/recipes/codemods/migrate/mui/variantprop.md +++ b/docs/recipes/codemods/migrate/mui/variantprop.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/withmobiledialog.md b/docs/recipes/codemods/migrate/mui/withmobiledialog.md index b4493c4606..aa46180c95 100644 --- a/docs/recipes/codemods/migrate/mui/withmobiledialog.md +++ b/docs/recipes/codemods/migrate/mui/withmobiledialog.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/mui/withwidth.md b/docs/recipes/codemods/migrate/mui/withwidth.md index eca721192c..0fd0959535 100644 --- a/docs/recipes/codemods/migrate/mui/withwidth.md +++ b/docs/recipes/codemods/migrate/mui/withwidth.md @@ -19,12 +19,16 @@ _See Material UI codemod projects for more [details](https://github.com/mui/mate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/material-ui.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/nextjscodemods.md b/docs/recipes/codemods/migrate/nextjs/nextjscodemods.md index d1f42c2565..004a141ac0 100644 --- a/docs/recipes/codemods/migrate/nextjs/nextjscodemods.md +++ b/docs/recipes/codemods/migrate/nextjs/nextjscodemods.md @@ -18,15 +18,16 @@ _Next.js provides Codemod transformations to help upgrade your [Next.js](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v10/addmissingreactimport.md b/docs/recipes/codemods/migrate/nextjs/v10/addmissingreactimport.md index b18610d530..f0b95a4226 100644 --- a/docs/recipes/codemods/migrate/nextjs/v10/addmissingreactimport.md +++ b/docs/recipes/codemods/migrate/nextjs/v10/addmissingreactimport.md @@ -18,12 +18,16 @@ _Transforms files that do not import `React` to include the import in order for ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v11/cratonext.md b/docs/recipes/codemods/migrate/nextjs/v11/cratonext.md index 4543bc162d..a3a6ce1002 100644 --- a/docs/recipes/codemods/migrate/nextjs/v11/cratonext.md +++ b/docs/recipes/codemods/migrate/nextjs/v11/cratonext.md @@ -18,12 +18,16 @@ _Safely renames `next/image` imports in existing Next.js 10, 11, or 12 applicati ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v13_0/newlink.md b/docs/recipes/codemods/migrate/nextjs/v13_0/newlink.md index c3e354e922..c98fe9d250 100644 --- a/docs/recipes/codemods/migrate/nextjs/v13_0/newlink.md +++ b/docs/recipes/codemods/migrate/nextjs/v13_0/newlink.md @@ -24,12 +24,16 @@ See [documentation](https://nextjs.org/docs/app/building-your-application/upgrad ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v13_0/nextimageexperimental.md b/docs/recipes/codemods/migrate/nextjs/v13_0/nextimageexperimental.md index 6bd38b8ef1..bb22ed9c3a 100644 --- a/docs/recipes/codemods/migrate/nextjs/v13_0/nextimageexperimental.md +++ b/docs/recipes/codemods/migrate/nextjs/v13_0/nextimageexperimental.md @@ -18,12 +18,16 @@ _Dangerously migrates from `next/legacy/image` to the new `next/image` by adding ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v13_0/nextimagetolegacyimage.md b/docs/recipes/codemods/migrate/nextjs/v13_0/nextimagetolegacyimage.md index dd73b1e55c..f3ccc9a63f 100644 --- a/docs/recipes/codemods/migrate/nextjs/v13_0/nextimagetolegacyimage.md +++ b/docs/recipes/codemods/migrate/nextjs/v13_0/nextimagetolegacyimage.md @@ -18,12 +18,16 @@ _Safely renames `next/image` imports in existing Next.js 10, 11, or 12 applicati ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v13_2/builtinnextfont.md b/docs/recipes/codemods/migrate/nextjs/v13_2/builtinnextfont.md index 62499cbc0e..260aab4a95 100644 --- a/docs/recipes/codemods/migrate/nextjs/v13_2/builtinnextfont.md +++ b/docs/recipes/codemods/migrate/nextjs/v13_2/builtinnextfont.md @@ -18,12 +18,16 @@ _This codemod uninstalls the `@next/font` package and transforms `@next/font` im ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v14_0/nextogimport.md b/docs/recipes/codemods/migrate/nextjs/v14_0/nextogimport.md index 12a5d408f8..26a35ea1fb 100644 --- a/docs/recipes/codemods/migrate/nextjs/v14_0/nextogimport.md +++ b/docs/recipes/codemods/migrate/nextjs/v14_0/nextogimport.md @@ -18,12 +18,16 @@ _This codemod moves transforms imports from `next/server` to `next/og for` usage ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v14_0/useviewportexport.md b/docs/recipes/codemods/migrate/nextjs/v14_0/useviewportexport.md index 66f644a1c9..2be4a45672 100644 --- a/docs/recipes/codemods/migrate/nextjs/v14_0/useviewportexport.md +++ b/docs/recipes/codemods/migrate/nextjs/v14_0/useviewportexport.md @@ -18,12 +18,16 @@ _This codemod migrates certain viewport metadata to `viewport` export. See [docu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v6/urltowithrouter.md b/docs/recipes/codemods/migrate/nextjs/v6/urltowithrouter.md index 8e1b468956..1a516c8cbd 100644 --- a/docs/recipes/codemods/migrate/nextjs/v6/urltowithrouter.md +++ b/docs/recipes/codemods/migrate/nextjs/v6/urltowithrouter.md @@ -18,12 +18,16 @@ _Transforms the deprecated automatically injected url property on top level page ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v8/withamptoconfig.md b/docs/recipes/codemods/migrate/nextjs/v8/withamptoconfig.md index 9124a1ebf2..27456515ca 100644 --- a/docs/recipes/codemods/migrate/nextjs/v8/withamptoconfig.md +++ b/docs/recipes/codemods/migrate/nextjs/v8/withamptoconfig.md @@ -18,12 +18,16 @@ _Transforms the `withAmp` HOC into Next.js 9 page configuration. See [documentat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/nextjs/v9/namedefaultcomponent.md b/docs/recipes/codemods/migrate/nextjs/v9/namedefaultcomponent.md index 69acb4dc60..5779ae630f 100644 --- a/docs/recipes/codemods/migrate/nextjs/v9/namedefaultcomponent.md +++ b/docs/recipes/codemods/migrate/nextjs/v9/namedefaultcomponent.md @@ -18,12 +18,16 @@ _Transforms anonymous components into named components to make sure they work wi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/nextjs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/migrate/react/classcomponenttofunctioncomponent.md b/docs/recipes/codemods/migrate/react/classcomponenttofunctioncomponent.md index d884adfc01..de2c52da31 100644 --- a/docs/recipes/codemods/migrate/react/classcomponenttofunctioncomponent.md +++ b/docs/recipes/codemods/migrate/react/classcomponenttofunctioncomponent.md @@ -19,12 +19,16 @@ _Class components are still going to be supported by React for the foreseeable f ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/resources/META-INF/rewrite/react.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/codemods/putout.md b/docs/recipes/codemods/putout.md index fa788706eb..a6dab5a07c 100644 --- a/docs/recipes/codemods/putout.md +++ b/docs/recipes/codemods/putout.md @@ -13,7 +13,7 @@ _Run [Putout](https://github.com/coderaiser/putout) on your projects._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-codemods/blob/main/src/main/java/org/openrewrite/codemods/Putout.java), [Issue Tracker](https://github.com/openrewrite/rewrite-codemods/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-codemods/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,10 +22,14 @@ _Run [Putout](https://github.com/coderaiser/putout) on your projects._ | `Set` | rules | *Optional*. Names of rules to enable. If not provided, putout's default rules are used. | | | `String` | printer | *Optional*. By default Putout uses its own [putout](https://github.com/coderaiser/putout?tab=readme-ov-file#printer) printer for formatting code. You can choose an alternative printer. Valid options: `putout`, `recast`, `babel` | | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-codemods` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/concourse/changeresourceversion.md b/docs/recipes/concourse/changeresourceversion.md index 01db091411..ddd9295fe0 100644 --- a/docs/recipes/concourse/changeresourceversion.md +++ b/docs/recipes/concourse/changeresourceversion.md @@ -13,7 +13,7 @@ _Pin or unpin a resource to a particular version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-concourse/blob/main/src/main/java/org/openrewrite/concourse/ChangeResourceVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-concourse/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-concourse/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _Pin or unpin a resource to a particular version._ | `String` | resourceType | Update any resources of this type | `git` | | `String` | version | *Optional*. If less than this version, update. If not provided, clears pins. | `2.0` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeResourceVersionExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeResourceVersionExample displayName: Change resource version example recipeList: - - org.openrewrite.concourse.ChangeResourceVersion: + - org.openrewrite.concourse.ChangeResourceVersion: resourceType: git version: 2.0 ``` -Now that `com.yourorg.ChangeResourceVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-concourse:{{VERSION_REWRITE_CONCOURSE}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/concourse/changevalue.md b/docs/recipes/concourse/changevalue.md index 5644d18424..79007abc0b 100644 --- a/docs/recipes/concourse/changevalue.md +++ b/docs/recipes/concourse/changevalue.md @@ -13,7 +13,7 @@ _Change every value matching the key pattern._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-concourse/blob/main/src/main/java/org/openrewrite/concourse/ChangeValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite-concourse/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-concourse/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -24,28 +24,31 @@ _Change every value matching the key pattern._ | `String` | newValue | New value to replace the old value with. | `git@github.com:openrewrite/rewrite1.git` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pipeline*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeValueExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeValueExample displayName: Change Concourse value example recipeList: - - org.openrewrite.concourse.ChangeValue: + - org.openrewrite.concourse.ChangeValue: keyPath: $.resources[?(@.type == 'git')].source.uri oldValue: https://github.com/openrewrite/rewrite0 newValue: git@github.com:openrewrite/rewrite1.git fileMatcher: '**/pipeline*.yml' ``` -Now that `com.yourorg.ChangeValueExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-concourse:{{VERSION_REWRITE_CONCOURSE}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/concourse/findresource.md b/docs/recipes/concourse/findresource.md index 073541ee9b..1ce26e0513 100644 --- a/docs/recipes/concourse/findresource.md +++ b/docs/recipes/concourse/findresource.md @@ -13,7 +13,7 @@ _Find a Concourse resource by name._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-concourse/blob/main/src/main/java/org/openrewrite/concourse/FindResource.java), [Issue Tracker](https://github.com/openrewrite/rewrite-concourse/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-concourse/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,25 +21,28 @@ _Find a Concourse resource by name._ | -- | -- | -- | -- | | `String` | type | Resource type | `git` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindResourceExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindResourceExample displayName: Find resource example recipeList: - - org.openrewrite.concourse.FindResource: + - org.openrewrite.concourse.FindResource: type: git ``` -Now that `com.yourorg.FindResourceExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-concourse:{{VERSION_REWRITE_CONCOURSE}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/concourse/search/findpinnedresource.md b/docs/recipes/concourse/search/findpinnedresource.md index 05cb8761f6..53493c06bc 100644 --- a/docs/recipes/concourse/search/findpinnedresource.md +++ b/docs/recipes/concourse/search/findpinnedresource.md @@ -13,7 +13,7 @@ _Find resources of a particular type that have pinned versions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-concourse/blob/main/src/main/java/org/openrewrite/concourse/search/FindPinnedResource.java), [Issue Tracker](https://github.com/openrewrite/rewrite-concourse/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-concourse/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,10 +21,14 @@ _Find resources of a particular type that have pinned versions._ | -- | -- | -- | -- | | `String` | resourceType | *Optional*. The resource type to search for. Leave empty to find all pins. | `git` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-concourse` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/concourse/search/findprivilegedresourcetype.md b/docs/recipes/concourse/search/findprivilegedresourcetype.md index 6c56621406..7a1b969249 100644 --- a/docs/recipes/concourse/search/findprivilegedresourcetype.md +++ b/docs/recipes/concourse/search/findprivilegedresourcetype.md @@ -13,12 +13,16 @@ _By default, `resource_type` definitions are unprivileged._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-concourse/blob/main/src/main/resources/META-INF/rewrite/search.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-concourse/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-concourse/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-concourse` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/concourse/updategitresourceuri.md b/docs/recipes/concourse/updategitresourceuri.md index 62c2512c80..679e0bb4cf 100644 --- a/docs/recipes/concourse/updategitresourceuri.md +++ b/docs/recipes/concourse/updategitresourceuri.md @@ -13,7 +13,7 @@ _Update git resource `source.uri` URI values to point to a new URI value._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-concourse/blob/main/src/main/java/org/openrewrite/concourse/UpdateGitResourceUri.java), [Issue Tracker](https://github.com/openrewrite/rewrite-concourse/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-concourse/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _Update git resource `source.uri` URI values to point to a new URI value._ | `String` | newURI | New URI value to replace the old URI value with. | `git@gitlab.com:openrewrite/rewrite.git` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pipeline*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpdateGitResourceUriExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpdateGitResourceUriExample displayName: Update git resource `source.uri` references example recipeList: - - org.openrewrite.concourse.UpdateGitResourceUri: + - org.openrewrite.concourse.UpdateGitResourceUri: oldURIPattern: https://github.com/openrewrite/rewrite newURI: git@gitlab.com:openrewrite/rewrite.git fileMatcher: '**/pipeline*.yml' ``` -Now that `com.yourorg.UpdateGitResourceUriExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-concourse:{{VERSION_REWRITE_CONCOURSE}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/config/compositerecipe.md b/docs/recipes/config/compositerecipe.md index 61aaeaa47e..cdadc648eb 100644 --- a/docs/recipes/config/compositerecipe.md +++ b/docs/recipes/config/compositerecipe.md @@ -13,7 +13,12 @@ _A recipe that consists of a list of other recipes._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/config/CompositeRecipe.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/config/CompositeRecipe.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/core/deletesourcefiles.md b/docs/recipes/core/deletesourcefiles.md index 37961e4062..ec246f78c3 100644 --- a/docs/recipes/core/deletesourcefiles.md +++ b/docs/recipes/core/deletesourcefiles.md @@ -13,18 +13,23 @@ _Delete files by source path._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/DeleteSourceFiles.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/DeleteSourceFiles.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | filePattern | A glob expression representing a file path to delete (relative to the project root). | `.github/workflows/*.yml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteSourceFilesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteSourceFilesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DeleteSourceFilesExample displayName: Delete files example recipeList: - - org.openrewrite.DeleteSourceFiles: - filePattern: .github/workflows/*.yml + - org.openrewrite.DeleteSourceFiles: filePattern: .github/workflows/*.yml ``` Now that `com.yourorg.DeleteSourceFilesExample` has been defined, activate it in your build file: diff --git a/docs/recipes/core/excludefilefromgitignore.md b/docs/recipes/core/excludefilefromgitignore.md index 09f38505a2..fdb704bcc4 100644 --- a/docs/recipes/core/excludefilefromgitignore.md +++ b/docs/recipes/core/excludefilefromgitignore.md @@ -13,18 +13,23 @@ _This recipe will remove a file or directory from the .gitignore file. If the fi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/ExcludeFileFromGitignore.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/ExcludeFileFromGitignore.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `List` | paths | The paths to find and remove from the gitignore files. | `/folder/file.txt` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ExcludeFileFromGitignoreExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ExcludeFileFromGitignoreExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ExcludeFileFromGitignoreExample displayName: Remove ignoral of files or directories from .gitignore example recipeList: - - org.openrewrite.ExcludeFileFromGitignore: - paths: /folder/file.txt + - org.openrewrite.ExcludeFileFromGitignore: paths: /folder/file.txt ``` Now that `com.yourorg.ExcludeFileFromGitignoreExample` has been defined, activate it in your build file: diff --git a/docs/recipes/core/findcallgraph.md b/docs/recipes/core/findcallgraph.md index ff85e3e02f..8b34fc14a1 100644 --- a/docs/recipes/core/findcallgraph.md +++ b/docs/recipes/core/findcallgraph.md @@ -13,18 +13,23 @@ _Produces a data table where each row represents a method call._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-all/blob/main/src/main/java/org/openrewrite/FindCallGraph.java), [Issue Tracker](https://github.com/openrewrite/rewrite-all/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-all/) - +[GitHub](https://github.com/openrewrite/rewrite-all/blob/main/src/main/java/org/openrewrite/FindCallGraph.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-all/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-all/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `boolean` | includeStdLib | *Optional*. When enabled calls to methods in packages beginning with "java", "groovy", and "kotlin" will be included in the report. By default these are omitted. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-all` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-all` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/core/findcollidingsourcefiles.md b/docs/recipes/core/findcollidingsourcefiles.md index dbf6108552..39d1f5f835 100644 --- a/docs/recipes/core/findcollidingsourcefiles.md +++ b/docs/recipes/core/findcollidingsourcefiles.md @@ -13,7 +13,12 @@ _Finds source files which share a path with another source file. There should al ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindCollidingSourceFiles.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindCollidingSourceFiles.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/core/finddeserializationerrors.md b/docs/recipes/core/finddeserializationerrors.md index 3f34932098..6ac5df8f55 100644 --- a/docs/recipes/core/finddeserializationerrors.md +++ b/docs/recipes/core/finddeserializationerrors.md @@ -13,7 +13,12 @@ _Produces a data table collecting all deserialization errors of serialized LSTs. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindDeserializationErrors.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindDeserializationErrors.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/core/findduplicatesourcefiles.md b/docs/recipes/core/findduplicatesourcefiles.md index 1a60819b9e..9526c8c47a 100644 --- a/docs/recipes/core/findduplicatesourcefiles.md +++ b/docs/recipes/core/findduplicatesourcefiles.md @@ -13,12 +13,17 @@ _Record the presence of LSTs with duplicate paths, indicating that the same file ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-all/blob/main/src/main/java/org/openrewrite/FindDuplicateSourceFiles.java), [Issue Tracker](https://github.com/openrewrite/rewrite-all/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-all/) +[GitHub](https://github.com/openrewrite/rewrite-all/blob/main/src/main/java/org/openrewrite/FindDuplicateSourceFiles.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-all/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-all/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-all` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-all` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/core/findgitprovenance.md b/docs/recipes/core/findgitprovenance.md index 1dda26809e..1d132fcf03 100644 --- a/docs/recipes/core/findgitprovenance.md +++ b/docs/recipes/core/findgitprovenance.md @@ -13,7 +13,12 @@ _List out the contents of each unique `GitProvenance` marker in the set of sourc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindGitProvenance.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindGitProvenance.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/core/findlstprovenance.md b/docs/recipes/core/findlstprovenance.md index 3881cbe583..f94dc4ddc4 100644 --- a/docs/recipes/core/findlstprovenance.md +++ b/docs/recipes/core/findlstprovenance.md @@ -13,7 +13,12 @@ _Produces a data table showing what versions of OpenRewrite/Moderne tooling was ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindLstProvenance.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindLstProvenance.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/core/findparsefailures.md b/docs/recipes/core/findparsefailures.md index 01b9a7e625..2b74bccc63 100644 --- a/docs/recipes/core/findparsefailures.md +++ b/docs/recipes/core/findparsefailures.md @@ -13,8 +13,9 @@ _This recipe explores parse failures after an LST is produced for classifying th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindParseFailures.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindParseFailures.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | @@ -23,6 +24,10 @@ _This recipe explores parse failures after an LST is produced for classifying th | `String` | parserType | *Optional*. Only display failures from parsers with this simple name. | `YamlParser` | | `String` | stackTrace | *Optional*. Only mark stack traces with a message containing this text. | `RuntimeException` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/core/findquarks.md b/docs/recipes/core/findquarks.md index f548a280e9..d7b8f8e186 100644 --- a/docs/recipes/core/findquarks.md +++ b/docs/recipes/core/findquarks.md @@ -13,7 +13,12 @@ _`Quark` source files are pointers to the existence of a file without capturing ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindQuarks.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindQuarks.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/core/findsourcefiles.md b/docs/recipes/core/findsourcefiles.md index 13d3001f60..593229b3a6 100644 --- a/docs/recipes/core/findsourcefiles.md +++ b/docs/recipes/core/findsourcefiles.md @@ -13,14 +13,19 @@ _Find files by source path._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindSourceFiles.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/FindSourceFiles.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | filePattern | *Optional*. A glob expression representing a file path to search for (relative to the project root). Blank/null matches all. | `.github/workflows/*.yml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/core/isinrepository.md b/docs/recipes/core/isinrepository.md index db9eec8bc0..70d367079d 100644 --- a/docs/recipes/core/isinrepository.md +++ b/docs/recipes/core/isinrepository.md @@ -13,18 +13,23 @@ _A search recipe which marks files that are in a repository with one of the supp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/IsInRepository.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/IsInRepository.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Set` | allowedRepositories | The names of the repositories that are allowed to be searched. Determines repository name according to git metadata recorded in the `GitProvenance` marker. | `rewrite` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.IsInRepositoryExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.IsInRepositoryExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.IsInRepositoryExample displayName: Is in repository example recipeList: - - org.openrewrite.IsInRepository: - allowedRepositories: rewrite + - org.openrewrite.IsInRepository: allowedRepositories: rewrite ``` Now that `com.yourorg.IsInRepositoryExample` has been defined, activate it in your build file: diff --git a/docs/recipes/core/languagecomposition.md b/docs/recipes/core/languagecomposition.md index 1bef5d9604..e6c10303c0 100644 --- a/docs/recipes/core/languagecomposition.md +++ b/docs/recipes/core/languagecomposition.md @@ -13,12 +13,17 @@ _Counts the number of lines of the various kinds of source code and data formats ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-all/blob/main/src/main/java/org/openrewrite/LanguageComposition.java), [Issue Tracker](https://github.com/openrewrite/rewrite-all/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-all/) +[GitHub](https://github.com/openrewrite/rewrite-all/blob/main/src/main/java/org/openrewrite/LanguageComposition.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-all/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-all/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-all` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-all` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/core/listruntimeclasspath.md b/docs/recipes/core/listruntimeclasspath.md index 852f3248e9..87d591c49c 100644 --- a/docs/recipes/core/listruntimeclasspath.md +++ b/docs/recipes/core/listruntimeclasspath.md @@ -13,7 +13,12 @@ _A diagnostic utility which emits the runtime classpath to a data table._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/ListRuntimeClasspath.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/ListRuntimeClasspath.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/core/renamefile.md b/docs/recipes/core/renamefile.md index 5a21d1ac46..cc18adde74 100644 --- a/docs/recipes/core/renamefile.md +++ b/docs/recipes/core/renamefile.md @@ -13,8 +13,9 @@ _Rename a file while keeping it in the same directory._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/RenameFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/RenameFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Rename a file while keeping it in the same directory._ | `String` | fileMatcher | Matching files will be renamed. This is a glob expression. | `**/application-*.yml` | | `String` | fileName | Just the file name without the folder path that precedes it. | `application.yml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RenameFileExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RenameFileExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RenameFileExample displayName: Rename a file example recipeList: - - org.openrewrite.RenameFile: - fileMatcher: '**/application-*.yml' + - org.openrewrite.RenameFile: fileMatcher: '**/application-*.yml' fileName: application.yml ``` diff --git a/docs/recipes/core/setfilepermissions.md b/docs/recipes/core/setfilepermissions.md index db24e323cb..861b3fe008 100644 --- a/docs/recipes/core/setfilepermissions.md +++ b/docs/recipes/core/setfilepermissions.md @@ -13,8 +13,9 @@ _Set a file's read, write and executable permission attributes._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/SetFilePermissions.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/SetFilePermissions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Set a file's read, write and executable permission attributes._ | `Boolean` | isWritable | File write permission. | | | `Boolean` | isExecutable | Files executable permission. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.SetFilePermissionsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.SetFilePermissionsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.SetFilePermissionsExample displayName: Set file permission attributes example recipeList: - - org.openrewrite.SetFilePermissions: - fileMatcher: '**/gradlew.bat' + - org.openrewrite.SetFilePermissions: fileMatcher: '**/gradlew.bat' isReadable: null isWritable: null isExecutable: null diff --git a/docs/recipes/csharp/dependencies/dependencyinsight.md b/docs/recipes/csharp/dependencies/dependencyinsight.md index 0ce6a4d503..2f3b76bcf1 100644 --- a/docs/recipes/csharp/dependencies/dependencyinsight.md +++ b/docs/recipes/csharp/dependencies/dependencyinsight.md @@ -13,7 +13,7 @@ _Finds dependencies in `*.csproj` and `packages.config`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/csharp/dependencies/DependencyInsight.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,10 +22,14 @@ _Finds dependencies in `*.csproj` and `packages.config`._ | `String` | packagePattern | *Optional*. Package glob pattern used to match dependencies. | `Microsoft*` | | `String` | version | *Optional*. Match only dependencies with the specified version. Node-style [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors) may be used. All versions are searched by default. | `1.x` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/csharp/dependencies/dependencyvulnerabilitycheck.md b/docs/recipes/csharp/dependencies/dependencyvulnerabilitycheck.md index 731558ed00..942b4a6baf 100644 --- a/docs/recipes/csharp/dependencies/dependencyvulnerabilitycheck.md +++ b/docs/recipes/csharp/dependencies/dependencyvulnerabilitycheck.md @@ -13,7 +13,7 @@ _This software composition analysis (SCA) tool detects and upgrades dependencies ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/csharp/dependencies/DependencyVulnerabilityCheck.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,10 +21,14 @@ _This software composition analysis (SCA) tool detects and upgrades dependencies | -- | -- | -- | -- | | `Boolean` | addMarkers | *Optional*. Report each vulnerability as search result markers. When enabled you can see which dependencies are bringing in vulnerable transitives in the diff view. By default these markers are omitted, making it easier to see version upgrades within the diff. | | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/csharp/dependencies/upgradedependencyversion.md b/docs/recipes/csharp/dependencies/upgradedependencyversion.md index 4a4ae415ed..b4f75fc8ff 100644 --- a/docs/recipes/csharp/dependencies/upgradedependencyversion.md +++ b/docs/recipes/csharp/dependencies/upgradedependencyversion.md @@ -13,7 +13,7 @@ _Upgrades dependencies in `*.csproj` and `packages.config`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/csharp/dependencies/UpgradeDependencyVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _Upgrades dependencies in `*.csproj` and `packages.config`._ | `String` | packagePattern | Package glob pattern used to match dependencies. | `Microsoft*` | | `String` | newVersion | An exact version number. | `12.3` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeDependencyVersionExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeDependencyVersionExample displayName: Upgrade C# dependency versions example recipeList: - - org.openrewrite.csharp.dependencies.UpgradeDependencyVersion: + - org.openrewrite.csharp.dependencies.UpgradeDependencyVersion: packagePattern: Microsoft* newVersion: 12.3 ``` -Now that `com.yourorg.UpgradeDependencyVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-java-security:{{VERSION_REWRITE_JAVA_SECURITY}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/cucumber/jvm/cucumberannotationtosuite.md b/docs/recipes/cucumber/jvm/cucumberannotationtosuite.md index 363cf178a9..0a9115cca4 100644 --- a/docs/recipes/cucumber/jvm/cucumberannotationtosuite.md +++ b/docs/recipes/cucumber/jvm/cucumberannotationtosuite.md @@ -13,12 +13,17 @@ _Replace `@Cucumber` with `@Suite` and `@SelectClasspathResource("cucumber/annot ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/java/org/openrewrite/cucumber/jvm/CucumberAnnotationToSuite.java), [Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) +[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/java/org/openrewrite/cucumber/jvm/CucumberAnnotationToSuite.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/cucumber/jvm/cucumberjava8hookdefinitiontocucumberjava.md b/docs/recipes/cucumber/jvm/cucumberjava8hookdefinitiontocucumberjava.md index 6eae352d50..c0f5204669 100644 --- a/docs/recipes/cucumber/jvm/cucumberjava8hookdefinitiontocucumberjava.md +++ b/docs/recipes/cucumber/jvm/cucumberjava8hookdefinitiontocucumberjava.md @@ -13,12 +13,17 @@ _Replace `LambdaGlue` hook definitions with new annotated methods with the same ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/java/org/openrewrite/cucumber/jvm/CucumberJava8HookDefinitionToCucumberJava.java), [Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) +[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/java/org/openrewrite/cucumber/jvm/CucumberJava8HookDefinitionToCucumberJava.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/cucumber/jvm/cucumberjava8stepdefinitiontocucumberjava.md b/docs/recipes/cucumber/jvm/cucumberjava8stepdefinitiontocucumberjava.md index cfb6e316a9..e87ee3ee5e 100644 --- a/docs/recipes/cucumber/jvm/cucumberjava8stepdefinitiontocucumberjava.md +++ b/docs/recipes/cucumber/jvm/cucumberjava8stepdefinitiontocucumberjava.md @@ -13,12 +13,17 @@ _Replace `StepDefinitionBody` methods with `StepDefinitionAnnotations` on new me ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/java/org/openrewrite/cucumber/jvm/CucumberJava8StepDefinitionToCucumberJava.java), [Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) +[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/java/org/openrewrite/cucumber/jvm/CucumberJava8StepDefinitionToCucumberJava.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/cucumber/jvm/cucumberjava8tojava.md b/docs/recipes/cucumber/jvm/cucumberjava8tojava.md index a3064520a2..b7735b4b93 100644 --- a/docs/recipes/cucumber/jvm/cucumberjava8tojava.md +++ b/docs/recipes/cucumber/jvm/cucumberjava8tojava.md @@ -18,11 +18,16 @@ _Migrates `cucumber-java8` step definitions and `LambdaGlue` hooks to `cucumber- ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/resources/META-INF/rewrite/cucumber.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) - +[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/resources/META-INF/rewrite/cucumber.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/cucumber/jvm/cucumbertojunitplatformsuite.md b/docs/recipes/cucumber/jvm/cucumbertojunitplatformsuite.md index 52008878dd..4c3051f9a2 100644 --- a/docs/recipes/cucumber/jvm/cucumbertojunitplatformsuite.md +++ b/docs/recipes/cucumber/jvm/cucumbertojunitplatformsuite.md @@ -18,11 +18,16 @@ _Migrates Cucumber tests to JUnit test `@Suite`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/resources/META-INF/rewrite/cucumber.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) - +[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/resources/META-INF/rewrite/cucumber.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/cucumber/jvm/dropsummaryprinter.md b/docs/recipes/cucumber/jvm/dropsummaryprinter.md index c7b7a0beea..736da5807e 100644 --- a/docs/recipes/cucumber/jvm/dropsummaryprinter.md +++ b/docs/recipes/cucumber/jvm/dropsummaryprinter.md @@ -13,12 +13,17 @@ _Replace `SummaryPrinter` with `Plugin`, if not already present._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/java/org/openrewrite/cucumber/jvm/DropSummaryPrinter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) +[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/java/org/openrewrite/cucumber/jvm/DropSummaryPrinter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/cucumber/jvm/regextocucumberexpression.md b/docs/recipes/cucumber/jvm/regextocucumberexpression.md index d91560311e..d2d9af541c 100644 --- a/docs/recipes/cucumber/jvm/regextocucumberexpression.md +++ b/docs/recipes/cucumber/jvm/regextocucumberexpression.md @@ -13,12 +13,17 @@ _Strip regex prefix and suffix from step annotation expressions arguments where ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/java/org/openrewrite/cucumber/jvm/RegexToCucumberExpression.java), [Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) +[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/java/org/openrewrite/cucumber/jvm/RegexToCucumberExpression.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/cucumber/jvm/upgradecucumber2x.md b/docs/recipes/cucumber/jvm/upgradecucumber2x.md index 29ee6cd39b..c450a423e7 100644 --- a/docs/recipes/cucumber/jvm/upgradecucumber2x.md +++ b/docs/recipes/cucumber/jvm/upgradecucumber2x.md @@ -18,11 +18,16 @@ _Upgrade to Cucumber-JVM 2.x from any previous version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/resources/META-INF/rewrite/cucumber.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) - +[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/resources/META-INF/rewrite/cucumber.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/cucumber/jvm/upgradecucumber5x.md b/docs/recipes/cucumber/jvm/upgradecucumber5x.md index 7b6b9c6e71..1337ddf011 100644 --- a/docs/recipes/cucumber/jvm/upgradecucumber5x.md +++ b/docs/recipes/cucumber/jvm/upgradecucumber5x.md @@ -18,11 +18,16 @@ _Upgrade to Cucumber-JVM 5.x from any previous version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/resources/META-INF/rewrite/cucumber.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) - +[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/resources/META-INF/rewrite/cucumber.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/cucumber/jvm/upgradecucumber7x.md b/docs/recipes/cucumber/jvm/upgradecucumber7x.md index 924266e46f..3dd660eb88 100644 --- a/docs/recipes/cucumber/jvm/upgradecucumber7x.md +++ b/docs/recipes/cucumber/jvm/upgradecucumber7x.md @@ -18,11 +18,16 @@ _Upgrade to Cucumber-JVM 7.x from any previous version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/resources/META-INF/rewrite/cucumber.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) - +[GitHub](https://github.com/openrewrite/rewrite-cucumber-jvm/blob/main/src/main/resources/META-INF/rewrite/cucumber.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-cucumber-jvm/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-cucumber-jvm/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-cucumber-jvm` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/docker/search/finddockerimageuses.md b/docs/recipes/docker/search/finddockerimageuses.md index 32e7da9bdc..5d3797c01d 100644 --- a/docs/recipes/docker/search/finddockerimageuses.md +++ b/docs/recipes/docker/search/finddockerimageuses.md @@ -13,12 +13,17 @@ _Produce an impact analysis of base images used in Dockerfiles._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-docker/blob/main/src/main/java/org/openrewrite/docker/search/FindDockerImageUses.java), [Issue Tracker](https://github.com/openrewrite/rewrite-docker/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-docker/) +[GitHub](https://github.com/openrewrite/rewrite-docker/blob/main/src/main/java/org/openrewrite/docker/search/FindDockerImageUses.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-docker/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-docker/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-docker` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-docker` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/dotnet/migratetonet6.md b/docs/recipes/dotnet/migratetonet6.md index c4a66612d7..a8addf45df 100644 --- a/docs/recipes/dotnet/migratetonet6.md +++ b/docs/recipes/dotnet/migratetonet6.md @@ -13,12 +13,16 @@ _Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-dotnet/blob/main/src/main/resources/META-INF/rewrite/dotnet.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-dotnet/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-dotnet/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-dotnet` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/dotnet/migratetonet7.md b/docs/recipes/dotnet/migratetonet7.md index 519b0ee090..a5eaec60f8 100644 --- a/docs/recipes/dotnet/migratetonet7.md +++ b/docs/recipes/dotnet/migratetonet7.md @@ -13,12 +13,16 @@ _Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-dotnet/blob/main/src/main/resources/META-INF/rewrite/dotnet.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-dotnet/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-dotnet/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-dotnet` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/dotnet/migratetonet8.md b/docs/recipes/dotnet/migratetonet8.md index 110c77c4df..7fa338a0da 100644 --- a/docs/recipes/dotnet/migratetonet8.md +++ b/docs/recipes/dotnet/migratetonet8.md @@ -13,12 +13,16 @@ _Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-dotnet/blob/main/src/main/resources/META-INF/rewrite/dotnet.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-dotnet/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-dotnet/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-dotnet` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/dotnet/migratetonet9.md b/docs/recipes/dotnet/migratetonet9.md index 15d99820ba..aa81ccd75d 100644 --- a/docs/recipes/dotnet/migratetonet9.md +++ b/docs/recipes/dotnet/migratetonet9.md @@ -13,12 +13,16 @@ _Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-dotnet/blob/main/src/main/resources/META-INF/rewrite/dotnet.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-dotnet/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-dotnet/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-dotnet` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/dotnet/upgradeassistant.md b/docs/recipes/dotnet/upgradeassistant.md index 1d2ce0a6aa..829c17056e 100644 --- a/docs/recipes/dotnet/upgradeassistant.md +++ b/docs/recipes/dotnet/upgradeassistant.md @@ -13,7 +13,7 @@ _Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-dotnet/blob/main/src/main/java/org/openrewrite/dotnet/UpgradeAssistant.java), [Issue Tracker](https://github.com/openrewrite/rewrite-dotnet/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-dotnet/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,25 +21,28 @@ _Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/p | -- | -- | -- | -- | | `String` | targetFramework | Target framework to which source project should be upgraded. | `net9.0` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeAssistantExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeAssistantExample displayName: Upgrade a .NET project using upgrade-assistant example recipeList: - - org.openrewrite.dotnet.UpgradeAssistant: + - org.openrewrite.dotnet.UpgradeAssistant: targetFramework: net9.0 ``` -Now that `com.yourorg.UpgradeAssistantExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-dotnet:{{VERSION_REWRITE_DOTNET}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/dotnet/upgradeassistantanalyze.md b/docs/recipes/dotnet/upgradeassistantanalyze.md index ca08160fa7..127436c272 100644 --- a/docs/recipes/dotnet/upgradeassistantanalyze.md +++ b/docs/recipes/dotnet/upgradeassistantanalyze.md @@ -13,7 +13,7 @@ _Run [upgrade-assistant analyze](https://learn.microsoft.com/en-us/dotnet/core/p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-dotnet/blob/main/src/main/java/org/openrewrite/dotnet/UpgradeAssistantAnalyze.java), [Issue Tracker](https://github.com/openrewrite/rewrite-dotnet/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-dotnet/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _Run [upgrade-assistant analyze](https://learn.microsoft.com/en-us/dotnet/core/p | `String` | targetFramework | Target framework to which source project should be upgraded. | `net9.0` | | `String` | privacyMode | Specifies how much data is included in the generated data table. Valid options: `Unrestricted`, `Protected`, `Restricted` | `Restricted` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeAssistantAnalyzeExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeAssistantAnalyzeExample displayName: Analyze a .NET project using upgrade-assistant example recipeList: - - org.openrewrite.dotnet.UpgradeAssistantAnalyze: + - org.openrewrite.dotnet.UpgradeAssistantAnalyze: targetFramework: net9.0 privacyMode: Restricted ``` -Now that `com.yourorg.UpgradeAssistantAnalyzeExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-dotnet:{{VERSION_REWRITE_DOTNET}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/featureflags/ff4j/removecheck.md b/docs/recipes/featureflags/ff4j/removecheck.md index b5c5e55afe..8b5283e2dc 100644 --- a/docs/recipes/featureflags/ff4j/removecheck.md +++ b/docs/recipes/featureflags/ff4j/removecheck.md @@ -13,8 +13,9 @@ _Replace `check()` invocations for `featureKey` with `replacementValue`, and sim ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/ff4j/RemoveCheck.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/ff4j/RemoveCheck.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | @@ -22,6 +23,10 @@ _Replace `check()` invocations for `featureKey` with `replacementValue`, and sim | `String` | featureKey | The key of the feature flag to remove. | `flag-key-123abc` | | `Boolean` | replacementValue | The value to replace the feature flag check with. | `true` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveCheckExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveCheckExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -60,8 +65,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveCheckExample displayName: Remove FF4j's `check` for feature key example recipeList: - - org.openrewrite.featureflags.ff4j.RemoveCheck: - featureKey: flag-key-123abc + - org.openrewrite.featureflags.ff4j.RemoveCheck: featureKey: flag-key-123abc replacementValue: true ``` diff --git a/docs/recipes/featureflags/ff4j/search/findfeatureflag.md b/docs/recipes/featureflags/ff4j/search/findfeatureflag.md index 22bb16a5cc..5d155ef837 100644 --- a/docs/recipes/featureflags/ff4j/search/findfeatureflag.md +++ b/docs/recipes/featureflags/ff4j/search/findfeatureflag.md @@ -13,14 +13,19 @@ _Find a FF4j feature flag._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/ff4j/search/FindFeatureFlag.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/ff4j/search/FindFeatureFlag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | featureKey | *Optional*. The unique key for the feature flag. | `flag-key-123abc` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/featureflags/launchdarkly/changevariationdefault.md b/docs/recipes/featureflags/launchdarkly/changevariationdefault.md index b88aae6154..f75c76104a 100644 --- a/docs/recipes/featureflags/launchdarkly/changevariationdefault.md +++ b/docs/recipes/featureflags/launchdarkly/changevariationdefault.md @@ -13,8 +13,9 @@ _Change the default value for `Variation` invocations for feature key._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/launchdarkly/ChangeVariationDefault.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/launchdarkly/ChangeVariationDefault.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Change the default value for `Variation` invocations for feature key._ | `String` | featureKey | The key of the feature flag to remove. | `flag-key-123abc` | | `String` | defaultValue | The default value to use in feature flag invocations. | `true` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeVariationDefaultExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeVariationDefaultExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeVariationDefaultExample displayName: Change the default value for feature key example recipeList: - - org.openrewrite.featureflags.launchdarkly.ChangeVariationDefault: - featureKey: flag-key-123abc + - org.openrewrite.featureflags.launchdarkly.ChangeVariationDefault: featureKey: flag-key-123abc defaultValue: true ``` diff --git a/docs/recipes/featureflags/launchdarkly/migrateusertocontext.md b/docs/recipes/featureflags/launchdarkly/migrateusertocontext.md index a072e7dfd2..7131a60d42 100644 --- a/docs/recipes/featureflags/launchdarkly/migrateusertocontext.md +++ b/docs/recipes/featureflags/launchdarkly/migrateusertocontext.md @@ -13,12 +13,17 @@ _Migrate from `LDUser` and `LDUser.Builder` to `LDContext` and `ContextBuilder`. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/launchdarkly/MigrateUserToContext.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/launchdarkly/MigrateUserToContext.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/featureflags/launchdarkly/removeboolvariation.md b/docs/recipes/featureflags/launchdarkly/removeboolvariation.md index 363bd4cf4b..e9667dc6a4 100644 --- a/docs/recipes/featureflags/launchdarkly/removeboolvariation.md +++ b/docs/recipes/featureflags/launchdarkly/removeboolvariation.md @@ -13,8 +13,9 @@ _Replace `boolVariation` invocations for feature key with value, and simplify co ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/launchdarkly/RemoveBoolVariation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/launchdarkly/RemoveBoolVariation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | @@ -22,6 +23,10 @@ _Replace `boolVariation` invocations for feature key with value, and simplify co | `String` | featureKey | The key of the feature flag to remove. | `flag-key-123abc` | | `Boolean` | replacementValue | The value to replace the feature flag check with. | `true` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveBoolVariationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveBoolVariationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -60,8 +65,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveBoolVariationExample displayName: Remove LaunchDarkly's `boolVariation` for feature key example recipeList: - - org.openrewrite.featureflags.launchdarkly.RemoveBoolVariation: - featureKey: flag-key-123abc + - org.openrewrite.featureflags.launchdarkly.RemoveBoolVariation: featureKey: flag-key-123abc replacementValue: true ``` diff --git a/docs/recipes/featureflags/launchdarkly/removestringvariation.md b/docs/recipes/featureflags/launchdarkly/removestringvariation.md index d3a07e149e..743d2aac43 100644 --- a/docs/recipes/featureflags/launchdarkly/removestringvariation.md +++ b/docs/recipes/featureflags/launchdarkly/removestringvariation.md @@ -13,8 +13,9 @@ _Replace `boolVariation` invocations for feature key with value, and simplify co ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/launchdarkly/RemoveStringVariation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/launchdarkly/RemoveStringVariation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | @@ -22,6 +23,10 @@ _Replace `boolVariation` invocations for feature key with value, and simplify co | `String` | featureKey | The key of the feature flag to remove. | `flag-key-123abc` | | `String` | replacementValue | The value to replace the feature flag check with. | `topic-456` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveStringVariationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveStringVariationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -60,8 +65,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveStringVariationExample displayName: Remove LaunchDarkly's `boolVariation` for feature key example recipeList: - - org.openrewrite.featureflags.launchdarkly.RemoveStringVariation: - featureKey: flag-key-123abc + - org.openrewrite.featureflags.launchdarkly.RemoveStringVariation: featureKey: flag-key-123abc replacementValue: topic-456 ``` diff --git a/docs/recipes/featureflags/launchdarkly/search/findfeatureflag.md b/docs/recipes/featureflags/launchdarkly/search/findfeatureflag.md index 34b937c389..6a30f9ac1f 100644 --- a/docs/recipes/featureflags/launchdarkly/search/findfeatureflag.md +++ b/docs/recipes/featureflags/launchdarkly/search/findfeatureflag.md @@ -13,8 +13,9 @@ _Find a LaunchDarkly feature flag._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/launchdarkly/search/FindFeatureFlag.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/launchdarkly/search/FindFeatureFlag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Find a LaunchDarkly feature flag._ | `FeatureFlagType` | flagType | *Optional*. The feature flag's type. Valid options: `Bool`, `Double`, `Int`, `JsonValue`, `Migration`, `String` | `Bool` | | `String` | featureKey | *Optional*. The unique key for the feature flag. | `flag-key-123abc` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md index 1723665815..6e3bd63a90 100644 --- a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md +++ b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly6.md @@ -13,11 +13,16 @@ _This recipe will apply changes commonly needed when migrating to LaunchDarkly 6 ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/resources/META-INF/rewrite/launchdarkly-6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/resources/META-INF/rewrite/launchdarkly-6.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md index d00c8ba5a8..36fe32b5b5 100644 --- a/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md +++ b/docs/recipes/featureflags/launchdarkly/upgradelaunchdarkly7.md @@ -13,11 +13,16 @@ _This recipe will apply changes commonly needed when migrating to LaunchDarkly 7 ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/resources/META-INF/rewrite/launchdarkly-7.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/resources/META-INF/rewrite/launchdarkly-7.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/featureflags/openfeature/removegetbooleanvalue.md b/docs/recipes/featureflags/openfeature/removegetbooleanvalue.md index d338ca6ebf..f1d86c758e 100644 --- a/docs/recipes/featureflags/openfeature/removegetbooleanvalue.md +++ b/docs/recipes/featureflags/openfeature/removegetbooleanvalue.md @@ -13,8 +13,9 @@ _Replace `getBooleanValue()` invocations for `featureKey` with `replacementValue ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/openfeature/RemoveGetBooleanValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/openfeature/RemoveGetBooleanValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | @@ -22,6 +23,10 @@ _Replace `getBooleanValue()` invocations for `featureKey` with `replacementValue | `String` | featureKey | The key of the feature flag to remove. | `flag-key-123abc` | | `Boolean` | replacementValue | The value to replace the feature flag check with. | `true` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveGetBooleanValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveGetBooleanValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -60,8 +65,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveGetBooleanValueExample displayName: Remove OpenFeature's `getBooleanValue` for feature key example recipeList: - - org.openrewrite.featureflags.openfeature.RemoveGetBooleanValue: - featureKey: flag-key-123abc + - org.openrewrite.featureflags.openfeature.RemoveGetBooleanValue: featureKey: flag-key-123abc replacementValue: true ``` diff --git a/docs/recipes/featureflags/openfeature/search/findfeatureflag.md b/docs/recipes/featureflags/openfeature/search/findfeatureflag.md index c14b969f25..072f518698 100644 --- a/docs/recipes/featureflags/openfeature/search/findfeatureflag.md +++ b/docs/recipes/featureflags/openfeature/search/findfeatureflag.md @@ -13,14 +13,19 @@ _Find an OpenFeature feature flag._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/openfeature/search/FindFeatureFlag.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/openfeature/search/FindFeatureFlag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | featureKey | *Optional*. The unique key for the feature flag. | `flag-key-123abc` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/featureflags/removebooleanflag.md b/docs/recipes/featureflags/removebooleanflag.md index 0c14de8894..415e4c3f43 100644 --- a/docs/recipes/featureflags/removebooleanflag.md +++ b/docs/recipes/featureflags/removebooleanflag.md @@ -13,8 +13,9 @@ _Replace method invocations for feature key with value, and simplify constant if ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/RemoveBooleanFlag.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/RemoveBooleanFlag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Replace method invocations for feature key with value, and simplify constant if | `String` | featureKey | The key of the feature flag to remove. | `flag-key-123abc` | | `Boolean` | replacementValue | The value to replace the feature flag check with. | `true` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveBooleanFlagExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveBooleanFlagExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveBooleanFlagExample displayName: Remove a boolean feature flag for feature key example recipeList: - - org.openrewrite.featureflags.RemoveBooleanFlag: - methodPattern: dev.openfeature.sdk.Client getBooleanValue(String, Boolean) + - org.openrewrite.featureflags.RemoveBooleanFlag: methodPattern: dev.openfeature.sdk.Client getBooleanValue(String, Boolean) featureKey: flag-key-123abc replacementValue: true ``` diff --git a/docs/recipes/featureflags/removestringflag.md b/docs/recipes/featureflags/removestringflag.md index 54087ab33b..a4ddc7270f 100644 --- a/docs/recipes/featureflags/removestringflag.md +++ b/docs/recipes/featureflags/removestringflag.md @@ -13,8 +13,9 @@ _Replace method invocations for feature key with value, and simplify constant if ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/RemoveStringFlag.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/RemoveStringFlag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Replace method invocations for feature key with value, and simplify constant if | `String` | featureKey | The key of the feature flag to remove. | `flag-key-123abc` | | `String` | replacementValue | The value to replace the feature flag check with. | `topic-456` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveStringFlagExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveStringFlagExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveStringFlagExample displayName: Remove a String feature flag for feature key example recipeList: - - org.openrewrite.featureflags.RemoveStringFlag: - methodPattern: dev.openfeature.sdk.Client getBooleanValue(String, Boolean) + - org.openrewrite.featureflags.RemoveStringFlag: methodPattern: dev.openfeature.sdk.Client getBooleanValue(String, Boolean) featureKey: flag-key-123abc replacementValue: topic-456 ``` diff --git a/docs/recipes/featureflags/search/findfeatureflag.md b/docs/recipes/featureflags/search/findfeatureflag.md index c4c6d43bd3..07e7b8826c 100644 --- a/docs/recipes/featureflags/search/findfeatureflag.md +++ b/docs/recipes/featureflags/search/findfeatureflag.md @@ -13,8 +13,9 @@ _Find a feature flag matching method pattern._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/search/FindFeatureFlag.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/search/FindFeatureFlag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Find a feature flag matching method pattern._ | `String` | methodPattern | A [method pattern](/reference/method-patterns) to match against. The first argument must be the feature key as `String`. | `dev.openfeature.sdk.Client getBooleanValue(String, Boolean)` | | `String` | featureKey | *Optional*. The unique key for the feature flag. | `flag-key-123abc` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindFeatureFlagExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindFeatureFlagExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindFeatureFlagExample displayName: Find a feature flag example recipeList: - - org.openrewrite.featureflags.search.FindFeatureFlag: - methodPattern: dev.openfeature.sdk.Client getBooleanValue(String, Boolean) + - org.openrewrite.featureflags.search.FindFeatureFlag: methodPattern: dev.openfeature.sdk.Client getBooleanValue(String, Boolean) featureKey: flag-key-123abc ``` diff --git a/docs/recipes/featureflags/unleash/removeisenabled.md b/docs/recipes/featureflags/unleash/removeisenabled.md index 74f5fb412f..0865f1dc06 100644 --- a/docs/recipes/featureflags/unleash/removeisenabled.md +++ b/docs/recipes/featureflags/unleash/removeisenabled.md @@ -13,8 +13,9 @@ _Replace `isEnabled()` invocations for `featureKey` with `replacementValue`, and ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/unleash/RemoveIsEnabled.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/unleash/RemoveIsEnabled.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | @@ -22,6 +23,10 @@ _Replace `isEnabled()` invocations for `featureKey` with `replacementValue`, and | `String` | featureKey | The key of the feature flag to remove. | `flag-key-123abc` | | `Boolean` | replacementValue | The value to replace the feature flag check with. | `true` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveIsEnabledExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveIsEnabledExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -60,8 +65,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveIsEnabledExample displayName: Remove Unleash's `isEnabled` for feature key example recipeList: - - org.openrewrite.featureflags.unleash.RemoveIsEnabled: - featureKey: flag-key-123abc + - org.openrewrite.featureflags.unleash.RemoveIsEnabled: featureKey: flag-key-123abc replacementValue: true ``` diff --git a/docs/recipes/featureflags/unleash/search/findfeatureflag.md b/docs/recipes/featureflags/unleash/search/findfeatureflag.md index 2a222c96fa..25220379ba 100644 --- a/docs/recipes/featureflags/unleash/search/findfeatureflag.md +++ b/docs/recipes/featureflags/unleash/search/findfeatureflag.md @@ -13,14 +13,19 @@ _Find an Unleash feature flag._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/unleash/search/FindFeatureFlag.java), [Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) - +[GitHub](https://github.com/openrewrite/rewrite-feature-flags/blob/main/src/main/java/org/openrewrite/featureflags/unleash/search/FindFeatureFlag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-feature-flags/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-feature-flags/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | featureKey | *Optional*. The unique key for the feature flag. | `flag-key-123abc` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-feature-flags` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/github/addcrontrigger.md b/docs/recipes/github/addcrontrigger.md index 580fca5484..b74e5388aa 100644 --- a/docs/recipes/github/addcrontrigger.md +++ b/docs/recipes/github/addcrontrigger.md @@ -13,7 +13,7 @@ _The `schedule` [event](https://docs.github.com/en/actions/reference/events-that ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/AddCronTrigger.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _The `schedule` [event](https://docs.github.com/en/actions/reference/events-that | `String` | cron | Using the [POSIX cron syntax](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07) or the non standard options @hourly @daily @weekly @weekdays @weekends @monthly @yearly. | `@daily` | | `String` | workflowFileMatcher | *Optional*. Matches one or more workflows to update. Defaults to `*.yml` | `build.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddCronTriggerExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddCronTriggerExample displayName: Add cron workflow trigger example recipeList: - - org.openrewrite.github.AddCronTrigger: + - org.openrewrite.github.AddCronTrigger: cron: '@daily' workflowFileMatcher: build.yml ``` -Now that `com.yourorg.AddCronTriggerExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-github-actions:{{VERSION_REWRITE_GITHUB_ACTIONS}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/github/addmanualtrigger.md b/docs/recipes/github/addmanualtrigger.md index f12b19e69a..368bd743b8 100644 --- a/docs/recipes/github/addmanualtrigger.md +++ b/docs/recipes/github/addmanualtrigger.md @@ -17,12 +17,16 @@ _You can manually trigger workflow runs. To trigger specific workflows in a repo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/resources/META-INF/rewrite/github.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/autocancelinprogressworkflow.md b/docs/recipes/github/autocancelinprogressworkflow.md index c514c1e5c6..cfa34b0581 100644 --- a/docs/recipes/github/autocancelinprogressworkflow.md +++ b/docs/recipes/github/autocancelinprogressworkflow.md @@ -13,7 +13,7 @@ _When a workflow is already running and would be triggered again, cancel the exi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/AutoCancelInProgressWorkflow.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,10 +21,14 @@ _When a workflow is already running and would be triggered again, cancel the exi | -- | -- | -- | -- | | `String` | accessToken | *Optional*. Optionally provide the key name of a repository or organization secret that contains a GitHub personal access token with permission to cancel workflows. | `WORKFLOWS_ACCESS_TOKEN` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/changeaction.md b/docs/recipes/github/changeaction.md index e8f91f1a0c..b4c8f0a4e2 100644 --- a/docs/recipes/github/changeaction.md +++ b/docs/recipes/github/changeaction.md @@ -13,7 +13,7 @@ _Change a GitHub Action in any `.github/workflows/*.yml` file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/ChangeAction.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _Change a GitHub Action in any `.github/workflows/*.yml` file._ | `String` | newAction | Name of the action to use instead. | `gradle/actions/wrapper-validation` | | `String` | newVersion | New version to use. | `v3` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeActionExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeActionExample displayName: Change GitHub Action example recipeList: - - org.openrewrite.github.ChangeAction: + - org.openrewrite.github.ChangeAction: oldAction: gradle/wrapper-validation-action newAction: gradle/actions/wrapper-validation newVersion: v3 ``` -Now that `com.yourorg.ChangeActionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-github-actions:{{VERSION_REWRITE_GITHUB_ACTIONS}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/github/changeactionversion.md b/docs/recipes/github/changeactionversion.md index 29a185ab4f..2df4326d52 100644 --- a/docs/recipes/github/changeactionversion.md +++ b/docs/recipes/github/changeactionversion.md @@ -13,7 +13,7 @@ _Change the version of a GitHub Action in any `.github/workflows/*.yml` file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/ChangeActionVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _Change the version of a GitHub Action in any `.github/workflows/*.yml` file._ | `String` | action | Name of the action to update. | `actions/setup-java` | | `String` | version | Version to use. | `v4` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeActionVersionExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeActionVersionExample displayName: Change GitHub Action version example recipeList: - - org.openrewrite.github.ChangeActionVersion: + - org.openrewrite.github.ChangeActionVersion: action: actions/setup-java version: v4 ``` -Now that `com.yourorg.ChangeActionVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-github-actions:{{VERSION_REWRITE_GITHUB_ACTIONS}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/github/changedependabotscheduleinterval.md b/docs/recipes/github/changedependabotscheduleinterval.md index 5803685727..bd00e865eb 100644 --- a/docs/recipes/github/changedependabotscheduleinterval.md +++ b/docs/recipes/github/changedependabotscheduleinterval.md @@ -19,7 +19,7 @@ _Change the schedule interval for a given package-ecosystem in a `dependabot.yml ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/ChangeDependabotScheduleInterval.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -28,26 +28,29 @@ _Change the schedule interval for a given package-ecosystem in a `dependabot.yml | `String` | packageEcosystem | The package-ecosystem to make updates on. | `maven` | | `String` | interval | The schedule interval value the package-ecosystem should use. Valid options: `daily`, `weekly`, `monthly` | `weekly` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependabotScheduleIntervalExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependabotScheduleIntervalExample displayName: Change dependabot schedule interval example recipeList: - - org.openrewrite.github.ChangeDependabotScheduleInterval: + - org.openrewrite.github.ChangeDependabotScheduleInterval: packageEcosystem: maven interval: weekly ``` -Now that `com.yourorg.ChangeDependabotScheduleIntervalExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-github-actions:{{VERSION_REWRITE_GITHUB_ACTIONS}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/github/dependabotcheckforgithubactionsupdatesdaily.md b/docs/recipes/github/dependabotcheckforgithubactionsupdatesdaily.md index 968620449f..870c8417a4 100644 --- a/docs/recipes/github/dependabotcheckforgithubactionsupdatesdaily.md +++ b/docs/recipes/github/dependabotcheckforgithubactionsupdatesdaily.md @@ -20,12 +20,16 @@ _Set dependabot to check for github-actions updates daily._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/resources/META-INF/rewrite/github.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/dependabotcheckforgithubactionsupdatesweekly.md b/docs/recipes/github/dependabotcheckforgithubactionsupdatesweekly.md index 70c9a0c1a8..b553e6896d 100644 --- a/docs/recipes/github/dependabotcheckforgithubactionsupdatesweekly.md +++ b/docs/recipes/github/dependabotcheckforgithubactionsupdatesweekly.md @@ -20,12 +20,16 @@ _Set dependabot to check for github-actions updates weekly._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/resources/META-INF/rewrite/github.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/findgithubactionsecretreferences.md b/docs/recipes/github/findgithubactionsecretreferences.md index bed982ebd7..5f69f41058 100644 --- a/docs/recipes/github/findgithubactionsecretreferences.md +++ b/docs/recipes/github/findgithubactionsecretreferences.md @@ -13,12 +13,16 @@ _Help identify and inventory your GitHub secrets that are being used in GitHub a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/resources/META-INF/rewrite/github.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/findmissingtimeout.md b/docs/recipes/github/findmissingtimeout.md index b683bba0dd..909d480049 100644 --- a/docs/recipes/github/findmissingtimeout.md +++ b/docs/recipes/github/findmissingtimeout.md @@ -13,12 +13,16 @@ _Find GitHub Actions jobs missing a timeout._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/FindMissingTimeout.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/gradle/renamegradlebuildactiontosetupgradle.md b/docs/recipes/github/gradle/renamegradlebuildactiontosetupgradle.md index 90019e9db7..3aa1924185 100644 --- a/docs/recipes/github/gradle/renamegradlebuildactiontosetupgradle.md +++ b/docs/recipes/github/gradle/renamegradlebuildactiontosetupgradle.md @@ -18,12 +18,16 @@ _Rename the deprecated `gradle/gradle-build-action` to `gradle/actions/setup-gra ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/resources/META-INF/rewrite/gradle.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/gradle/renamewrappervalidationaction.md b/docs/recipes/github/gradle/renamewrappervalidationaction.md index 02100b2d69..ed5006ee99 100644 --- a/docs/recipes/github/gradle/renamewrappervalidationaction.md +++ b/docs/recipes/github/gradle/renamewrappervalidationaction.md @@ -18,12 +18,16 @@ _Rename the deprecated `gradle/wrapper-validation-action` to `gradle/actions/wra ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/resources/META-INF/rewrite/gradle.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/prefersecretsinheritworkflow.md b/docs/recipes/github/prefersecretsinheritworkflow.md index a832b77315..c670b7404f 100644 --- a/docs/recipes/github/prefersecretsinheritworkflow.md +++ b/docs/recipes/github/prefersecretsinheritworkflow.md @@ -13,12 +13,16 @@ _Pass all secrets to a reusable workflow using `secrets: inherit`. See [Simplify ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/PreferSecretsInheritWorkflow.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/prefertemurindistributions.md b/docs/recipes/github/prefertemurindistributions.md index ab5d50800d..785bf0e090 100644 --- a/docs/recipes/github/prefertemurindistributions.md +++ b/docs/recipes/github/prefertemurindistributions.md @@ -13,12 +13,16 @@ _[Host runners](https://docs.github.com/en/actions/using-github-hosted-runners/a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/PreferTemurinDistributions.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/removeallcrontriggers.md b/docs/recipes/github/removeallcrontriggers.md index 3cc43f9e64..d71b20f888 100644 --- a/docs/recipes/github/removeallcrontriggers.md +++ b/docs/recipes/github/removeallcrontriggers.md @@ -13,12 +13,16 @@ _Removes all cron triggers from a workflow._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/RemoveAllCronTriggers.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/replacerunners.md b/docs/recipes/github/replacerunners.md index 7a9d5acd7d..eff2109776 100644 --- a/docs/recipes/github/replacerunners.md +++ b/docs/recipes/github/replacerunners.md @@ -13,7 +13,7 @@ _Replaces the runners of a given job._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/ReplaceRunners.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _Replaces the runners of a given job._ | `String` | jobName | The name of the job to update | `build` | | `List` | runners | The new list of runners to set | `ubuntu-latest` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceRunnersExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ReplaceRunnersExample displayName: Replace runners for a job example recipeList: - - org.openrewrite.github.ReplaceRunners: + - org.openrewrite.github.ReplaceRunners: jobName: build runners: ubuntu-latest ``` -Now that `com.yourorg.ReplaceRunnersExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-github-actions:{{VERSION_REWRITE_GITHUB_ACTIONS}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/github/setupjavaadoptopenj9tosemeru.md b/docs/recipes/github/setupjavaadoptopenj9tosemeru.md index 8759a401a8..734c5147ef 100644 --- a/docs/recipes/github/setupjavaadoptopenj9tosemeru.md +++ b/docs/recipes/github/setupjavaadoptopenj9tosemeru.md @@ -17,12 +17,16 @@ _Adopt OpenJDK got moved to Eclipse Temurin and won't be updated anymore. It is ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/SetupJavaAdoptOpenj9ToSemeru.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/setupjavaadoptopenjdktotemurin.md b/docs/recipes/github/setupjavaadoptopenjdktotemurin.md index 61ab095e4f..b0235a6fc6 100644 --- a/docs/recipes/github/setupjavaadoptopenjdktotemurin.md +++ b/docs/recipes/github/setupjavaadoptopenjdktotemurin.md @@ -17,12 +17,16 @@ _Adopt OpenJDK got moved to Eclipse Temurin and won't be updated anymore. It is ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/SetupJavaAdoptOpenJDKToTemurin.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/setupjavacaching.md b/docs/recipes/github/setupjavacaching.md index b1193a0c43..bab36d0e6f 100644 --- a/docs/recipes/github/setupjavacaching.md +++ b/docs/recipes/github/setupjavacaching.md @@ -13,12 +13,16 @@ _GitHub actions supports dependency caching on Maven and Gradle projects. See th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/SetupJavaCaching.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/setupjavaupgradejavaversion.md b/docs/recipes/github/setupjavaupgradejavaversion.md index 1606825e22..8d1c579585 100644 --- a/docs/recipes/github/setupjavaupgradejavaversion.md +++ b/docs/recipes/github/setupjavaupgradejavaversion.md @@ -13,7 +13,7 @@ _Update the Java version used by `actions/setup-java` if it is below the expecte ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/SetupJavaUpgradeJavaVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,10 +21,14 @@ _Update the Java version used by `actions/setup-java` if it is below the expecte | -- | -- | -- | -- | | `Integer` | minimumJavaMajorVersion | *Optional*. | `21` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/github/upgradeslacknotificationversion2.md b/docs/recipes/github/upgradeslacknotificationversion2.md index dbf93da74e..0496449345 100644 --- a/docs/recipes/github/upgradeslacknotificationversion2.md +++ b/docs/recipes/github/upgradeslacknotificationversion2.md @@ -13,12 +13,16 @@ _Update the Slack GitHub Action to use version 2.0._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-github-actions/blob/main/src/main/java/org/openrewrite/github/UpgradeSlackNotificationVersion2.java), [Issue Tracker](https://github.com/openrewrite/rewrite-github-actions/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-github-actions/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-github-actions` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/gitlab/addcomponent.md b/docs/recipes/gitlab/addcomponent.md index e042a3addc..2f0a0a9091 100644 --- a/docs/recipes/gitlab/addcomponent.md +++ b/docs/recipes/gitlab/addcomponent.md @@ -13,8 +13,9 @@ _Add a GitLab component to an existing list, or add a new list where none was pr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/AddComponent.java), [Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) - +[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/AddComponent.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) ## Options | Type | Name | Description | Example | @@ -23,6 +24,10 @@ _Add a GitLab component to an existing list, or add a new list where none was pr | `String` | version | Version of the component to add. | `0.10.0` | | `List` | inputs | The set of inputs to provide | `opentofu_version: 1.6.1` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddComponentExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddComponentExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -74,8 +79,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddComponentExample displayName: Add GitLab component example recipeList: - - org.openrewrite.gitlab.AddComponent: - newComponent: $CI_SERVER_FQDN/components/opentofu/full-pipeline + - org.openrewrite.gitlab.AddComponent: newComponent: $CI_SERVER_FQDN/components/opentofu/full-pipeline version: 0.10.0 inputs: opentofu_version: 1.6.1 ``` diff --git a/docs/recipes/gitlab/addstages.md b/docs/recipes/gitlab/addstages.md index abd4762023..4a7a342d01 100644 --- a/docs/recipes/gitlab/addstages.md +++ b/docs/recipes/gitlab/addstages.md @@ -13,8 +13,9 @@ _Add or Update the set of stages defined in `.gitlab-ci.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/AddStages.java), [Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) - +[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/AddStages.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) ## Options | Type | Name | Description | Example | @@ -22,6 +23,10 @@ _Add or Update the set of stages defined in `.gitlab-ci.yml`._ | `List` | stages | Stages to add. | `build,test,deploy` | | `Boolean` | acceptTheirs | *Optional*. When the set of stages would conflict, prefer the original value. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddStagesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddStagesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -68,8 +73,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddStagesExample displayName: Add GitLab stages example recipeList: - - org.openrewrite.gitlab.AddStages: - stages: build,test,deploy + - org.openrewrite.gitlab.AddStages: stages: build,test,deploy ``` Now that `com.yourorg.AddStagesExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-gitlab:{{VERSION_REWRITE_GITLAB}}` in your build file: diff --git a/docs/recipes/gitlab/addtemplate.md b/docs/recipes/gitlab/addtemplate.md index ebcee8c067..7fb530f6ac 100644 --- a/docs/recipes/gitlab/addtemplate.md +++ b/docs/recipes/gitlab/addtemplate.md @@ -13,14 +13,19 @@ _Add a GitLab template to an existing list, or add a new list where none was pre ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/AddTemplate.java), [Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) - +[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/AddTemplate.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | newTemplate | Name of the template to use instead. | `OpenTofu/Base.gitlab-ci.yml` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -59,7 +64,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddTemplateExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddTemplateExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -67,8 +72,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddTemplateExample displayName: Add GitLab template example recipeList: - - org.openrewrite.gitlab.AddTemplate: - newTemplate: OpenTofu/Base.gitlab-ci.yml + - org.openrewrite.gitlab.AddTemplate: newTemplate: OpenTofu/Base.gitlab-ci.yml ``` Now that `com.yourorg.AddTemplateExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-gitlab:{{VERSION_REWRITE_GITLAB}}` in your build file: diff --git a/docs/recipes/gitlab/changetemplate.md b/docs/recipes/gitlab/changetemplate.md index 0172af2bdc..773c3ffa4e 100644 --- a/docs/recipes/gitlab/changetemplate.md +++ b/docs/recipes/gitlab/changetemplate.md @@ -13,8 +13,9 @@ _Change a GitLab template in use._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/ChangeTemplate.java), [Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) - +[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/ChangeTemplate.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) ## Options | Type | Name | Description | Example | @@ -22,6 +23,10 @@ _Change a GitLab template in use._ | `String` | oldTemplate | The name of the template to match. | `Terraform/Base.gitlab-ci.yml` | | `String` | newTemplate | Name of the template to use instead. | `OpenTofu/Base.gitlab-ci.yml` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTemplateExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTemplateExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -62,8 +67,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeTemplateExample displayName: Change GitLab template example recipeList: - - org.openrewrite.gitlab.ChangeTemplate: - oldTemplate: Terraform/Base.gitlab-ci.yml + - org.openrewrite.gitlab.ChangeTemplate: oldTemplate: Terraform/Base.gitlab-ci.yml newTemplate: OpenTofu/Base.gitlab-ci.yml ``` diff --git a/docs/recipes/gitlab/removetemplate.md b/docs/recipes/gitlab/removetemplate.md index 6b871428f3..2ec6387fea 100644 --- a/docs/recipes/gitlab/removetemplate.md +++ b/docs/recipes/gitlab/removetemplate.md @@ -13,18 +13,23 @@ _Remove a GitLab template from use._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/RemoveTemplate.java), [Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) - +[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/RemoveTemplate.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | oldTemplate | The name of the template to match. | `Terraform/Base.gitlab-ci.yml` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveTemplateExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveTemplateExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveTemplateExample displayName: Remove GitLab template example recipeList: - - org.openrewrite.gitlab.RemoveTemplate: - oldTemplate: Terraform/Base.gitlab-ci.yml + - org.openrewrite.gitlab.RemoveTemplate: oldTemplate: Terraform/Base.gitlab-ci.yml ``` Now that `com.yourorg.RemoveTemplateExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-gitlab:{{VERSION_REWRITE_GITLAB}}` in your build file: diff --git a/docs/recipes/gitlab/search/findcomponent.md b/docs/recipes/gitlab/search/findcomponent.md index 8d469ececa..2dadcf1a5a 100644 --- a/docs/recipes/gitlab/search/findcomponent.md +++ b/docs/recipes/gitlab/search/findcomponent.md @@ -13,14 +13,19 @@ _Find a GitLab Component in use._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/search/FindComponent.java), [Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) - +[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/search/FindComponent.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | component | The component key to look for | `$CI_SERVER_FQDN/components/opentofu/full-pipeline` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindComponentExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindComponentExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -58,8 +63,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindComponentExample displayName: Find GitLab Component example recipeList: - - org.openrewrite.gitlab.search.FindComponent: - component: $CI_SERVER_FQDN/components/opentofu/full-pipeline + - org.openrewrite.gitlab.search.FindComponent: component: $CI_SERVER_FQDN/components/opentofu/full-pipeline ``` Now that `com.yourorg.FindComponentExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-gitlab:{{VERSION_REWRITE_GITLAB}}` in your build file: diff --git a/docs/recipes/gitlab/search/findtemplate.md b/docs/recipes/gitlab/search/findtemplate.md index 409028de75..d0bd0c60d9 100644 --- a/docs/recipes/gitlab/search/findtemplate.md +++ b/docs/recipes/gitlab/search/findtemplate.md @@ -13,14 +13,19 @@ _Find a GitLab Template in use._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/search/FindTemplate.java), [Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) - +[GitHub](https://github.com/openrewrite/rewrite-gitlab/blob/main/src/main/java/org/openrewrite/gitlab/search/FindTemplate.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-gitlab/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-gitlab/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | template | The template key to look for | `Terraform/Base.gitlab-ci.yml` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindTemplateExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindTemplateExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -58,8 +63,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindTemplateExample displayName: Find GitLab Template example recipeList: - - org.openrewrite.gitlab.search.FindTemplate: - template: Terraform/Base.gitlab-ci.yml + - org.openrewrite.gitlab.search.FindTemplate: template: Terraform/Base.gitlab-ci.yml ``` Now that `com.yourorg.FindTemplateExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-gitlab:{{VERSION_REWRITE_GITLAB}}` in your build file: diff --git a/docs/recipes/gradle/adddependency.md b/docs/recipes/gradle/adddependency.md index 798c05c536..3ced3c85b8 100644 --- a/docs/recipes/gradle/adddependency.md +++ b/docs/recipes/gradle/adddependency.md @@ -13,8 +13,9 @@ _Add a gradle dependency to a `build.gradle` file in the correct configuration b ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/AddDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/AddDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -30,10 +31,14 @@ _Add a gradle dependency to a `build.gradle` file in the correct configuration b | `String` | familyPattern | *Optional*. A pattern, applied to groupIds, used to determine which other dependencies should have aligned version numbers. Accepts '*' as a wildcard character. | `com.fasterxml.jackson*` | | `Boolean` | acceptTransitive | *Optional*. Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency. | `true` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -41,8 +46,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddDependencyExample displayName: Add Gradle dependency example recipeList: - - org.openrewrite.gradle.AddDependency: - groupId: com.google.guava + - org.openrewrite.gradle.AddDependency: groupId: com.google.guava artifactId: guava version: 29.X versionPattern: '-jre' diff --git a/docs/recipes/gradle/addjunitplatformlauncher.md b/docs/recipes/gradle/addjunitplatformlauncher.md index 4a6a390ce3..4f8b077263 100644 --- a/docs/recipes/gradle/addjunitplatformlauncher.md +++ b/docs/recipes/gradle/addjunitplatformlauncher.md @@ -13,7 +13,12 @@ _Add the JUnit Platform Launcher to the buildscript dependencies._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle-8.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle-8.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition diff --git a/docs/recipes/gradle/addproperty.md b/docs/recipes/gradle/addproperty.md index 40b7f9b77f..9321b79e7f 100644 --- a/docs/recipes/gradle/addproperty.md +++ b/docs/recipes/gradle/addproperty.md @@ -13,8 +13,9 @@ _Add a property to the `gradle.properties` file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/AddProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/AddProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Add a property to the `gradle.properties` file._ | `Boolean` | overwrite | If a property with the same key exists, overwrite. | `true` | | `String` | filePattern | A glob expression that can be used to constrain which directories or source files should be searched. When not set, all source files are searched. | `**/*.properties` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddPropertyExample displayName: Add Gradle property example recipeList: - - org.openrewrite.gradle.AddProperty: - key: org.gradle.caching + - org.openrewrite.gradle.AddProperty: key: org.gradle.caching value: true overwrite: true filePattern: '**/*.properties' diff --git a/docs/recipes/gradle/changedependency.md b/docs/recipes/gradle/changedependency.md index c7caa87922..441a1a3bc1 100644 --- a/docs/recipes/gradle/changedependency.md +++ b/docs/recipes/gradle/changedependency.md @@ -13,8 +13,9 @@ _Change a Gradle dependency coordinates. The `newGroupId` or `newArtifactId` **M ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -27,10 +28,14 @@ _Change a Gradle dependency coordinates. The `newGroupId` or `newArtifactId` **M | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | | `Boolean` | overrideManagedVersion | *Optional*. If the old dependency has a managed version, this flag can be used to explicitly set the version on the new dependency. WARNING: No check is done on the NEW dependency to verify if it is managed, it relies on whether the OLD dependency had a managed version. The default for this flag is `false`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -38,8 +43,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependencyExample displayName: Change Gradle dependency example recipeList: - - org.openrewrite.gradle.ChangeDependency: - oldGroupId: org.openrewrite.recipe + - org.openrewrite.gradle.ChangeDependency: oldGroupId: org.openrewrite.recipe oldArtifactId: rewrite-testing-frameworks newGroupId: corp.internal.openrewrite.recipe newArtifactId: rewrite-testing-frameworks diff --git a/docs/recipes/gradle/changedependencyartifactid.md b/docs/recipes/gradle/changedependencyartifactid.md index 3aa19510c6..d3e47f79b0 100644 --- a/docs/recipes/gradle/changedependencyartifactid.md +++ b/docs/recipes/gradle/changedependencyartifactid.md @@ -13,8 +13,9 @@ _Change the artifact of a specified Gradle dependency._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependencyArtifactId.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependencyArtifactId.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Change the artifact of a specified Gradle dependency._ | `String` | newArtifactId | The new artifactId to use. | `jackson-custom` | | `String` | configuration | *Optional*. The dependency configuration to search for dependencies in. | `api` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyArtifactIdExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyArtifactIdExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependencyArtifactIdExample displayName: Change Gradle dependency artifact example recipeList: - - org.openrewrite.gradle.ChangeDependencyArtifactId: - groupId: com.fasterxml.jackson* + - org.openrewrite.gradle.ChangeDependencyArtifactId: groupId: com.fasterxml.jackson* artifactId: jackson-module* newArtifactId: jackson-custom configuration: api diff --git a/docs/recipes/gradle/changedependencyclassifier.md b/docs/recipes/gradle/changedependencyclassifier.md index 0780851e83..3222a9ecdf 100644 --- a/docs/recipes/gradle/changedependencyclassifier.md +++ b/docs/recipes/gradle/changedependencyclassifier.md @@ -13,8 +13,9 @@ _Finds dependencies declared in `build.gradle` files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependencyClassifier.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependencyClassifier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Finds dependencies declared in `build.gradle` files._ | `String` | newClassifier | *Optional*. A qualification classifier for the dependency. | `sources` | | `String` | configuration | *Optional*. The dependency configuration to search for dependencies in. | `api` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyClassifierExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyClassifierExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependencyClassifierExample displayName: Change a Gradle dependency classifier example recipeList: - - org.openrewrite.gradle.ChangeDependencyClassifier: - groupId: com.fasterxml.jackson* + - org.openrewrite.gradle.ChangeDependencyClassifier: groupId: com.fasterxml.jackson* artifactId: jackson-module* newClassifier: sources configuration: api diff --git a/docs/recipes/gradle/changedependencyconfiguration.md b/docs/recipes/gradle/changedependencyconfiguration.md index b62f35e38d..4d8390981d 100644 --- a/docs/recipes/gradle/changedependencyconfiguration.md +++ b/docs/recipes/gradle/changedependencyconfiguration.md @@ -13,8 +13,9 @@ _A common example is the need to change `compile` to `api`/`implementation` as [ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependencyConfiguration.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependencyConfiguration.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _A common example is the need to change `compile` to `api`/`implementation` as [ | `String` | newConfiguration | A dependency configuration container. | `api` | | `String` | configuration | *Optional*. The dependency configuration to search for dependencies in. | `api` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyConfigurationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyConfigurationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependencyConfigurationExample displayName: Change a Gradle dependency configuration example recipeList: - - org.openrewrite.gradle.ChangeDependencyConfiguration: - groupId: com.fasterxml.jackson* + - org.openrewrite.gradle.ChangeDependencyConfiguration: groupId: com.fasterxml.jackson* artifactId: jackson-module* newConfiguration: api configuration: api diff --git a/docs/recipes/gradle/changedependencyextension.md b/docs/recipes/gradle/changedependencyextension.md index 294e0cfe5d..3105d89f02 100644 --- a/docs/recipes/gradle/changedependencyextension.md +++ b/docs/recipes/gradle/changedependencyextension.md @@ -13,8 +13,9 @@ _Finds dependencies declared in `build.gradle` files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependencyExtension.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependencyExtension.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Finds dependencies declared in `build.gradle` files._ | `String` | newExtension | An artifact extension. | `jar` | | `String` | configuration | *Optional*. The dependency configuration to search for dependencies in. | `api` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyExtensionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyExtensionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependencyExtensionExample displayName: Change a Gradle dependency extension example recipeList: - - org.openrewrite.gradle.ChangeDependencyExtension: - groupId: com.fasterxml.jackson* + - org.openrewrite.gradle.ChangeDependencyExtension: groupId: com.fasterxml.jackson* artifactId: jackson-module* newExtension: jar configuration: api diff --git a/docs/recipes/gradle/changedependencygroupid.md b/docs/recipes/gradle/changedependencygroupid.md index 8944f3d330..8b9dc4f1e7 100644 --- a/docs/recipes/gradle/changedependencygroupid.md +++ b/docs/recipes/gradle/changedependencygroupid.md @@ -13,8 +13,9 @@ _Change the group of a specified Gradle dependency._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependencyGroupId.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependencyGroupId.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Change the group of a specified Gradle dependency._ | `String` | newGroupId | The new groupId to use. | `corp.internal.jackson` | | `String` | configuration | *Optional*. The dependency configuration to search for dependencies in. | `api` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyGroupIdExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyGroupIdExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependencyGroupIdExample displayName: Change Gradle dependency group example recipeList: - - org.openrewrite.gradle.ChangeDependencyGroupId: - groupId: com.fasterxml.jackson* + - org.openrewrite.gradle.ChangeDependencyGroupId: groupId: com.fasterxml.jackson* artifactId: jackson-module* newGroupId: corp.internal.jackson configuration: api diff --git a/docs/recipes/gradle/changeextraproperty.md b/docs/recipes/gradle/changeextraproperty.md index fd826eeb35..d0f0cd8357 100644 --- a/docs/recipes/gradle/changeextraproperty.md +++ b/docs/recipes/gradle/changeextraproperty.md @@ -13,8 +13,9 @@ _Gradle's [ExtraPropertiesExtension](https://docs.gradle.org/current/dsl/org.gra ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeExtraProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeExtraProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Gradle's [ExtraPropertiesExtension](https://docs.gradle.org/current/dsl/org.gra | `String` | key | The key of the property to change. | `foo` | | `String` | value | The new value to set. The value will be treated the contents of a string literal. | `bar` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeExtraPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeExtraPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeExtraPropertyExample displayName: Change Extra Property example recipeList: - - org.openrewrite.gradle.ChangeExtraProperty: - key: foo + - org.openrewrite.gradle.ChangeExtraProperty: key: foo value: bar ``` diff --git a/docs/recipes/gradle/dependencyconstrainttorule.md b/docs/recipes/gradle/dependencyconstrainttorule.md index 1a530433ab..208152e2e8 100644 --- a/docs/recipes/gradle/dependencyconstrainttorule.md +++ b/docs/recipes/gradle/dependencyconstrainttorule.md @@ -13,7 +13,12 @@ _Gradle [dependency constraints](https://docs.gradle.org/current/userguide/depen ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/DependencyConstraintToRule.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/DependencyConstraintToRule.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/gradle/dependencyusemapnotation.md b/docs/recipes/gradle/dependencyusemapnotation.md index 9857891771..6b2d8f03bb 100644 --- a/docs/recipes/gradle/dependencyusemapnotation.md +++ b/docs/recipes/gradle/dependencyusemapnotation.md @@ -13,7 +13,12 @@ _In Gradle, dependencies can be expressed as a `String` like `"groupId:artifactI ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/DependencyUseMapNotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/DependencyUseMapNotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/gradle/dependencyusestringnotation.md b/docs/recipes/gradle/dependencyusestringnotation.md index 48cf281aad..870c41ad6e 100644 --- a/docs/recipes/gradle/dependencyusestringnotation.md +++ b/docs/recipes/gradle/dependencyusestringnotation.md @@ -13,7 +13,12 @@ _In Gradle, dependencies can be expressed as a `String` like `"groupId:artifactI ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/DependencyUseStringNotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/DependencyUseStringNotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/gradle/enablegradlebuildcache.md b/docs/recipes/gradle/enablegradlebuildcache.md index 5e4b0ccccd..f4934ce74c 100644 --- a/docs/recipes/gradle/enablegradlebuildcache.md +++ b/docs/recipes/gradle/enablegradlebuildcache.md @@ -13,7 +13,12 @@ _Enable the Gradle build cache. By enabling build cache the build outputs are st ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition diff --git a/docs/recipes/gradle/enablegradleparallelexecution.md b/docs/recipes/gradle/enablegradleparallelexecution.md index a45781ba4e..1da6f370b1 100644 --- a/docs/recipes/gradle/enablegradleparallelexecution.md +++ b/docs/recipes/gradle/enablegradleparallelexecution.md @@ -13,7 +13,12 @@ _Most builds consist of more than one project and some of those projects are usu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition diff --git a/docs/recipes/gradle/migratetogradle5.md b/docs/recipes/gradle/migratetogradle5.md index 530c05b7ee..7ac7b09337 100644 --- a/docs/recipes/gradle/migratetogradle5.md +++ b/docs/recipes/gradle/migratetogradle5.md @@ -13,7 +13,12 @@ _Migrate to version 5.x. See the Gradle upgrade guide from [version 4.x to 5.0]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition diff --git a/docs/recipes/gradle/migratetogradle6.md b/docs/recipes/gradle/migratetogradle6.md index e9e3fb2f50..8cfd14843d 100644 --- a/docs/recipes/gradle/migratetogradle6.md +++ b/docs/recipes/gradle/migratetogradle6.md @@ -13,11 +13,16 @@ _Migrate to version 6.x. See the Gradle upgrade guide from [version 5.x to 6.0]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle-6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle-6.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition diff --git a/docs/recipes/gradle/migratetogradle7.md b/docs/recipes/gradle/migratetogradle7.md index 76ca016ac4..799d3617a7 100644 --- a/docs/recipes/gradle/migratetogradle7.md +++ b/docs/recipes/gradle/migratetogradle7.md @@ -13,11 +13,16 @@ _Migrate to version 7.x. See the Gradle upgrade guide from [version 6.x to 7.0]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle-7.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle-7.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition diff --git a/docs/recipes/gradle/migratetogradle8.md b/docs/recipes/gradle/migratetogradle8.md index a04fd3bd14..7e2b47b659 100644 --- a/docs/recipes/gradle/migratetogradle8.md +++ b/docs/recipes/gradle/migratetogradle8.md @@ -13,11 +13,16 @@ _Migrate to version 8.x. See the Gradle upgrade guide from [version 7.x to 8.0]( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle-8.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle-8.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition diff --git a/docs/recipes/gradle/plugins/addbuildplugin.md b/docs/recipes/gradle/plugins/addbuildplugin.md index 6240514b9e..fa80b5c335 100644 --- a/docs/recipes/gradle/plugins/addbuildplugin.md +++ b/docs/recipes/gradle/plugins/addbuildplugin.md @@ -13,8 +13,9 @@ _Add a build plugin to a Gradle build file's `plugins` block._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/AddBuildPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/AddBuildPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Add a build plugin to a Gradle build file's `plugins` block._ | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | | `Boolean` | apply | *Optional*. Immediate apply the plugin. Defaults to `true`. Valid options: `true`, `false` | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddBuildPluginExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddBuildPluginExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddBuildPluginExample displayName: Add Gradle plugin example recipeList: - - org.openrewrite.gradle.plugins.AddBuildPlugin: - pluginId: com.jfrog.bintray + - org.openrewrite.gradle.plugins.AddBuildPlugin: pluginId: com.jfrog.bintray version: 3.x versionPattern: '-jre' ``` diff --git a/docs/recipes/gradle/plugins/adddevelocitygradleplugin.md b/docs/recipes/gradle/plugins/adddevelocitygradleplugin.md index a5b369db64..3df1e4e6b5 100644 --- a/docs/recipes/gradle/plugins/adddevelocitygradleplugin.md +++ b/docs/recipes/gradle/plugins/adddevelocitygradleplugin.md @@ -13,8 +13,9 @@ _Add the Develocity Gradle plugin to settings.gradle files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/AddDevelocityGradlePlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/AddDevelocityGradlePlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -26,6 +27,10 @@ _Add the Develocity Gradle plugin to settings.gradle files._ | `Boolean` | uploadInBackground | *Optional*. When set to `true` the plugin will capture additional information about the outputs of Gradle tasks. This increases the size of build scans, but is useful for diagnosing issues with task caching. | `true` | | `PublishCriteria` | publishCriteria | *Optional*. When set to `Always` the plugin will publish build scans of every single build. When set to `Failure` the plugin will only publish build scans when the build fails. When omitted scans will be published only when the `--scan` option is passed to the build. Valid options: `Always`, `Failure` | `Always` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/gradle/plugins/addsettingsplugin.md b/docs/recipes/gradle/plugins/addsettingsplugin.md index 963ba1ce66..8829308787 100644 --- a/docs/recipes/gradle/plugins/addsettingsplugin.md +++ b/docs/recipes/gradle/plugins/addsettingsplugin.md @@ -13,8 +13,9 @@ _Add plugin to Gradle settings file `plugins` block by id._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/AddSettingsPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/AddSettingsPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Add plugin to Gradle settings file `plugins` block by id._ | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | | `Boolean` | apply | *Optional*. Immediate apply the plugin. Defaults to `true`. Valid options: `true`, `false` | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddSettingsPluginExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddSettingsPluginExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddSettingsPluginExample displayName: Add Gradle settings plugin example recipeList: - - org.openrewrite.gradle.plugins.AddSettingsPlugin: - pluginId: com.jfrog.bintray + - org.openrewrite.gradle.plugins.AddSettingsPlugin: pluginId: com.jfrog.bintray version: 3.x versionPattern: '-jre' ``` diff --git a/docs/recipes/gradle/plugins/addsettingspluginrepository.md b/docs/recipes/gradle/plugins/addsettingspluginrepository.md index 4f2fe63d46..c140dd7b15 100644 --- a/docs/recipes/gradle/plugins/addsettingspluginrepository.md +++ b/docs/recipes/gradle/plugins/addsettingspluginrepository.md @@ -13,8 +13,9 @@ _Add a Gradle settings repository to `settings.gradle(.kts)`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/AddSettingsPluginRepository.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/AddSettingsPluginRepository.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Add a Gradle settings repository to `settings.gradle(.kts)`._ | `String` | type | The type of the artifact repository | `maven` | | `String` | url | *Optional*. The url of the artifact repository | `https://repo.spring.io` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddSettingsPluginRepositoryExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddSettingsPluginRepositoryExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddSettingsPluginRepositoryExample displayName: Add a Gradle settings repository example recipeList: - - org.openrewrite.gradle.plugins.AddSettingsPluginRepository: - type: maven + - org.openrewrite.gradle.plugins.AddSettingsPluginRepository: type: maven url: https://repo.spring.io ``` diff --git a/docs/recipes/gradle/plugins/changeplugin.md b/docs/recipes/gradle/plugins/changeplugin.md index 997ef82753..9afff2d5f5 100644 --- a/docs/recipes/gradle/plugins/changeplugin.md +++ b/docs/recipes/gradle/plugins/changeplugin.md @@ -13,8 +13,9 @@ _Changes the selected Gradle plugin to the new plugin._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/ChangePlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/ChangePlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Changes the selected Gradle plugin to the new plugin._ | `String` | newPluginId | The new Gradle plugin id. | `org.openrewrite.rewrite` | | `String` | newVersion | *Optional*. An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). | `7.x` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePluginExample displayName: Change a Gradle plugin example recipeList: - - org.openrewrite.gradle.plugins.ChangePlugin: - pluginId: org.openrewrite.rewrite + - org.openrewrite.gradle.plugins.ChangePlugin: pluginId: org.openrewrite.rewrite newPluginId: org.openrewrite.rewrite newVersion: 7.x ``` diff --git a/docs/recipes/gradle/plugins/changepluginversion.md b/docs/recipes/gradle/plugins/changepluginversion.md index 3bbd5e22b4..aef6a4276f 100644 --- a/docs/recipes/gradle/plugins/changepluginversion.md +++ b/docs/recipes/gradle/plugins/changepluginversion.md @@ -13,8 +13,9 @@ _Change a Gradle plugin by id to a later version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/ChangePluginVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/ChangePluginVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Change a Gradle plugin by id to a later version._ | `String` | newVersion | *Optional*. An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`. | `29.X` | | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePluginVersionExample displayName: Change a Gradle plugin version by id example recipeList: - - org.openrewrite.gradle.plugins.ChangePluginVersion: - pluginIdPattern: com.jfrog.bintray + - org.openrewrite.gradle.plugins.ChangePluginVersion: pluginIdPattern: com.jfrog.bintray newVersion: 29.X versionPattern: '-jre' ``` diff --git a/docs/recipes/gradle/plugins/migrategradleenterprisetodevelocity.md b/docs/recipes/gradle/plugins/migrategradleenterprisetodevelocity.md index 6610da3658..1ce5b4bc8f 100644 --- a/docs/recipes/gradle/plugins/migrategradleenterprisetodevelocity.md +++ b/docs/recipes/gradle/plugins/migrategradleenterprisetodevelocity.md @@ -13,14 +13,19 @@ _Migrate from the Gradle Enterprise Gradle plugin to the Develocity Gradle plugi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/MigrateGradleEnterpriseToDevelocity.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/MigrateGradleEnterpriseToDevelocity.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | version | *Optional*. An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`. | `3.x` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/gradle/plugins/removebuildplugin.md b/docs/recipes/gradle/plugins/removebuildplugin.md index 7030079e6f..15f4095fd5 100644 --- a/docs/recipes/gradle/plugins/removebuildplugin.md +++ b/docs/recipes/gradle/plugins/removebuildplugin.md @@ -13,18 +13,23 @@ _Remove plugin from Gradle `plugins` block by its id. Does not remove plugins fr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/RemoveBuildPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/RemoveBuildPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | pluginId | The plugin id to remove. | `com.jfrog.bintray` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveBuildPluginExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveBuildPluginExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveBuildPluginExample displayName: Remove Gradle plugin example recipeList: - - org.openrewrite.gradle.plugins.RemoveBuildPlugin: - pluginId: com.jfrog.bintray + - org.openrewrite.gradle.plugins.RemoveBuildPlugin: pluginId: com.jfrog.bintray ``` Now that `com.yourorg.RemoveBuildPluginExample` has been defined, activate it in your build file: diff --git a/docs/recipes/gradle/plugins/removesettingsplugin.md b/docs/recipes/gradle/plugins/removesettingsplugin.md index 28acb16dc8..5b77d94f8a 100644 --- a/docs/recipes/gradle/plugins/removesettingsplugin.md +++ b/docs/recipes/gradle/plugins/removesettingsplugin.md @@ -13,18 +13,23 @@ _Remove plugin from Gradle settings file `plugins` block by id._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/RemoveSettingsPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/RemoveSettingsPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | pluginId | The plugin id to remove. | `com.jfrog.bintray` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveSettingsPluginExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveSettingsPluginExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveSettingsPluginExample displayName: Remove Gradle settings plugin example recipeList: - - org.openrewrite.gradle.plugins.RemoveSettingsPlugin: - pluginId: com.jfrog.bintray + - org.openrewrite.gradle.plugins.RemoveSettingsPlugin: pluginId: com.jfrog.bintray ``` Now that `com.yourorg.RemoveSettingsPluginExample` has been defined, activate it in your build file: diff --git a/docs/recipes/gradle/plugins/upgradepluginversion.md b/docs/recipes/gradle/plugins/upgradepluginversion.md index a6263fad9e..3dd70437bb 100644 --- a/docs/recipes/gradle/plugins/upgradepluginversion.md +++ b/docs/recipes/gradle/plugins/upgradepluginversion.md @@ -13,8 +13,9 @@ _Update a Gradle plugin by id to a later version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/UpgradePluginVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/plugins/UpgradePluginVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Update a Gradle plugin by id to a later version._ | `String` | newVersion | *Optional*. An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`. | `29.X` | | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradePluginVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradePluginVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradePluginVersionExample displayName: Update a Gradle plugin by id example recipeList: - - org.openrewrite.gradle.plugins.UpgradePluginVersion: - pluginIdPattern: com.jfrog.bintray + - org.openrewrite.gradle.plugins.UpgradePluginVersion: pluginIdPattern: com.jfrog.bintray newVersion: 29.X versionPattern: '-jre' ``` diff --git a/docs/recipes/gradle/removedependency.md b/docs/recipes/gradle/removedependency.md index 6da5c1367f..af7989deb1 100644 --- a/docs/recipes/gradle/removedependency.md +++ b/docs/recipes/gradle/removedependency.md @@ -13,8 +13,9 @@ _Removes a single dependency from the dependencies section of the `build.gradle` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/RemoveDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/RemoveDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Removes a single dependency from the dependencies section of the `build.gradle` | `String` | artifactId | The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression. | `jackson-module*` | | `String` | configuration | *Optional*. The dependency configuration to remove from. | `api` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveDependencyExample displayName: Remove a Gradle dependency example recipeList: - - org.openrewrite.gradle.RemoveDependency: - groupId: com.fasterxml.jackson* + - org.openrewrite.gradle.RemoveDependency: groupId: com.fasterxml.jackson* artifactId: jackson-module* configuration: api ``` diff --git a/docs/recipes/gradle/removeenablefeaturepreview.md b/docs/recipes/gradle/removeenablefeaturepreview.md index 14e44f7131..fcf202d5b4 100644 --- a/docs/recipes/gradle/removeenablefeaturepreview.md +++ b/docs/recipes/gradle/removeenablefeaturepreview.md @@ -13,18 +13,23 @@ _Remove an enabled Gradle preview feature from `settings.gradle`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/RemoveEnableFeaturePreview.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/RemoveEnableFeaturePreview.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | previewFeatureName | The name of the feature preview to remove. | `ONE_LOCKFILE_PER_PROJECT` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveEnableFeaturePreviewExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveEnableFeaturePreviewExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveEnableFeaturePreviewExample displayName: Remove an enabled Gradle preview feature example recipeList: - - org.openrewrite.gradle.RemoveEnableFeaturePreview: - previewFeatureName: ONE_LOCKFILE_PER_PROJECT + - org.openrewrite.gradle.RemoveEnableFeaturePreview: previewFeatureName: ONE_LOCKFILE_PER_PROJECT ``` Now that `com.yourorg.RemoveEnableFeaturePreviewExample` has been defined, activate it in your build file: diff --git a/docs/recipes/gradle/removeredundantdependencyversions.md b/docs/recipes/gradle/removeredundantdependencyversions.md index 1a06dbc6d5..906ccc1a55 100644 --- a/docs/recipes/gradle/removeredundantdependencyversions.md +++ b/docs/recipes/gradle/removeredundantdependencyversions.md @@ -13,8 +13,9 @@ _Remove explicitly-specified dependency versions that are managed by a Gradle `p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/RemoveRedundantDependencyVersions.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/RemoveRedundantDependencyVersions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,6 +25,10 @@ _Remove explicitly-specified dependency versions that are managed by a Gradle `p | `Comparator` | onlyIfManagedVersionIs | *Optional*. Only remove the explicit version if the managed version has the specified comparative relationship to the explicit version. For example, `gte` will only remove the explicit version if the managed version is the same or newer. Default `eq`. Valid options: `any`, `eq`, `lt`, `lte`, `gt`, `gte` | | | `List` | except | *Optional*. Accepts a list of GAVs. Dependencies matching a GAV will be ignored by this recipe. GAV versions are ignored if provided. | `com.jcraft:jsch` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/gradle/removerepository.md b/docs/recipes/gradle/removerepository.md index c0dedb9eff..7457c5dd59 100644 --- a/docs/recipes/gradle/removerepository.md +++ b/docs/recipes/gradle/removerepository.md @@ -13,18 +13,23 @@ _Removes a repository from Gradle build scripts. Named repositories include "jce ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/RemoveRepository.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/RemoveRepository.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | repository | The name of the repository to remove | `jcenter` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveRepositoryExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveRepositoryExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveRepositoryExample displayName: Remove repository example recipeList: - - org.openrewrite.gradle.RemoveRepository: - repository: jcenter + - org.openrewrite.gradle.RemoveRepository: repository: jcenter ``` Now that `com.yourorg.RemoveRepositoryExample` has been defined, activate it in your build file: diff --git a/docs/recipes/gradle/search/dependencyinsight.md b/docs/recipes/gradle/search/dependencyinsight.md index bd4e1cf249..b39677d70f 100644 --- a/docs/recipes/gradle/search/dependencyinsight.md +++ b/docs/recipes/gradle/search/dependencyinsight.md @@ -13,8 +13,9 @@ _Find direct and transitive dependencies matching a group, artifact, and optiona ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/DependencyInsight.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/DependencyInsight.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Find direct and transitive dependencies matching a group, artifact, and optiona | `String` | version | *Optional*. Match only dependencies with the specified version. Node-style [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors) may be used.All versions are searched by default. | `1.x` | | `String` | configuration | *Optional*. Match dependencies with the specified scope. If not specified, all configurations will be searched. | `compileClasspath` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DependencyInsightExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DependencyInsightExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DependencyInsightExample displayName: Gradle dependency insight example recipeList: - - org.openrewrite.gradle.search.DependencyInsight: - groupIdPattern: com.fasterxml.jackson.module + - org.openrewrite.gradle.search.DependencyInsight: groupIdPattern: com.fasterxml.jackson.module artifactIdPattern: jackson-module-* version: 1.x configuration: compileClasspath diff --git a/docs/recipes/gradle/search/finddependency.md b/docs/recipes/gradle/search/finddependency.md index 7940d0913e..90c1815043 100644 --- a/docs/recipes/gradle/search/finddependency.md +++ b/docs/recipes/gradle/search/finddependency.md @@ -21,8 +21,9 @@ Finds dependencies declared in `build.gradle` files. See the [reference](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/FindDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/FindDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -31,10 +32,14 @@ Finds dependencies declared in `build.gradle` files. See the [reference](https:/ | `String` | artifactId | The second part of a dependency coordinate `com.google.guava:guava:VERSION`. | `guava` | | `String` | configuration | *Optional*. The dependency configuration to search for dependencies in. If omitted then all configurations will be searched. | `api` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -42,8 +47,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindDependencyExample displayName: Find Gradle dependency example recipeList: - - org.openrewrite.gradle.search.FindDependency: - groupId: com.google.guava + - org.openrewrite.gradle.search.FindDependency: groupId: com.google.guava artifactId: guava configuration: api ``` diff --git a/docs/recipes/gradle/search/finddependencyhandler.md b/docs/recipes/gradle/search/finddependencyhandler.md index 84afbaa31a..3cab418407 100644 --- a/docs/recipes/gradle/search/finddependencyhandler.md +++ b/docs/recipes/gradle/search/finddependencyhandler.md @@ -13,7 +13,12 @@ _Find the dependency handler containing any number of dependency definitions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/resources/META-INF/rewrite/gradle.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition diff --git a/docs/recipes/gradle/search/findgradleproject.md b/docs/recipes/gradle/search/findgradleproject.md index 4e8ff89986..fef2eb25dc 100644 --- a/docs/recipes/gradle/search/findgradleproject.md +++ b/docs/recipes/gradle/search/findgradleproject.md @@ -13,18 +13,23 @@ _Gradle projects are those with `build.gradle` or `build.gradle.kts` files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/FindGradleProject.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/FindGradleProject.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `SearchCriteria` | searchCriteria | Whether to identify gradle projects by source file name or the presence of a marker Valid options: `File`, `Marker` | `Marker` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindGradleProjectExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindGradleProjectExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindGradleProjectExample displayName: Find Gradle projects example recipeList: - - org.openrewrite.gradle.search.FindGradleProject: - searchCriteria: Marker + - org.openrewrite.gradle.search.FindGradleProject: searchCriteria: Marker ``` Now that `com.yourorg.FindGradleProjectExample` has been defined, activate it in your build file: diff --git a/docs/recipes/gradle/search/findgradlewrapper.md b/docs/recipes/gradle/search/findgradlewrapper.md index 88550c51bb..c5da66af9e 100644 --- a/docs/recipes/gradle/search/findgradlewrapper.md +++ b/docs/recipes/gradle/search/findgradlewrapper.md @@ -13,8 +13,9 @@ _Find Gradle wrappers._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/FindGradleWrapper.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/FindGradleWrapper.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -23,6 +24,10 @@ _Find Gradle wrappers._ | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | | `String` | distribution | *Optional*. The distribution of Gradle to find. "bin" includes Gradle binaries. "all" includes Gradle binaries, source code, and documentation. Valid options: `bin`, `all` | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/gradle/search/findplugins.md b/docs/recipes/gradle/search/findplugins.md index d797b3167d..836305df20 100644 --- a/docs/recipes/gradle/search/findplugins.md +++ b/docs/recipes/gradle/search/findplugins.md @@ -13,18 +13,23 @@ _Find a Gradle plugin by id._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/FindPlugins.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/FindPlugins.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | pluginId | The `ID` part of `plugin { ID }`. | ``com.jfrog.bintray`` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindPluginsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindPluginsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindPluginsExample displayName: Find Gradle plugin example recipeList: - - org.openrewrite.gradle.search.FindPlugins: - pluginId: '`com.jfrog.bintray`' + - org.openrewrite.gradle.search.FindPlugins: pluginId: '`com.jfrog.bintray`' ``` Now that `com.yourorg.FindPluginsExample` has been defined, activate it in your build file: diff --git a/docs/recipes/gradle/search/findrepository.md b/docs/recipes/gradle/search/findrepository.md index 964c22342c..0610f8756e 100644 --- a/docs/recipes/gradle/search/findrepository.md +++ b/docs/recipes/gradle/search/findrepository.md @@ -13,8 +13,9 @@ _Find a Gradle repository by url._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/FindRepository.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/search/FindRepository.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -23,6 +24,10 @@ _Find a Gradle repository by url._ | `String` | url | *Optional*. The url of the artifact repository | `https://repo.spring.io` | | `Purpose` | purpose | *Optional*. The purpose of this repository in terms of resolving project or plugin dependencies Valid options: `Project`, `Plugin` | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/gradle/security/usehttpsforrepositories.md b/docs/recipes/gradle/security/usehttpsforrepositories.md index 667b4375dc..5a786a17d3 100644 --- a/docs/recipes/gradle/security/usehttpsforrepositories.md +++ b/docs/recipes/gradle/security/usehttpsforrepositories.md @@ -17,7 +17,12 @@ _Use HTTPS for repository URLs._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/security/UseHttpsForRepositories.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/security/UseHttpsForRepositories.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/gradle/spring/addspringdependencymanagementplugin.md b/docs/recipes/gradle/spring/addspringdependencymanagementplugin.md index 1b31543e99..dac2dae425 100644 --- a/docs/recipes/gradle/spring/addspringdependencymanagementplugin.md +++ b/docs/recipes/gradle/spring/addspringdependencymanagementplugin.md @@ -13,12 +13,17 @@ _Prior to Spring Boot 2.0 the dependency management plugin was applied automatic ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/gradle/spring/AddSpringDependencyManagementPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/gradle/spring/AddSpringDependencyManagementPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/gradle/updategradlewrapper.md b/docs/recipes/gradle/updategradlewrapper.md index 11647e8f31..8d71e093a0 100644 --- a/docs/recipes/gradle/updategradlewrapper.md +++ b/docs/recipes/gradle/updategradlewrapper.md @@ -13,8 +13,9 @@ _Update the version of Gradle used in an existing Gradle wrapper. Queries servic ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/UpdateGradleWrapper.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/UpdateGradleWrapper.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -25,6 +26,10 @@ _Update the version of Gradle used in an existing Gradle wrapper. Queries servic | `String` | wrapperUri | *Optional*. The URI of the Gradle wrapper distribution. Lookup of available versions still requires access to https://services.gradle.org When this is specified the exact literal values supplied for `version` and `distribution` will be interpolated into this string wherever `${version}` and `${distribution}` appear respectively. Defaults to https://services.gradle.org/distributions/gradle-`${version}`-`${distribution}`.zip. | `https://services.gradle.org/distributions/gradle-${version}-${distribution}.zip` | | `String` | distributionChecksum | *Optional*. The SHA-256 checksum of the Gradle distribution. If specified, the recipe will add the checksum along with the custom distribution URL. | `29e49b10984e585d8118b7d0bc452f944e386458df27371b49b4ac1dec4b7fda` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/gradle/updatejavacompatibility.md b/docs/recipes/gradle/updatejavacompatibility.md index 2e87d58294..2083e6ba73 100644 --- a/docs/recipes/gradle/updatejavacompatibility.md +++ b/docs/recipes/gradle/updatejavacompatibility.md @@ -13,8 +13,9 @@ _Find and updates the Java compatibility for the Gradle project._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/UpdateJavaCompatibility.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/UpdateJavaCompatibility.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Find and updates the Java compatibility for the Gradle project._ | `Boolean` | allowDowngrade | *Optional*. Allow downgrading the Java version. | | | `Boolean` | addIfMissing | *Optional*. Adds the specified compatibility type if one is not found. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpdateJavaCompatibilityExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpdateJavaCompatibilityExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpdateJavaCompatibilityExample displayName: Update Gradle project Java compatibility example recipeList: - - org.openrewrite.gradle.UpdateJavaCompatibility: - version: 11 + - org.openrewrite.gradle.UpdateJavaCompatibility: version: 11 ``` Now that `com.yourorg.UpdateJavaCompatibilityExample` has been defined, activate it in your build file: diff --git a/docs/recipes/gradle/upgradedependencyversion.md b/docs/recipes/gradle/upgradedependencyversion.md index b498131998..4fad9b1752 100644 --- a/docs/recipes/gradle/upgradedependencyversion.md +++ b/docs/recipes/gradle/upgradedependencyversion.md @@ -13,8 +13,9 @@ _Upgrade the version of a dependency in a build.gradle file. Supports updating d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/UpgradeDependencyVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/UpgradeDependencyVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Upgrade the version of a dependency in a build.gradle file. Supports updating d | `String` | newVersion | *Optional*. An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`. | `29.X` | | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'newVersion' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeDependencyVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeDependencyVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeDependencyVersionExample displayName: Upgrade Gradle dependency versions example recipeList: - - org.openrewrite.gradle.UpgradeDependencyVersion: - groupId: com.fasterxml.jackson* + - org.openrewrite.gradle.UpgradeDependencyVersion: groupId: com.fasterxml.jackson* artifactId: jackson-module* newVersion: 29.X versionPattern: '-jre' diff --git a/docs/recipes/gradle/upgradetransitivedependencyversion.md b/docs/recipes/gradle/upgradetransitivedependencyversion.md index bce3b7e050..fa9a224a6a 100644 --- a/docs/recipes/gradle/upgradetransitivedependencyversion.md +++ b/docs/recipes/gradle/upgradetransitivedependencyversion.md @@ -13,8 +13,9 @@ _Upgrades the version of a transitive dependency in a Gradle build file. There a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/UpgradeTransitiveDependencyVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-gradle/src/main/java/org/openrewrite/gradle/UpgradeTransitiveDependencyVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-gradle/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Upgrades the version of a transitive dependency in a Gradle build file. There a | `String` | because | *Optional*. The reason for upgrading the transitive dependency. For example, we could be responding to a vulnerability. | `CVE-2021-1234` | | `List` | onlyForConfigurations | *Optional*. A list of configurations to consider during the upgrade. For example, For example using `implementation, runtimeOnly`, we could be responding to a deployable asset vulnerability only (ignoring test scoped vulnerabilities). | `implementation, runtimeOnly` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeTransitiveDependencyVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeTransitiveDependencyVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeTransitiveDependencyVersionExample displayName: Upgrade transitive Gradle dependencies example recipeList: - - org.openrewrite.gradle.UpgradeTransitiveDependencyVersion: - groupId: com.fasterxml.jackson* + - org.openrewrite.gradle.UpgradeTransitiveDependencyVersion: groupId: com.fasterxml.jackson* artifactId: jackson-module* version: 29.X versionPattern: '-jre' diff --git a/docs/recipes/groovy/format/autoformat.md b/docs/recipes/groovy/format/autoformat.md index 2f7b6c10c3..b16de63663 100644 --- a/docs/recipes/groovy/format/autoformat.md +++ b/docs/recipes/groovy/format/autoformat.md @@ -13,7 +13,12 @@ _Format Groovy code using a standard comprehensive set of Groovy formatting reci ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/src/main/java/org/openrewrite/groovy/format/AutoFormat.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-groovy/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/src/main/java/org/openrewrite/groovy/format/AutoFormat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-groovy/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/groovy/format/gstringcurlybraces.md b/docs/recipes/groovy/format/gstringcurlybraces.md index d900037ad8..038096c6f4 100644 --- a/docs/recipes/groovy/format/gstringcurlybraces.md +++ b/docs/recipes/groovy/format/gstringcurlybraces.md @@ -13,7 +13,12 @@ _In Groovy [GStrings](https://docs.groovy-lang.org/latest/html/api/groovy/lang/G ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/src/main/java/org/openrewrite/groovy/format/GStringCurlyBraces.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-groovy/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/src/main/java/org/openrewrite/groovy/format/GStringCurlyBraces.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-groovy/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/groovy/format/omitparenthesesforlastargumentlambda.md b/docs/recipes/groovy/format/omitparenthesesforlastargumentlambda.md index a9035d92ff..387bbd2e90 100644 --- a/docs/recipes/groovy/format/omitparenthesesforlastargumentlambda.md +++ b/docs/recipes/groovy/format/omitparenthesesforlastargumentlambda.md @@ -13,7 +13,12 @@ _Groovy allows a shorthand syntax that allows a closure to be placed outside of ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/src/main/java/org/openrewrite/groovy/format/OmitParenthesesForLastArgumentLambda.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-groovy/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/src/main/java/org/openrewrite/groovy/format/OmitParenthesesForLastArgumentLambda.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-groovy/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/groovy/format/omitparenthesesformat.md b/docs/recipes/groovy/format/omitparenthesesformat.md index 8afd409cf9..cd99829c9f 100644 --- a/docs/recipes/groovy/format/omitparenthesesformat.md +++ b/docs/recipes/groovy/format/omitparenthesesformat.md @@ -13,7 +13,12 @@ _Omit parentheses for last argument lambdas in Groovy code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/src/main/java/org/openrewrite/groovy/format/OmitParenthesesFormat.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-groovy/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-groovy/src/main/java/org/openrewrite/groovy/format/OmitParenthesesFormat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-groovy/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/hcl/deletecontent.md b/docs/recipes/hcl/deletecontent.md index daaded9ffb..0bfcd40981 100644 --- a/docs/recipes/hcl/deletecontent.md +++ b/docs/recipes/hcl/deletecontent.md @@ -13,18 +13,23 @@ _Delete HCL content by path._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/DeleteContent.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/DeleteContent.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | contentPath | A JSONPath expression specifying the block to delete. | `$.provider` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteContentExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteContentExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DeleteContentExample displayName: Delete content example recipeList: - - org.openrewrite.hcl.DeleteContent: - contentPath: $.provider + - org.openrewrite.hcl.DeleteContent: contentPath: $.provider ``` Now that `com.yourorg.DeleteContentExample` has been defined, activate it in your build file: diff --git a/docs/recipes/hcl/format/autoformat.md b/docs/recipes/hcl/format/autoformat.md index 5ff99ea87a..b3cf8e0308 100644 --- a/docs/recipes/hcl/format/autoformat.md +++ b/docs/recipes/hcl/format/autoformat.md @@ -13,7 +13,12 @@ _Format HCL code using a standard comprehensive set of HCL formatting recipes._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/AutoFormat.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/AutoFormat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/hcl/format/blanklines.md b/docs/recipes/hcl/format/blanklines.md index 608a9fd96c..86c0016e93 100644 --- a/docs/recipes/hcl/format/blanklines.md +++ b/docs/recipes/hcl/format/blanklines.md @@ -13,7 +13,12 @@ _Add and/or remove blank lines._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/BlankLines.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/BlankLines.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/hcl/format/normalizeformat.md b/docs/recipes/hcl/format/normalizeformat.md index a045a7df51..5b5a47d93e 100644 --- a/docs/recipes/hcl/format/normalizeformat.md +++ b/docs/recipes/hcl/format/normalizeformat.md @@ -13,7 +13,12 @@ _Move whitespace to the outermost LST element possible._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/NormalizeFormat.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/NormalizeFormat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/hcl/format/removetrailingwhitespace.md b/docs/recipes/hcl/format/removetrailingwhitespace.md index 9a534ea026..bbd1d195f6 100644 --- a/docs/recipes/hcl/format/removetrailingwhitespace.md +++ b/docs/recipes/hcl/format/removetrailingwhitespace.md @@ -13,7 +13,12 @@ _Remove any extra trailing whitespace from the end of each line._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/RemoveTrailingWhitespace.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/RemoveTrailingWhitespace.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/hcl/format/spaces.md b/docs/recipes/hcl/format/spaces.md index 1f80396617..c738bd59f4 100644 --- a/docs/recipes/hcl/format/spaces.md +++ b/docs/recipes/hcl/format/spaces.md @@ -13,7 +13,12 @@ _Format whitespace in HCL code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/Spaces.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/Spaces.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/hcl/format/tabsandindents.md b/docs/recipes/hcl/format/tabsandindents.md index eed95b83c9..05c48bde10 100644 --- a/docs/recipes/hcl/format/tabsandindents.md +++ b/docs/recipes/hcl/format/tabsandindents.md @@ -13,7 +13,12 @@ _Format tabs and indents in HCL code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/TabsAndIndents.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/format/TabsAndIndents.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/hcl/movecontenttofile.md b/docs/recipes/hcl/movecontenttofile.md index ed3f444e99..96bd6878c3 100644 --- a/docs/recipes/hcl/movecontenttofile.md +++ b/docs/recipes/hcl/movecontenttofile.md @@ -13,8 +13,9 @@ _Move content to another HCL file, deleting it in the original file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/MoveContentToFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/MoveContentToFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Move content to another HCL file, deleting it in the original file._ | `String` | fromPath | The source path of the file from which content is being moved. | `from.tf` | | `String` | destinationPath | The source path of the file to move the content to. | `to.tf` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.MoveContentToFileExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.MoveContentToFileExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.MoveContentToFileExample displayName: Move content to another file example recipeList: - - org.openrewrite.hcl.MoveContentToFile: - contentPath: $.provider + - org.openrewrite.hcl.MoveContentToFile: contentPath: $.provider fromPath: from.tf destinationPath: to.tf ``` diff --git a/docs/recipes/hcl/search/findandreplaceliteral.md b/docs/recipes/hcl/search/findandreplaceliteral.md index 476a8f19e1..8599258360 100644 --- a/docs/recipes/hcl/search/findandreplaceliteral.md +++ b/docs/recipes/hcl/search/findandreplaceliteral.md @@ -13,8 +13,9 @@ _Find and replace literal values in HCL files. This recipe parses the source fil ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/search/FindAndReplaceLiteral.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/search/FindAndReplaceLiteral.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Find and replace literal values in HCL files. This recipe parses the source fil | `Boolean` | regex | *Optional*. Default false. If true, `find` will be interpreted as a Regular Expression, and capture group contents will be available in `replace`. | | | `Boolean` | caseSensitive | *Optional*. If `true` the search will be sensitive to case. Default `false`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindAndReplaceLiteralExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindAndReplaceLiteralExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindAndReplaceLiteralExample displayName: Find and replace literals in HCL files example recipeList: - - org.openrewrite.hcl.search.FindAndReplaceLiteral: - find: blacklist + - org.openrewrite.hcl.search.FindAndReplaceLiteral: find: blacklist replace: denylist ``` diff --git a/docs/recipes/hcl/search/findcontent.md b/docs/recipes/hcl/search/findcontent.md index 3fa1147980..398f0e37ca 100644 --- a/docs/recipes/hcl/search/findcontent.md +++ b/docs/recipes/hcl/search/findcontent.md @@ -13,18 +13,23 @@ _Find HCL content by path._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/search/FindContent.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-hcl/src/main/java/org/openrewrite/hcl/search/FindContent.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-hcl/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | contentPath | A JSONPath expression specifying the block to find. | `$.provider` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindContentExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindContentExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindContentExample displayName: Find content example recipeList: - - org.openrewrite.hcl.search.FindContent: - contentPath: $.provider + - org.openrewrite.hcl.search.FindContent: contentPath: $.provider ``` Now that `com.yourorg.FindContentExample` has been defined, activate it in your build file: diff --git a/docs/recipes/hibernate/emptyinterceptortointerface.md b/docs/recipes/hibernate/emptyinterceptortointerface.md index 211dd291f0..9f24a53225 100644 --- a/docs/recipes/hibernate/emptyinterceptortointerface.md +++ b/docs/recipes/hibernate/emptyinterceptortointerface.md @@ -13,12 +13,17 @@ _In Hibernate 6.0 the `Interceptor` interface received default implementations t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/EmptyInterceptorToInterface.java), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/EmptyInterceptorToInterface.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratebooleanmappings.md b/docs/recipes/hibernate/migratebooleanmappings.md index efa3b321a0..c578d6f29d 100644 --- a/docs/recipes/hibernate/migratebooleanmappings.md +++ b/docs/recipes/hibernate/migratebooleanmappings.md @@ -13,12 +13,17 @@ _Replaces type mapping of booleans with appropriate attribute converters._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/MigrateBooleanMappings.java), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/MigrateBooleanMappings.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migrateresultcheckstyletoexpectation.md b/docs/recipes/hibernate/migrateresultcheckstyletoexpectation.md index ac025e62c6..0432eb3920 100644 --- a/docs/recipes/hibernate/migrateresultcheckstyletoexpectation.md +++ b/docs/recipes/hibernate/migrateresultcheckstyletoexpectation.md @@ -13,12 +13,17 @@ _Will migrate the usage of `org.hibernate.annotations.ResultCheckStyle` to `org. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/MigrateResultCheckStyleToExpectation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/MigrateResultCheckStyleToExpectation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratetohibernate60.md b/docs/recipes/hibernate/migratetohibernate60.md index 3bf2b073c0..11d4c92daa 100644 --- a/docs/recipes/hibernate/migratetohibernate60.md +++ b/docs/recipes/hibernate/migratetohibernate60.md @@ -13,11 +13,16 @@ _This recipe will apply changes commonly needed when migrating to Hibernate 6.0. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.0.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) - +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.0.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratetohibernate61.md b/docs/recipes/hibernate/migratetohibernate61.md index 451e057d63..b8f3cbadde 100644 --- a/docs/recipes/hibernate/migratetohibernate61.md +++ b/docs/recipes/hibernate/migratetohibernate61.md @@ -13,11 +13,16 @@ _This recipe will apply changes commonly needed when migrating to Hibernate 6.1. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.1.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) - +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.1.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratetohibernate62.md b/docs/recipes/hibernate/migratetohibernate62.md index 01f332143a..0617c2c6f9 100644 --- a/docs/recipes/hibernate/migratetohibernate62.md +++ b/docs/recipes/hibernate/migratetohibernate62.md @@ -13,11 +13,16 @@ _This recipe will apply changes commonly needed when migrating to Hibernate 6.2. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) - +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratetohibernate63.md b/docs/recipes/hibernate/migratetohibernate63.md index 996ea5db38..63796b63c6 100644 --- a/docs/recipes/hibernate/migratetohibernate63.md +++ b/docs/recipes/hibernate/migratetohibernate63.md @@ -13,11 +13,16 @@ _This recipe will apply changes commonly needed when migrating to Hibernate 6.3. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) - +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.3.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratetohibernate64.md b/docs/recipes/hibernate/migratetohibernate64.md index 0e4336a39b..f1d9dfedb4 100644 --- a/docs/recipes/hibernate/migratetohibernate64.md +++ b/docs/recipes/hibernate/migratetohibernate64.md @@ -13,11 +13,16 @@ _This recipe will apply changes commonly needed when migrating to Hibernate 6.4. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) - +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratetohibernate65.md b/docs/recipes/hibernate/migratetohibernate65.md index a0a049e26d..a34751b0ba 100644 --- a/docs/recipes/hibernate/migratetohibernate65.md +++ b/docs/recipes/hibernate/migratetohibernate65.md @@ -13,11 +13,16 @@ _This recipe will apply changes commonly needed when migrating to Hibernate 6.5. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) - +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratetohibernatedependencies60.md b/docs/recipes/hibernate/migratetohibernatedependencies60.md index ddaa91c6c2..36131a2088 100644 --- a/docs/recipes/hibernate/migratetohibernatedependencies60.md +++ b/docs/recipes/hibernate/migratetohibernatedependencies60.md @@ -13,11 +13,16 @@ _This recipe will migrate any existing dependencies on Hibernate 5.x to the late ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.0.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) - +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.0.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -354,7 +359,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/0.md b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/0.md index f15d10b8f0..eb8956093f 100644 --- a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/0.md +++ b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/0.md @@ -13,11 +13,16 @@ _This recipe will migrate any existing dependencies on `com.vladmihalcea:hiberna ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.0.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) - +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.0.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -122,7 +127,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/2.md b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/2.md index 38cccbfea7..517752ab28 100644 --- a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/2.md +++ b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/2.md @@ -13,7 +13,12 @@ _This recipe will migrate any existing dependencies on `io.hypersistence:hypersi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/3.md b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/3.md index 1ca2b2fca3..f43a9c4914 100644 --- a/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/3.md +++ b/docs/recipes/hibernate/migratetohypersistenceutilshibernate6/3.md @@ -13,7 +13,12 @@ _This recipe will migrate any existing dependencies on `io.hypersistence:hypersi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.3.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/migrateusertype.md b/docs/recipes/hibernate/migrateusertype.md index 8e8bbf67e5..0a142156eb 100644 --- a/docs/recipes/hibernate/migrateusertype.md +++ b/docs/recipes/hibernate/migrateusertype.md @@ -13,12 +13,17 @@ _With Hibernate 6 the `UserType` interface received a type parameter making it m ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/MigrateUserType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/MigrateUserType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/removeinvalidhibernategeneratedvalueannotation.md b/docs/recipes/hibernate/removeinvalidhibernategeneratedvalueannotation.md index ea10c43a89..4ff644762b 100644 --- a/docs/recipes/hibernate/removeinvalidhibernategeneratedvalueannotation.md +++ b/docs/recipes/hibernate/removeinvalidhibernategeneratedvalueannotation.md @@ -13,12 +13,17 @@ _Removes `@GeneratedValue` annotation from fields that are not also annotated wi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/RemoveInvalidHibernateGeneratedValueAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/RemoveInvalidHibernateGeneratedValueAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/replacelazycollectionannotation.md b/docs/recipes/hibernate/replacelazycollectionannotation.md index a7dcfea322..182263076f 100644 --- a/docs/recipes/hibernate/replacelazycollectionannotation.md +++ b/docs/recipes/hibernate/replacelazycollectionannotation.md @@ -13,12 +13,17 @@ _Adds the `FetchType` to jakarta annotations and deletes `@LazyCollection`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/ReplaceLazyCollectionAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/ReplaceLazyCollectionAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/typeannotationparameter.md b/docs/recipes/hibernate/typeannotationparameter.md index c58b74bc47..817b8ba80b 100644 --- a/docs/recipes/hibernate/typeannotationparameter.md +++ b/docs/recipes/hibernate/typeannotationparameter.md @@ -13,12 +13,17 @@ _Hibernate 6.x has 'type' parameter of type String replaced with 'value' of type ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/TypeAnnotationParameter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/java/org/openrewrite/hibernate/TypeAnnotationParameter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/typedescriptortotype.md b/docs/recipes/hibernate/typedescriptortotype.md index 9b9c8f82a1..c253d3c950 100644 --- a/docs/recipes/hibernate/typedescriptortotype.md +++ b/docs/recipes/hibernate/typedescriptortotype.md @@ -13,11 +13,16 @@ _Rename `JavaTypeDescriptor` and `SqlTypeDescriptor` to `JavaType` and `SqlType` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.0.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) - +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-6.0.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/hibernate/validator/hibernatevalidator_8_0.md b/docs/recipes/hibernate/validator/hibernatevalidator_8_0.md index 12d0fa72f3..710b676a6c 100644 --- a/docs/recipes/hibernate/validator/hibernatevalidator_8_0.md +++ b/docs/recipes/hibernate/validator/hibernatevalidator_8_0.md @@ -13,7 +13,12 @@ _This recipe will apply changes commonly needed when migrating to Hibernate Vali ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-validator.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +[GitHub](https://github.com/openrewrite/rewrite-hibernate/blob/main/src/main/resources/META-INF/rewrite/hibernate-validator.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-hibernate/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-hibernate/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-hibernate` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/camel/camel40/camelquarkusmigrationrecipe.md b/docs/recipes/io/quarkus/updates/camel/camel40/camelquarkusmigrationrecipe.md index 07c73ebc59..66dec9d0ec 100644 --- a/docs/recipes/io/quarkus/updates/camel/camel40/camelquarkusmigrationrecipe.md +++ b/docs/recipes/io/quarkus/updates/camel/camel40/camelquarkusmigrationrecipe.md @@ -13,11 +13,16 @@ _Migrate `camel3` quarkus application to `camel4` quarkus._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.camel.camel40.CamelQuarkusMigrationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.camel.camel40.CamelQuarkusMigrationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/camel/camel44/camelquarkusmigrationrecipe.md b/docs/recipes/io/quarkus/updates/camel/camel44/camelquarkusmigrationrecipe.md index ccef1e6755..4cbb031961 100644 --- a/docs/recipes/io/quarkus/updates/camel/camel44/camelquarkusmigrationrecipe.md +++ b/docs/recipes/io/quarkus/updates/camel/camel44/camelquarkusmigrationrecipe.md @@ -13,7 +13,12 @@ _Migrates `camel 4.0` quarkus application to `camel 4.4`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.camel.camel44.CamelQuarkusMigrationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.camel.camel44.CamelQuarkusMigrationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -41,7 +46,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/camel/camel47/camelquarkusmigrationrecipe.md b/docs/recipes/io/quarkus/updates/camel/camel47/camelquarkusmigrationrecipe.md index ee34740f12..1d576e47e5 100644 --- a/docs/recipes/io/quarkus/updates/camel/camel47/camelquarkusmigrationrecipe.md +++ b/docs/recipes/io/quarkus/updates/camel/camel47/camelquarkusmigrationrecipe.md @@ -13,11 +13,16 @@ _Migrates `camel 4.4` quarkus application to `camel 4.8`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.camel.camel47.CamelQuarkusMigrationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.camel.camel47.CamelQuarkusMigrationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/additionalchanges.md b/docs/recipes/io/quarkus/updates/core/quarkus30/additionalchanges.md index 7d4f8ca342..581fa1a021 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/additionalchanges.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/additionalchanges.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.AdditionalChanges), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.AdditionalChanges), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -105,7 +110,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationpropertieswithjakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationpropertieswithjakarta.md index 97769cbe7b..1855f40c9b 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationpropertieswithjakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationpropertieswithjakarta.md @@ -13,12 +13,17 @@ _Adjust application.properties for jakarta.* packages_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.AdjustApplicationPropertiesWithJakarta), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.AdjustApplicationPropertiesWithJakarta), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationyamlwithjakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationyamlwithjakarta.md index 5bc36449e3..125f66ada3 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationyamlwithjakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustapplicationyamlwithjakarta.md @@ -13,12 +13,17 @@ _Adjust application.yaml for jakarta.* packages_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.AdjustApplicationYamlWithJakarta), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.AdjustApplicationYamlWithJakarta), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustkotlinallopendirectives.md b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustkotlinallopendirectives.md index 006483ff51..c1dfd84e2a 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/adjustkotlinallopendirectives.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/adjustkotlinallopendirectives.md @@ -13,12 +13,17 @@ _Adjust all-open directives in Kotlin plugin configuration_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.AdjustKotlinAllOpenDirectives), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.AdjustKotlinAllOpenDirectives), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/applicationproperties.md b/docs/recipes/io/quarkus/updates/core/quarkus30/applicationproperties.md index c5c8e64daf..9958c37033 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/applicationproperties.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/applicationproperties.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.ApplicationProperties), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.ApplicationProperties), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -83,7 +88,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/applicationyml.md b/docs/recipes/io/quarkus/updates/core/quarkus30/applicationyml.md index df5ecd1339..741b9495b0 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/applicationyml.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/applicationyml.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.ApplicationYml), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.ApplicationYml), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -83,7 +88,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/changejavaxannotationtojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/changejavaxannotationtojakarta.md index e1c40375d2..3cecc8711d 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/changejavaxannotationtojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/changejavaxannotationtojakarta.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation. E ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.ChangeJavaxAnnotationToJakarta), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.ChangeJavaxAnnotationToJakarta), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/jacksonjavaxtojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/jacksonjavaxtojakarta.md index 1a786c6a9f..fad11bc80c 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/jacksonjavaxtojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/jacksonjavaxtojakarta.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE. This recipe replaces existing Jackso ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JacksonJavaxToJakarta), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JacksonJavaxToJakarta), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -236,7 +241,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxactivationmigrationtojakartaactivation.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxactivationmigrationtojakartaactivation.md index 166eb08e1f..d385ece833 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxactivationmigrationtojakartaactivation.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxactivationmigrationtojakartaactivation.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxActivationMigrationToJakartaActivation), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxActivationMigrationToJakartaActivation), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationmigrationtojakartaannotation.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationmigrationtojakartaannotation.md index e4e6834ab8..7d87c13472 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationmigrationtojakartaannotation.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationmigrationtojakartaannotation.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAnnotationMigrationToJakartaAnnotation), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAnnotationMigrationToJakartaAnnotation), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -74,7 +79,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationpackagetojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationpackagetojakarta.md index 3a0f8393c1..6751cb8d10 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationpackagetojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationpackagetojakarta.md @@ -19,11 +19,16 @@ _Change type of classes in the `javax.annotation` package to jakarta._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAnnotationPackageToJakarta), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAnnotationPackageToJakarta), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -94,7 +99,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsecuritypackagetojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsecuritypackagetojakarta.md index 224dd0c782..76ac45e9ac 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsecuritypackagetojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsecuritypackagetojakarta.md @@ -19,11 +19,16 @@ _Change type of classes in the `javax.annotation.security` package to jakarta._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAnnotationSecurityPackageToJakarta), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAnnotationSecurityPackageToJakarta), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -82,7 +87,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsqlpackagetojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsqlpackagetojakarta.md index 3b4af4bf23..e09e9f7a1f 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsqlpackagetojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxannotationsqlpackagetojakarta.md @@ -19,11 +19,16 @@ _Change type of classes in the `javax.annotation.sql` package to jakarta._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAnnotationSqlPackageToJakarta), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAnnotationSqlPackageToJakarta), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthenticationmigrationtojakartaauthentication.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthenticationmigrationtojakartaauthentication.md index b3bd9e3e4d..5effeacf49 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthenticationmigrationtojakartaauthentication.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthenticationmigrationtojakartaauthentication.md @@ -20,11 +20,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAuthenticationMigrationToJakartaAuthentication), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAuthenticationMigrationToJakartaAuthentication), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -90,7 +95,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthorizationmigrationtojakartaauthorization.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthorizationmigrationtojakartaauthorization.md index 044fba9d0e..50de5ca898 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthorizationmigrationtojakartaauthorization.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxauthorizationmigrationtojakartaauthorization.md @@ -20,11 +20,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAuthorizationMigrationToJakartaAuthorization), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxAuthorizationMigrationToJakartaAuthorization), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -82,7 +87,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxbatchmigrationtojakartabatch.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxbatchmigrationtojakartabatch.md index 853e8f341a..6872879c82 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxbatchmigrationtojakartabatch.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxbatchmigrationtojakartabatch.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxBatchMigrationToJakartaBatch), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxBatchMigrationToJakartaBatch), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxconfigurationfiles.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxconfigurationfiles.md index 9856ab7fb7..bed5e46e5e 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxconfigurationfiles.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxconfigurationfiles.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxConfigurationFiles), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxConfigurationFiles), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxdecoratortojakartadecorator.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxdecoratortojakartadecorator.md index c86e7e9a24..789009f5a9 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxdecoratortojakartadecorator.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxdecoratortojakartadecorator.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxDecoratorToJakartaDecorator), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxDecoratorToJakartaDecorator), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxejbtojakartaejb.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxejbtojakartaejb.md index 6178c032d2..ea07bb8671 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxejbtojakartaejb.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxejbtojakartaejb.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxEjbToJakartaEjb), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxEjbToJakartaEjb), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxeltojakartael.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxeltojakartael.md index 7b528467b8..eef5825a9e 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxeltojakartael.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxeltojakartael.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxElToJakartaEl), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxElToJakartaEl), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxenterprisetojakartaenterprise.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxenterprisetojakartaenterprise.md index 79b9b22f8e..6932910dda 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxenterprisetojakartaenterprise.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxenterprisetojakartaenterprise.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxEnterpriseToJakartaEnterprise), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxEnterpriseToJakartaEnterprise), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxfacestojakartafaces.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxfacestojakartafaces.md index 50bdc1d541..6f026e5e8e 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxfacestojakartafaces.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxfacestojakartafaces.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxFacesToJakartaFaces), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxFacesToJakartaFaces), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -82,7 +87,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinjectmigrationtojakartainject.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinjectmigrationtojakartainject.md index 24c2d72755..e282182946 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinjectmigrationtojakartainject.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinjectmigrationtojakartainject.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxInjectMigrationToJakartaInject), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxInjectMigrationToJakartaInject), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinterceptortojakartainterceptor.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinterceptortojakartainterceptor.md index 06c37d2efb..7bd6bc9272 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinterceptortojakartainterceptor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxinterceptortojakartainterceptor.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxInterceptorToJakartaInterceptor), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxInterceptorToJakartaInterceptor), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjmstojakartajms.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjmstojakartajms.md index ac631a8b46..b041f34a85 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjmstojakartajms.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjmstojakartajms.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxJmsToJakartaJms), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxJmsToJakartaJms), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjsontojakartajson.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjsontojakartajson.md index ad893f3705..bb778b30d6 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjsontojakartajson.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjsontojakartajson.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxJsonToJakartaJson), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxJsonToJakartaJson), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjwstojakartajws.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjwstojakartajws.md index e0f8e7ee2a..d50923250c 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjwstojakartajws.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxjwstojakartajws.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxJwsToJakartaJws), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxJwsToJakartaJws), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxmailtojakartamail.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxmailtojakartamail.md index ebf3f8d20d..f914136c85 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxmailtojakartamail.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxmailtojakartamail.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxMailToJakartaMail), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxMailToJakartaMail), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencetojakartapersistence.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencetojakartapersistence.md index 14a9846358..8646442817 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencetojakartapersistence.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencetojakartapersistence.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxPersistenceToJakartaPersistence), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxPersistenceToJakartaPersistence), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencexmltojakartapersistencexml.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencexmltojakartapersistencexml.md index 673750faad..7edd1626e4 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencexmltojakartapersistencexml.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxpersistencexmltojakartapersistencexml.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxPersistenceXmlToJakartaPersistenceXml), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxPersistenceXmlToJakartaPersistenceXml), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -88,7 +93,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxresourcetojakartaresource.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxresourcetojakartaresource.md index 8e62da92fd..9cc581f0b0 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxresourcetojakartaresource.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxresourcetojakartaresource.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxResourceToJakartaResource), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxResourceToJakartaResource), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxsecuritytojakartasecurity.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxsecuritytojakartasecurity.md index 7336740a65..3c70d424e5 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxsecuritytojakartasecurity.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxsecuritytojakartasecurity.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxSecurityToJakartaSecurity), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxSecurityToJakartaSecurity), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxservlettojakartaservlet.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxservlettojakartaservlet.md index 5cf607aa51..8daf876899 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxservlettojakartaservlet.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxservlettojakartaservlet.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxServletToJakartaServlet), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxServletToJakartaServlet), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartaadditionalmigration.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartaadditionalmigration.md index 3fc934dd17..331643dfd3 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartaadditionalmigration.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartaadditionalmigration.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaAdditionalMigration), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaAdditionalMigration), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -233,7 +238,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestarts.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestarts.md index 88c97f1b26..893aa1c222 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestarts.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestarts.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestarts), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestarts), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -859,7 +864,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestartstests.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestartstests.md index 37b5693051..fff5c9c3e0 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestartstests.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartacodestartstests.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestartsTests), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaCodestartsTests), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -859,7 +864,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationadoc.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationadoc.md index 78fed8bbf4..97db1235f2 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationadoc.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationadoc.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationAdoc), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationAdoc), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -859,7 +864,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationmd.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationmd.md index ef3e3992d0..4ae28c42e2 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationmd.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartadocumentationmd.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationMd), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaDocumentationMd), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -859,7 +864,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlin.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlin.md index 14dcf1b83b..e3e4103b8c 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlin.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlin.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlin), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlin), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -859,7 +864,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestarts.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestarts.md index f49285ad4f..962dd79145 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestarts.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestarts.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlinCodestarts), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlinCodestarts), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -859,7 +864,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestartstests.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestartstests.md index f9c757bd7d..5d4bec51a6 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestartstests.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtojakartakotlincodestartstests.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlinCodestartsTests), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxToJakartaKotlinCodestartsTests), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -859,7 +864,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtransactionmigrationtojakartatransaction.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtransactionmigrationtojakartatransaction.md index 8b8dc74b92..8ab53cf6be 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtransactionmigrationtojakartatransaction.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxtransactionmigrationtojakartatransaction.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxTransactionMigrationToJakartaTransaction), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxTransactionMigrationToJakartaTransaction), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -78,7 +83,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxvalidationmigrationtojakartavalidation.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxvalidationmigrationtojakartavalidation.md index 0e1b0e9d9f..86c1fff51e 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxvalidationmigrationtojakartavalidation.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxvalidationmigrationtojakartavalidation.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxValidationMigrationToJakartaValidation), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxValidationMigrationToJakartaValidation), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwebsockettojakartawebsocket.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwebsockettojakartawebsocket.md index fe9d1b311c..e93d7e0309 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwebsockettojakartawebsocket.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwebsockettojakartawebsocket.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxWebsocketToJakartaWebsocket), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxWebsocketToJakartaWebsocket), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwstojakartaws.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwstojakartaws.md index c58ceaf395..8dd13c7dea 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwstojakartaws.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxwstojakartaws.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxWsToJakartaWs), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxWsToJakartaWs), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlbindmigrationtojakartaxmlbind.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlbindmigrationtojakartaxmlbind.md index 4188d0997b..a7cda0d760 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlbindmigrationtojakartaxmlbind.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlbindmigrationtojakartaxmlbind.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxXmlBindMigrationToJakartaXmlBind), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxXmlBindMigrationToJakartaXmlBind), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -100,7 +105,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlsoaptojakartaxmlsoap.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlsoaptojakartaxmlsoap.md index 7eaafb43d0..ed7df6c78f 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlsoaptojakartaxmlsoap.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlsoaptojakartaxmlsoap.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxXmlSoapToJakartaXmlSoap), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxXmlSoapToJakartaXmlSoap), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlwsmigrationtojakartaxmlws.md b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlwsmigrationtojakartaxmlws.md index 513536d932..b72e23315b 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlwsmigrationtojakartaxmlws.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/javaxxmlwsmigrationtojakartaxmlws.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxXmlWsMigrationToJakartaXmlWs), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.JavaxXmlWsMigrationToJakartaXmlWs), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/kotlin.md b/docs/recipes/io/quarkus/updates/core/quarkus30/kotlin.md index db17b9f537..d651c0a8a1 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/kotlin.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/kotlin.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.Kotlin), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.Kotlin), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -40,7 +45,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/renamejavaxservicefiles.md b/docs/recipes/io/quarkus/updates/core/quarkus30/renamejavaxservicefiles.md index 72d5e5f174..d8f09a9fde 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/renamejavaxservicefiles.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/renamejavaxservicefiles.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.RenameJavaxServiceFiles), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.RenameJavaxServiceFiles), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -71,7 +76,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/restassuredjavaxtojakarta.md b/docs/recipes/io/quarkus/updates/core/quarkus30/restassuredjavaxtojakarta.md index d353110a19..7bc3161622 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/restassuredjavaxtojakarta.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/restassuredjavaxtojakarta.md @@ -13,7 +13,12 @@ _Java EE has been rebranded to Jakarta EE. This recipe replaces existing RestAs ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.RestAssuredJavaxToJakarta), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.RestAssuredJavaxToJakarta), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus30/upgradequarkiverse.md b/docs/recipes/io/quarkus/updates/core/quarkus30/upgradequarkiverse.md index 62300e5fa9..88d996e47e 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus30/upgradequarkiverse.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus30/upgradequarkiverse.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus30.UpgradeQuarkiverse), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus31/removemockitoinline.md b/docs/recipes/io/quarkus/updates/core/quarkus31/removemockitoinline.md index d4ee38c9d1..a4bcf5633b 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus31/removemockitoinline.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus31/removemockitoinline.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus31.RemoveMockitoInline), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus31.RemoveMockitoInline), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/adjustpackageproperty.md b/docs/recipes/io/quarkus/updates/core/quarkus310/adjustpackageproperty.md index 6bddabee1d..97adb0c219 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/adjustpackageproperty.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/adjustpackageproperty.md @@ -13,12 +13,17 @@ _Adjust the package properties_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.AdjustPackageProperty), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.AdjustPackageProperty), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/flywaydb2.md b/docs/recipes/io/quarkus/updates/core/quarkus310/flywaydb2.md index 2ecb05c15b..4ea59bcd98 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/flywaydb2.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/flywaydb2.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.FlywayDb2), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.FlywayDb2), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/flywayderby.md b/docs/recipes/io/quarkus/updates/core/quarkus310/flywayderby.md index 6442c47ee5..5252dbc41d 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/flywayderby.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/flywayderby.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.FlywayDerby), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.FlywayDerby), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/flywaypostgresql.md b/docs/recipes/io/quarkus/updates/core/quarkus310/flywaypostgresql.md index d42b4a29c4..5d105c86de 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/flywaypostgresql.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/flywaypostgresql.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.FlywayPostgreSQL), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.FlywayPostgreSQL), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus310/synchibernatejpamodelgenversionwithbom.md index fe605e346c..51f9a63228 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/synchibernatejpamodelgenversionwithbom.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.SyncHibernateJpaModelgenVersionWithBOM), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.SyncHibernateJpaModelgenVersionWithBOM), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagepom.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagepom.md index c4b0f60ed5..60629235ed 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagepom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagepom.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackagePom), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackagePom), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -40,7 +45,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagesimpleproperties.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagesimpleproperties.md index 208c1095c3..5a70475007 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagesimpleproperties.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagesimpleproperties.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageSimpleProperties), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageSimpleProperties), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -143,7 +148,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypefastjar.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypefastjar.md index b01d1a76c1..894c46c286 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypefastjar.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypefastjar.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeFastJar), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeFastJar), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypejar.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypejar.md index cb5f07946b..8457aa722f 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypejar.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypejar.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeJar), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeJar), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypemutablejar.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypemutablejar.md index 6803749102..19b1d85db0 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypemutablejar.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypemutablejar.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeMutableJar), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeMutableJar), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenative.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenative.md index 1f8820f667..371638dc13 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenative.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenative.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeNative), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeNative), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -57,7 +62,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenativesources.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenativesources.md index 0fe05498c7..4d2ce48f92 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenativesources.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypenativesources.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeNativeSources), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeNativeSources), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -63,7 +68,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypeuberjar.md b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypeuberjar.md index c521ccff11..b283d5a8e0 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypeuberjar.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus310/updateconfigpackagetypeuberjar.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeUberJar), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus310.UpdateConfigPackageTypeUberJar), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus311/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus311/synchibernatejpamodelgenversionwithbom.md index 9f38fb6802..44180dda01 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus311/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus311/synchibernatejpamodelgenversionwithbom.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus311.SyncHibernateJpaModelgenVersionWithBOM), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus311.SyncHibernateJpaModelgenVersionWithBOM), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus312/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus312/synchibernatejpamodelgenversionwithbom.md index da9ead4312..6089f1cc89 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus312/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus312/synchibernatejpamodelgenversionwithbom.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus312.SyncHibernateJpaModelgenVersionWithBOM), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus312.SyncHibernateJpaModelgenVersionWithBOM), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus313/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus313/synchibernatejpamodelgenversionwithbom.md index ccedd783ff..d679e57f96 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus313/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus313/synchibernatejpamodelgenversionwithbom.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus313.SyncHibernateJpaModelgenVersionWithBOM), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus313.SyncHibernateJpaModelgenVersionWithBOM), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus313/updatetestoidcauthserverurl.md b/docs/recipes/io/quarkus/updates/core/quarkus313/updatetestoidcauthserverurl.md index e13d719789..ba4826df33 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus313/updatetestoidcauthserverurl.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus313/updatetestoidcauthserverurl.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus313.UpdateTestOIDCAuthServerUrl), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus313.UpdateTestOIDCAuthServerUrl), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus32/applicationproperties.md b/docs/recipes/io/quarkus/updates/core/quarkus32/applicationproperties.md index f475e690b6..9c23d43c87 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus32/applicationproperties.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus32/applicationproperties.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus32.ApplicationProperties), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus32.ApplicationProperties), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -101,7 +106,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus32/applicationyml.md b/docs/recipes/io/quarkus/updates/core/quarkus32/applicationyml.md index 56c7a9a323..de575c4754 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus32/applicationyml.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus32/applicationyml.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus32.ApplicationYml), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus32.ApplicationYml), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus32/injectmock.md b/docs/recipes/io/quarkus/updates/core/quarkus32/injectmock.md index 56595440b6..5c41435385 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus32/injectmock.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus32/injectmock.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus32.InjectMock), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus32.InjectMock), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus33/applicationproperties.md b/docs/recipes/io/quarkus/updates/core/quarkus33/applicationproperties.md index 2f8ca76d54..561759467e 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus33/applicationproperties.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus33/applicationproperties.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus33.ApplicationProperties), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus33.ApplicationProperties), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -55,7 +60,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus33/applicationyml.md b/docs/recipes/io/quarkus/updates/core/quarkus33/applicationyml.md index 9e564e2b11..1d636044f0 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus33/applicationyml.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus33/applicationyml.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus33.ApplicationYml), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus33.ApplicationYml), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus33/graalvmsubstitutionsartifact.md b/docs/recipes/io/quarkus/updates/core/quarkus33/graalvmsubstitutionsartifact.md index 3d7ee660ab..58db37b181 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus33/graalvmsubstitutionsartifact.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus33/graalvmsubstitutionsartifact.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus33.GraalVMSubstitutionsArtifact), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus33.GraalVMSubstitutionsArtifact), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyuniandgroupcombinedwith.md b/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyuniandgroupcombinedwith.md index 97c468f200..3865d1d624 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyuniandgroupcombinedwith.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyuniandgroupcombinedwith.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus35.MutinyUniAndGroupCombinedWith), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus35.MutinyUniAndGroupCombinedWith), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyunimemoizeatleast.md b/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyunimemoizeatleast.md index 3832e9c513..8943a7b0fd 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyunimemoizeatleast.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus35/mutinyunimemoizeatleast.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus35.MutinyUniMemoizeAtLeast), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus35.MutinyUniMemoizeAtLeast), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus36/jaegersmallryeopentracing.md b/docs/recipes/io/quarkus/updates/core/quarkus36/jaegersmallryeopentracing.md index 0bee949ea9..60bee941a1 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus36/jaegersmallryeopentracing.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus36/jaegersmallryeopentracing.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus36.JaegerSmallRyeOpenTracing), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus36.JaegerSmallRyeOpenTracing), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -61,7 +66,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessor.md index 178d235d31..426fb7f898 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessor.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.AddJpaModelgenAnnotationProcessor), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.AddJpaModelgenAnnotationProcessor), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessorifoldartifact.md b/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessorifoldartifact.md index 7bc94568b9..4b782905e6 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessorifoldartifact.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/addjpamodelgenannotationprocessorifoldartifact.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.AddJpaModelgenAnnotationProcessorIfOldArtifact), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.AddJpaModelgenAnnotationProcessorIfOldArtifact), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/addmavencompilerannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus37/addmavencompilerannotationprocessor.md index 2c77887a65..e1f1165e56 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/addmavencompilerannotationprocessor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/addmavencompilerannotationprocessor.md @@ -13,8 +13,9 @@ _Add an annotation processor to the Maven Compiler plugin configuration._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.AddMavenCompilerAnnotationProcessor), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.AddMavenCompilerAnnotationProcessor), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Add an annotation processor to the Maven Compiler plugin configuration._ | `Boolean` | enforceManagedVersion | *Optional*. If the new annotation processor has a managed version, this flag can be used to explicitly set the version on the annotation processor with the version of the managed dependency. The default for this flag is `false`. | | | `String` | mavenCompilerPluginVersion | *Optional*. The version of the Maven Compiler plugin to use if not present. | `hibernate-jpamodelgen` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddMavenCompilerAnnotationProcessorExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddMavenCompilerAnnotationProcessorExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddMavenCompilerAnnotationProcessorExample displayName: Add an annotation processor to the Maven Compiler plugin configuration example recipeList: - - io.quarkus.updates.core.quarkus37.AddMavenCompilerAnnotationProcessor: - groupId: org.hibernate.orm + - io.quarkus.updates.core.quarkus37.AddMavenCompilerAnnotationProcessor: groupId: org.hibernate.orm artifactId: hibernate-jpamodelgen mavenCompilerPluginVersion: hibernate-jpamodelgen ``` diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid.md b/docs/recipes/io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid.md index 468b04170d..a2a6a54a7d 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/changemavencompilerannotationprocessorgroupidandartifactid.md @@ -13,8 +13,9 @@ _Change the groupId, artifactId and/or the version of a specified Maven Compiler ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactId), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactId), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) ## Options | Type | Name | Description | Example | @@ -28,10 +29,14 @@ _Change the groupId, artifactId and/or the version of a specified Maven Compiler | `Boolean` | overrideManagedVersion | *Optional*. If the new annotation processor has a managed version, this flag can be used to explicitly set the version on the annotation processor. The default for this flag is `false`. | | | `Boolean` | enforceManagedVersion | *Optional*. If the new annotation processor has a managed version, this flag can be used to explicitly set the version on the annotation processor with the version of the managed dependency. The default for this flag is `false`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactIdExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactIdExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -39,8 +44,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactIdExample displayName: Change Maven Compiler plugin annotation processor groupId, artifactId and/or the version example recipeList: - - io.quarkus.updates.core.quarkus37.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactId: - oldGroupId: org.hibernate + - io.quarkus.updates.core.quarkus37.ChangeMavenCompilerAnnotationProcessorGroupIdAndArtifactId: oldGroupId: org.hibernate oldArtifactId: hibernate-jpamodelgen newGroupId: org.hibernate.orm newArtifactId: hibernate-jpamodelgen diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedjavaxsecuritycert.md b/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedjavaxsecuritycert.md index d75fee0ab2..e3e5c70f76 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedjavaxsecuritycert.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedjavaxsecuritycert.md @@ -17,7 +17,12 @@ _The `javax.security.cert` package has been deprecated for removal._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.DeprecatedJavaxSecurityCert), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.DeprecatedJavaxSecurityCert), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedlogrecordthreadid.md b/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedlogrecordthreadid.md index 4ad7ba3e23..5eed994263 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedlogrecordthreadid.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/deprecatedlogrecordthreadid.md @@ -17,11 +17,16 @@ _Avoid using the deprecated methods in `java.util.logging.LogRecord`_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.DeprecatedLogRecordThreadID), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.DeprecatedLogRecordThreadID), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/hibernatesearchoutboxpolling.md b/docs/recipes/io/quarkus/updates/core/quarkus37/hibernatesearchoutboxpolling.md index baa41a4ff5..d3c049353d 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/hibernatesearchoutboxpolling.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/hibernatesearchoutboxpolling.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.HibernateSearchOutboxPolling), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.HibernateSearchOutboxPolling), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -57,7 +62,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/javaversion17.md b/docs/recipes/io/quarkus/updates/core/quarkus37/javaversion17.md index 4ef7361c07..3f9d0d8da9 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/javaversion17.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/javaversion17.md @@ -18,11 +18,16 @@ _Change maven.compiler.source and maven.compiler.target values to 17._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.JavaVersion17), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.JavaVersion17), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/jre17agentmainpremainpublic.md b/docs/recipes/io/quarkus/updates/core/quarkus37/jre17agentmainpremainpublic.md index 708de77376..fc42ce13f6 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/jre17agentmainpremainpublic.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/jre17agentmainpremainpublic.md @@ -17,11 +17,16 @@ _Check for a behavior change in Java agents._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.Jre17AgentMainPreMainPublic), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.Jre17AgentMainPreMainPublic), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/mavenplugins.md b/docs/recipes/io/quarkus/updates/core/quarkus37/mavenplugins.md index e5469f40b4..90b564a6e6 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/mavenplugins.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/mavenplugins.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.MavenPlugins), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.MavenPlugins), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -57,7 +62,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/removedlegacysunjsseprovidername.md b/docs/recipes/io/quarkus/updates/core/quarkus37/removedlegacysunjsseprovidername.md index c616560aa3..cae65f1426 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/removedlegacysunjsseprovidername.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/removedlegacysunjsseprovidername.md @@ -17,7 +17,12 @@ _The `com.sun.net.ssl.internal.ssl.Provider` provider name was removed._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.RemovedLegacySunJSSEProviderName), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.RemovedLegacySunJSSEProviderName), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/removejpamodelgendependencies.md b/docs/recipes/io/quarkus/updates/core/quarkus37/removejpamodelgendependencies.md index c160624506..a6b751788b 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/removejpamodelgendependencies.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/removejpamodelgendependencies.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.RemoveJpaModelgenDependencies), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.RemoveJpaModelgenDependencies), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/replacejpamodelgenannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus37/replacejpamodelgenannotationprocessor.md index db3b623825..c36fa480c2 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/replacejpamodelgenannotationprocessor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/replacejpamodelgenannotationprocessor.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.ReplaceJpaModelgenAnnotationProcessor), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.ReplaceJpaModelgenAnnotationProcessor), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/resteasyclientrenaming.md b/docs/recipes/io/quarkus/updates/core/quarkus37/resteasyclientrenaming.md index 065d84ae58..3ac2ad9d5c 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/resteasyclientrenaming.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/resteasyclientrenaming.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.ResteasyClientRenaming), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.ResteasyClientRenaming), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -81,7 +86,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus37/synchibernatejpamodelgenversionwithbom.md index a950452cf5..948f008a93 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/synchibernatejpamodelgenversionwithbom.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.SyncHibernateJpaModelgenVersionWithBOM), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.SyncHibernateJpaModelgenVersionWithBOM), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/syncmavencompilerannotationprocessorversion.md b/docs/recipes/io/quarkus/updates/core/quarkus37/syncmavencompilerannotationprocessorversion.md index c5fc561af5..ed9f19d77d 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/syncmavencompilerannotationprocessorversion.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/syncmavencompilerannotationprocessorversion.md @@ -13,8 +13,9 @@ _Sync Maven Compiler plugin annotation processor version with the one provided b ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.SyncMavenCompilerAnnotationProcessorVersion), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.SyncMavenCompilerAnnotationProcessorVersion), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Sync Maven Compiler plugin annotation processor version with the one provided b | `String` | groupId | The groupId of the annotation processor. | `org.hibernate.orm` | | `String` | artifactId | The artifactId of the annotation processor. | `hibernate-jpamodelgen` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.SyncMavenCompilerAnnotationProcessorVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.SyncMavenCompilerAnnotationProcessorVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.SyncMavenCompilerAnnotationProcessorVersionExample displayName: Sync Maven Compiler plugin annotation processor version with the one provided by the BOM example recipeList: - - io.quarkus.updates.core.quarkus37.SyncMavenCompilerAnnotationProcessorVersion: - groupId: org.hibernate.orm + - io.quarkus.updates.core.quarkus37.SyncMavenCompilerAnnotationProcessorVersion: groupId: org.hibernate.orm artifactId: hibernate-jpamodelgen ``` diff --git a/docs/recipes/io/quarkus/updates/core/quarkus37/upgradetojava17.md b/docs/recipes/io/quarkus/updates/core/quarkus37/upgradetojava17.md index 6f391db035..0773212e4d 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus37/upgradetojava17.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus37/upgradetojava17.md @@ -17,11 +17,16 @@ _This recipe will apply changes commonly needed when migrating to Java 17. Speci ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.UpgradeToJava17), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus37.UpgradeToJava17), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus38/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus38/synchibernatejpamodelgenversionwithbom.md index 78e00a5d7e..3502d68a5a 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus38/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus38/synchibernatejpamodelgenversionwithbom.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus38.SyncHibernateJpaModelgenVersionWithBOM), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus38.SyncHibernateJpaModelgenVersionWithBOM), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus383/graalsdk.md b/docs/recipes/io/quarkus/updates/core/quarkus383/graalsdk.md index d1640879e4..5ef699d2db 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus383/graalsdk.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus383/graalsdk.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus383.GraalSDK), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus383.GraalSDK), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/graalsdk.md b/docs/recipes/io/quarkus/updates/core/quarkus39/graalsdk.md index 5d49b43f64..d3ee447b9b 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/graalsdk.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/graalsdk.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.GraalSDK), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.GraalSDK), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/relocations.md b/docs/recipes/io/quarkus/updates/core/quarkus39/relocations.md index fc5d22bf15..4ba977729c 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/relocations.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/relocations.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.Relocations), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.Relocations), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -633,7 +638,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/removemavencompilerannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus39/removemavencompilerannotationprocessor.md index e221d917ff..674d500221 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/removemavencompilerannotationprocessor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/removemavencompilerannotationprocessor.md @@ -13,8 +13,9 @@ _Remove an annotation processor from the Maven Compiler plugin configuration._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.RemoveMavenCompilerAnnotationProcessor), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.RemoveMavenCompilerAnnotationProcessor), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Remove an annotation processor from the Maven Compiler plugin configuration._ | `String` | artifactId | The artifactId of the annotation processor. | `hibernate-jpamodelgen` | | `String` | processorClass | *Optional*. The fully-qualified class of the annotation processor. | `com.example.MyProcessor` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveMavenCompilerAnnotationProcessorExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveMavenCompilerAnnotationProcessorExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveMavenCompilerAnnotationProcessorExample displayName: Remove an annotation processor from the Maven Compiler plugin configuration example recipeList: - - io.quarkus.updates.core.quarkus39.RemoveMavenCompilerAnnotationProcessor: - groupId: org.hibernate.orm + - io.quarkus.updates.core.quarkus39.RemoveMavenCompilerAnnotationProcessor: groupId: org.hibernate.orm artifactId: hibernate-jpamodelgen processorClass: com.example.MyProcessor ``` diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/removepanacheannotationprocessor.md b/docs/recipes/io/quarkus/updates/core/quarkus39/removepanacheannotationprocessor.md index 20f81de65c..20c7b2284d 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/removepanacheannotationprocessor.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/removepanacheannotationprocessor.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.RemovePanacheAnnotationProcessor), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.RemovePanacheAnnotationProcessor), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/synchibernatejpamodelgenversionwithbom.md b/docs/recipes/io/quarkus/updates/core/quarkus39/synchibernatejpamodelgenversionwithbom.md index 30ec69088b..39ffe1368b 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/synchibernatejpamodelgenversionwithbom.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/synchibernatejpamodelgenversionwithbom.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.SyncHibernateJpaModelgenVersionWithBOM), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.SyncHibernateJpaModelgenVersionWithBOM), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/io/quarkus/updates/core/quarkus39/updateconfigroots.md b/docs/recipes/io/quarkus/updates/core/quarkus39/updateconfigroots.md index 3a22a1c5de..3df9e82246 100644 --- a/docs/recipes/io/quarkus/updates/core/quarkus39/updateconfigroots.md +++ b/docs/recipes/io/quarkus/updates/core/quarkus39/updateconfigroots.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.UpdateConfigRoots), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=io.quarkus.updates.core.quarkus39.UpdateConfigRoots), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -83,7 +88,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/addapache2licenseheader.md b/docs/recipes/java/addapache2licenseheader.md index 810efb18e9..49ae56811e 100644 --- a/docs/recipes/java/addapache2licenseheader.md +++ b/docs/recipes/java/addapache2licenseheader.md @@ -17,7 +17,12 @@ _Adds the Apache Software License Version 2.0 to Java source files which are mis ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/resources/META-INF/rewrite/apache-license-header.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/resources/META-INF/rewrite/apache-license-header.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition diff --git a/docs/recipes/java/addcommenttomethod.md b/docs/recipes/java/addcommenttomethod.md index d30bf4b5e9..68205be15f 100644 --- a/docs/recipes/java/addcommenttomethod.md +++ b/docs/recipes/java/addcommenttomethod.md @@ -13,8 +13,9 @@ _Add a comment to a Java source file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddCommentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddCommentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Add a comment to a Java source file._ | `String` | methodPattern | A pattern to match methods to add the comment to. | `java.util.List add*(..)` | | `Boolean` | isMultiline | *Optional*. Comments use by default single line // but they can use multiline /* */. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddCommentToMethodExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddCommentToMethodExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddCommentToMethodExample displayName: Add comment example recipeList: - - org.openrewrite.java.AddCommentToMethod: - comment: This is a comment. + - org.openrewrite.java.AddCommentToMethod: comment: This is a comment. methodPattern: java.util.List add*(..) ``` diff --git a/docs/recipes/java/addlicenseheader.md b/docs/recipes/java/addlicenseheader.md index 245bfff578..69ac8d2d5a 100644 --- a/docs/recipes/java/addlicenseheader.md +++ b/docs/recipes/java/addlicenseheader.md @@ -13,18 +13,23 @@ _Adds license headers to Java source files when missing. Does not override exist ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddLicenseHeader.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddLicenseHeader.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | licenseText | The license header text without the block comment. May contain `${CURRENT_YEAR}` property. | `Copyright ${CURRENT_YEAR} the original author or authors...` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddLicenseHeaderExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddLicenseHeaderExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddLicenseHeaderExample displayName: Add license header example recipeList: - - org.openrewrite.java.AddLicenseHeader: - licenseText: Copyright ${CURRENT_YEAR} the original author or authors... + - org.openrewrite.java.AddLicenseHeader: licenseText: Copyright ${CURRENT_YEAR} the original author or authors... ``` Now that `com.yourorg.AddLicenseHeaderExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/addliteralmethodargument.md b/docs/recipes/java/addliteralmethodargument.md index 643926e817..6aef869176 100644 --- a/docs/recipes/java/addliteralmethodargument.md +++ b/docs/recipes/java/addliteralmethodargument.md @@ -13,8 +13,9 @@ _Add a literal `String` or `int` argument to method invocations._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddLiteralMethodArgument.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddLiteralMethodArgument.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Add a literal `String` or `int` argument to method invocations._ | `Object` | literal | The literal value that we add the argument for. | `abc` | | `String` | primitiveType | *Optional*. The type of the parameter that we add the argument for. Defaults to `String`. Valid options: `String`, `int`, `short`, `long`, `float`, `double`, `boolean`, `char` | `String` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddLiteralMethodArgumentExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddLiteralMethodArgumentExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddLiteralMethodArgumentExample displayName: Add a literal method argument example recipeList: - - org.openrewrite.java.AddLiteralMethodArgument: - methodPattern: com.yourorg.A foo(int, int) + - org.openrewrite.java.AddLiteralMethodArgument: methodPattern: com.yourorg.A foo(int, int) argumentIndex: 0 literal: abc primitiveType: String diff --git a/docs/recipes/java/addmethodparameter.md b/docs/recipes/java/addmethodparameter.md index 0083e0875d..7b23d6cc41 100644 --- a/docs/recipes/java/addmethodparameter.md +++ b/docs/recipes/java/addmethodparameter.md @@ -13,8 +13,9 @@ _Adds a new method parameter to an existing method declaration._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddMethodParameter.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddMethodParameter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Adds a new method parameter to an existing method declaration._ | `String` | parameterName | The name of the parameter that gets added. | `name` | | `Integer` | parameterIndex | *Optional*. A zero-based index that indicates the position at which the parameter will be added. At the end by default. | `0` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddMethodParameterExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddMethodParameterExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddMethodParameterExample displayName: Add method parameter to a method declaration example recipeList: - - org.openrewrite.java.AddMethodParameter: - methodPattern: com.yourorg.A foo(int, int) + - org.openrewrite.java.AddMethodParameter: methodPattern: com.yourorg.A foo(int, int) parameterType: java.lang.String parameterName: name parameterIndex: 0 diff --git a/docs/recipes/java/addnullmethodargument.md b/docs/recipes/java/addnullmethodargument.md index 2fb00e8cfc..02938e8261 100644 --- a/docs/recipes/java/addnullmethodargument.md +++ b/docs/recipes/java/addnullmethodargument.md @@ -13,8 +13,9 @@ _Add a `null` argument to method invocations._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddNullMethodArgument.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddNullMethodArgument.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Add a `null` argument to method invocations._ | `String` | parameterName | *Optional*. The name of the parameter that we add the argument for. | `name` | | `Boolean` | explicitCast | *Optional*. Explicitly cast the argument to the parameter type. Useful if the method is overridden with another type. | `true` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddNullMethodArgumentExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddNullMethodArgumentExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddNullMethodArgumentExample displayName: Add a `null` method argument example recipeList: - - org.openrewrite.java.AddNullMethodArgument: - methodPattern: com.yourorg.A foo(int, int) + - org.openrewrite.java.AddNullMethodArgument: methodPattern: com.yourorg.A foo(int, int) argumentIndex: 0 parameterType: java.lang.String parameterName: name diff --git a/docs/recipes/java/addorupdateannotationattribute.md b/docs/recipes/java/addorupdateannotationattribute.md index 784758b0e8..795eafd048 100644 --- a/docs/recipes/java/addorupdateannotationattribute.md +++ b/docs/recipes/java/addorupdateannotationattribute.md @@ -13,8 +13,9 @@ _Some annotations accept arguments. This recipe sets an existing argument to the ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddOrUpdateAnnotationAttribute.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/AddOrUpdateAnnotationAttribute.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Some annotations accept arguments. This recipe sets an existing argument to the | `Boolean` | addOnly | When set to `true` will not change existing annotation attribute values. | | | `Boolean` | appendArray | If the attribute is an array, setting this option to `true` will append the value(s). In conjunction with `addOnly`, it is possible to control duplicates: `addOnly=true`, always append. `addOnly=false`, only append if the value is not already present. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddOrUpdateAnnotationAttributeExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddOrUpdateAnnotationAttributeExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddOrUpdateAnnotationAttributeExample displayName: Add or update annotation attribute example recipeList: - - org.openrewrite.java.AddOrUpdateAnnotationAttribute: - annotationType: org.junit.Test + - org.openrewrite.java.AddOrUpdateAnnotationAttribute: annotationType: org.junit.Test attributeName: timeout attributeValue: 500 addOnly: null diff --git a/docs/recipes/java/ai/classdefinitionlength.md b/docs/recipes/java/ai/classdefinitionlength.md index c7f973cfee..74d69c3497 100644 --- a/docs/recipes/java/ai/classdefinitionlength.md +++ b/docs/recipes/java/ai/classdefinitionlength.md @@ -13,7 +13,12 @@ _Locates class definitions and predicts the number of token in each._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ai/ClassDefinitionLength.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ai/ClassDefinitionLength.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/ai/methoddefinitionlength.md b/docs/recipes/java/ai/methoddefinitionlength.md index 78ae6dfa40..2c0ce1cad1 100644 --- a/docs/recipes/java/ai/methoddefinitionlength.md +++ b/docs/recipes/java/ai/methoddefinitionlength.md @@ -13,7 +13,12 @@ _Locates method definitions and predicts the number of token in each._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ai/MethodDefinitionLength.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ai/MethodDefinitionLength.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/boot3/replacemockbeanandspybean.md b/docs/recipes/java/boot3/replacemockbeanandspybean.md index 61533b1204..ef7fda01e8 100644 --- a/docs/recipes/java/boot3/replacemockbeanandspybean.md +++ b/docs/recipes/java/boot3/replacemockbeanandspybean.md @@ -13,11 +13,16 @@ _Replaces `@MockBean` and `@SpyBean` annotations with `@MockitoBean` and `@Mocki ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/replace-mock-and-spybean.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/replace-mock-and-spybean.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -92,7 +97,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/camel/migrate/changepropertyvalue.md b/docs/recipes/java/camel/migrate/changepropertyvalue.md index ff209ad121..119bb19a32 100644 --- a/docs/recipes/java/camel/migrate/changepropertyvalue.md +++ b/docs/recipes/java/camel/migrate/changepropertyvalue.md @@ -13,11 +13,16 @@ _Apache Camel API migration from version 3.20 or higher to 4.0. Removal of depre ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.openrewrite.java.camel.migrate.ChangePropertyValue), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.openrewrite.java.camel.migrate.ChangePropertyValue), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/camel/migrate/removedextensions.md b/docs/recipes/java/camel/migrate/removedextensions.md index 5e99930660..12b8a37585 100644 --- a/docs/recipes/java/camel/migrate/removedextensions.md +++ b/docs/recipes/java/camel/migrate/removedextensions.md @@ -13,11 +13,16 @@ _Removal of maven dependencies for extension, which are no longer part of Camel ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.openrewrite.java.camel.migrate.removedExtensions), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.openrewrite.java.camel.migrate.removedExtensions), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -192,7 +197,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/changeannotationattributename.md b/docs/recipes/java/changeannotationattributename.md index 5d067383bb..3fe827cd10 100644 --- a/docs/recipes/java/changeannotationattributename.md +++ b/docs/recipes/java/changeannotationattributename.md @@ -13,8 +13,9 @@ _Some annotations accept arguments. This recipe renames an existing attribute._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeAnnotationAttributeName.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeAnnotationAttributeName.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Some annotations accept arguments. This recipe renames an existing attribute._ | `String` | oldAttributeName | The name of attribute to change. | `timeout` | | `String` | newAttributeName | The new attribute name to use. | `waitFor` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeAnnotationAttributeNameExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeAnnotationAttributeNameExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeAnnotationAttributeNameExample displayName: Change annotation attribute name example recipeList: - - org.openrewrite.java.ChangeAnnotationAttributeName: - annotationType: org.junit.Test + - org.openrewrite.java.ChangeAnnotationAttributeName: annotationType: org.junit.Test oldAttributeName: timeout newAttributeName: waitFor ``` diff --git a/docs/recipes/java/changemethodaccesslevel.md b/docs/recipes/java/changemethodaccesslevel.md index e0e842d2c0..2646532259 100644 --- a/docs/recipes/java/changemethodaccesslevel.md +++ b/docs/recipes/java/changemethodaccesslevel.md @@ -13,8 +13,9 @@ _Change the access level (public, protected, private, package private) of a meth ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeMethodAccessLevel.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeMethodAccessLevel.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Change the access level (public, protected, private, package private) of a meth | `String` | newAccessLevel | New method access level to apply to the method. Valid options: `private`, `protected`, `package`, `public` | `public` | | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodAccessLevelExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodAccessLevelExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeMethodAccessLevelExample displayName: Change method access level example recipeList: - - org.openrewrite.java.ChangeMethodAccessLevel: - methodPattern: org.mockito.Matchers anyVararg() + - org.openrewrite.java.ChangeMethodAccessLevel: methodPattern: org.mockito.Matchers anyVararg() newAccessLevel: public ``` diff --git a/docs/recipes/java/changemethodname.md b/docs/recipes/java/changemethodname.md index af9ea8588b..04c6cb3807 100644 --- a/docs/recipes/java/changemethodname.md +++ b/docs/recipes/java/changemethodname.md @@ -13,8 +13,9 @@ _Rename a method._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeMethodName.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeMethodName.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Rename a method._ | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | | | `Boolean` | ignoreDefinition | *Optional*. When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodNameExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodNameExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeMethodNameExample displayName: Change method name example recipeList: - - org.openrewrite.java.ChangeMethodName: - methodPattern: org.mockito.Matchers anyVararg() + - org.openrewrite.java.ChangeMethodName: methodPattern: org.mockito.Matchers anyVararg() newMethodName: any ``` diff --git a/docs/recipes/java/changemethodtargettostatic.md b/docs/recipes/java/changemethodtargettostatic.md index 581eb1ea4b..2720d37ea7 100644 --- a/docs/recipes/java/changemethodtargettostatic.md +++ b/docs/recipes/java/changemethodtargettostatic.md @@ -13,8 +13,9 @@ _Change method invocations to static method calls._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeMethodTargetToStatic.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeMethodTargetToStatic.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Change method invocations to static method calls._ | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | | | `Boolean` | matchUnknownTypes | *Optional*. When enabled, include method invocations which appear to match if full type information is missing. Using matchUnknownTypes can improve recipe resiliency for an AST with missing type information, but also increases the risk of false-positive matches on unrelated method invocations. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodTargetToStaticExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodTargetToStaticExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeMethodTargetToStaticExample displayName: Change method target to static example recipeList: - - org.openrewrite.java.ChangeMethodTargetToStatic: - methodPattern: com.google.common.collect.ImmutableSet of(..) + - org.openrewrite.java.ChangeMethodTargetToStatic: methodPattern: com.google.common.collect.ImmutableSet of(..) fullyQualifiedTargetTypeName: java.util.Set returnType: java.util.Set ``` diff --git a/docs/recipes/java/changemethodtargettovariable.md b/docs/recipes/java/changemethodtargettovariable.md index 8ed9bced92..9c7faca730 100644 --- a/docs/recipes/java/changemethodtargettovariable.md +++ b/docs/recipes/java/changemethodtargettovariable.md @@ -13,8 +13,9 @@ _Change method invocations to method calls on a variable._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeMethodTargetToVariable.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeMethodTargetToVariable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Change method invocations to method calls on a variable._ | `String` | variableType | Type attribution to use for the return type of the modified method invocation. | `java.lang.String` | | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodTargetToVariableExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodTargetToVariableExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeMethodTargetToVariableExample displayName: Change method target to variable example recipeList: - - org.openrewrite.java.ChangeMethodTargetToVariable: - methodPattern: org.mycorp.A method(..) + - org.openrewrite.java.ChangeMethodTargetToVariable: methodPattern: org.mycorp.A method(..) variableName: foo variableType: java.lang.String ``` diff --git a/docs/recipes/java/changepackage.md b/docs/recipes/java/changepackage.md index 9ee6f74954..b9a80ba057 100644 --- a/docs/recipes/java/changepackage.md +++ b/docs/recipes/java/changepackage.md @@ -13,8 +13,9 @@ _A recipe that will rename a package name in package statements, imports, and fu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangePackage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _A recipe that will rename a package name in package statements, imports, and fu | `String` | newPackageName | New package name to replace the old package name with. | `com.yourorg.bar` | | `Boolean` | recursive | *Optional*. Recursively change subpackage names | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePackageExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePackageExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePackageExample displayName: Rename package name example recipeList: - - org.openrewrite.java.ChangePackage: - oldPackageName: com.yourorg.foo + - org.openrewrite.java.ChangePackage: oldPackageName: com.yourorg.foo newPackageName: com.yourorg.bar ``` diff --git a/docs/recipes/java/changestaticfieldtomethod.md b/docs/recipes/java/changestaticfieldtomethod.md index a2afd52870..31282a9221 100644 --- a/docs/recipes/java/changestaticfieldtomethod.md +++ b/docs/recipes/java/changestaticfieldtomethod.md @@ -13,8 +13,9 @@ _Migrate accesses to a static field to invocations of a static method._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeStaticFieldToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeStaticFieldToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Migrate accesses to a static field to invocations of a static method._ | `String` | newTarget | *Optional*. An optional method target that can be used to specify a static field within the new class. | `OK_RESPONSE` | | `String` | newMethodName | The simple name of the method to use. The method must be static and have no arguments. | `of` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeStaticFieldToMethodExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeStaticFieldToMethodExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeStaticFieldToMethodExample displayName: Change static field access to static method access example recipeList: - - org.openrewrite.java.ChangeStaticFieldToMethod: - oldClassName: java.util.Collections + - org.openrewrite.java.ChangeStaticFieldToMethod: oldClassName: java.util.Collections oldFieldName: EMPTY_LIST newClassName: java.util.List newTarget: OK_RESPONSE diff --git a/docs/recipes/java/changetype.md b/docs/recipes/java/changetype.md index fe0c0fe739..cb2a0078e4 100644 --- a/docs/recipes/java/changetype.md +++ b/docs/recipes/java/changetype.md @@ -13,8 +13,9 @@ _Change a given type to another._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeType.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ChangeType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Change a given type to another._ | `String` | newFullyQualifiedTypeName | Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes. | `org.junit.jupiter.api.Assumptions` | | `Boolean` | ignoreDefinition | *Optional*. When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTypeExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTypeExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeTypeExample displayName: Change type example recipeList: - - org.openrewrite.java.ChangeType: - oldFullyQualifiedTypeName: org.junit.Assume + - org.openrewrite.java.ChangeType: oldFullyQualifiedTypeName: org.junit.Assume newFullyQualifiedTypeName: org.junit.jupiter.api.Assumptions ``` diff --git a/docs/recipes/java/createemptyjavaclass.md b/docs/recipes/java/createemptyjavaclass.md index 712389e7b2..df5a891e37 100644 --- a/docs/recipes/java/createemptyjavaclass.md +++ b/docs/recipes/java/createemptyjavaclass.md @@ -13,8 +13,9 @@ _Create a new, empty Java class._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/CreateEmptyJavaClass.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/CreateEmptyJavaClass.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Create a new, empty Java class._ | `Boolean` | overwriteExisting | *Optional*. If there is an existing file, should it be overwritten. | | | `String` | relativePath | *Optional*. Directory path of new class. | `foo/bar` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CreateEmptyJavaClassExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CreateEmptyJavaClassExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.CreateEmptyJavaClassExample displayName: Create Java class example recipeList: - - org.openrewrite.java.CreateEmptyJavaClass: - sourceRoot: src/main/java + - org.openrewrite.java.CreateEmptyJavaClass: sourceRoot: src/main/java packageName: org.openrewrite.example modifier: public className: ExampleClass diff --git a/docs/recipes/java/deletemethodargument.md b/docs/recipes/java/deletemethodargument.md index 5d6cab5419..0c000f244e 100644 --- a/docs/recipes/java/deletemethodargument.md +++ b/docs/recipes/java/deletemethodargument.md @@ -13,8 +13,9 @@ _Delete an argument from method invocations._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/DeleteMethodArgument.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/DeleteMethodArgument.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Delete an argument from method invocations._ | `String` | methodPattern | A [method pattern](/reference/method-patterns) that is used to find matching method invocations. | `com.yourorg.A foo(int, int)` | | `int` | argumentIndex | A zero-based index that indicates which argument will be removed from the method invocation. | `0` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteMethodArgumentExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteMethodArgumentExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DeleteMethodArgumentExample displayName: Delete method argument example recipeList: - - org.openrewrite.java.DeleteMethodArgument: - methodPattern: com.yourorg.A foo(int, int) + - org.openrewrite.java.DeleteMethodArgument: methodPattern: com.yourorg.A foo(int, int) argumentIndex: 0 ``` diff --git a/docs/recipes/java/dependencies/adddependency.md b/docs/recipes/java/dependencies/adddependency.md index bdbf5da5ab..5cd6e86920 100644 --- a/docs/recipes/java/dependencies/adddependency.md +++ b/docs/recipes/java/dependencies/adddependency.md @@ -13,8 +13,9 @@ _For a Gradle project, add a gradle dependency to a `build.gradle` file in the c ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/AddDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) - +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/AddDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) ## Options | Type | Name | Description | Example | @@ -34,10 +35,14 @@ _For a Gradle project, add a gradle dependency to a `build.gradle` file in the c | `Boolean` | optional | *Optional*. Set the value of the `` tag. No `` tag will be added when this is `null`. | | | `Boolean` | acceptTransitive | *Optional*. Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency. | `true` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -45,8 +50,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddDependencyExample displayName: Add Gradle or Maven dependency example recipeList: - - org.openrewrite.java.dependencies.AddDependency: - groupId: com.google.guava + - org.openrewrite.java.dependencies.AddDependency: groupId: com.google.guava artifactId: guava version: 29.X versionPattern: '-jre' diff --git a/docs/recipes/java/dependencies/changedependency.md b/docs/recipes/java/dependencies/changedependency.md index bd9315befe..1a536de637 100644 --- a/docs/recipes/java/dependencies/changedependency.md +++ b/docs/recipes/java/dependencies/changedependency.md @@ -13,8 +13,9 @@ _Change the group ID, artifact ID, and/or the version of a specified Gradle or M ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/ChangeDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) - +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/ChangeDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) ## Options | Type | Name | Description | Example | @@ -28,10 +29,14 @@ _Change the group ID, artifact ID, and/or the version of a specified Gradle or M | `Boolean` | overrideManagedVersion | *Optional*. If the new dependency has a managed version, this flag can be used to explicitly set the version on the dependency. The default for this flag is `false`. | | | `Boolean` | changeManagedDependency | *Optional*. Also update the dependency management section. The default for this flag is `true`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -39,8 +44,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependencyExample displayName: Change Gradle or Maven dependency example recipeList: - - org.openrewrite.java.dependencies.ChangeDependency: - oldGroupId: org.openrewrite.recipe + - org.openrewrite.java.dependencies.ChangeDependency: oldGroupId: org.openrewrite.recipe oldArtifactId: rewrite-testing-frameworks newGroupId: corp.internal.openrewrite.recipe newArtifactId: rewrite-testing-frameworks diff --git a/docs/recipes/java/dependencies/dependencyinsight.md b/docs/recipes/java/dependencies/dependencyinsight.md index f0a2501142..d0677cea3d 100644 --- a/docs/recipes/java/dependencies/dependencyinsight.md +++ b/docs/recipes/java/dependencies/dependencyinsight.md @@ -13,8 +13,9 @@ _Finds dependencies, including transitive dependencies, in both Gradle and Maven ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/DependencyInsight.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) - +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/DependencyInsight.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Finds dependencies, including transitive dependencies, in both Gradle and Maven | `String` | version | *Optional*. Match only dependencies with the specified version. Node-style [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors) may be used. All versions are searched by default. | `1.x` | | `String` | scope | *Optional*. Match dependencies with the specified Maven scope. All scopes are searched by default. Valid options: `compile`, `test`, `runtime`, `provided`, `system` | `compile` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DependencyInsightExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DependencyInsightExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DependencyInsightExample displayName: Dependency insight for Gradle and Maven example recipeList: - - org.openrewrite.java.dependencies.DependencyInsight: - groupIdPattern: com.fasterxml.jackson* + - org.openrewrite.java.dependencies.DependencyInsight: groupIdPattern: com.fasterxml.jackson* artifactIdPattern: jackson-* version: 1.x scope: compile diff --git a/docs/recipes/java/dependencies/dependencylicensecheck.md b/docs/recipes/java/dependencies/dependencylicensecheck.md index 8c7ac172d8..96966cf5ea 100644 --- a/docs/recipes/java/dependencies/dependencylicensecheck.md +++ b/docs/recipes/java/dependencies/dependencylicensecheck.md @@ -13,7 +13,7 @@ _Locates and reports on all licenses in use._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/dependencies/DependencyLicenseCheck.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,25 +22,28 @@ _Locates and reports on all licenses in use._ | `String` | scope | Match dependencies with the specified scope Valid options: `compile`, `test`, `runtime`, `provided` | `compile` | | `Boolean` | addMarkers | *Optional*. Report each license transitively used by a dependency in search results. | | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DependencyLicenseCheckExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DependencyLicenseCheckExample displayName: Find licenses in use in third-party dependencies example recipeList: - - org.openrewrite.java.dependencies.DependencyLicenseCheck: + - org.openrewrite.java.dependencies.DependencyLicenseCheck: scope: compile ``` -Now that `com.yourorg.DependencyLicenseCheckExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-java-security:{{VERSION_REWRITE_JAVA_SECURITY}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/java/dependencies/dependencylist.md b/docs/recipes/java/dependencies/dependencylist.md index 2d0357b106..647ee621b0 100644 --- a/docs/recipes/java/dependencies/dependencylist.md +++ b/docs/recipes/java/dependencies/dependencylist.md @@ -13,8 +13,9 @@ _Emits a data table detailing all Gradle and Maven dependencies.This recipe make ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/DependencyList.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) - +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/DependencyList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Emits a data table detailing all Gradle and Maven dependencies.This recipe make | `Scope` | scope | The scope of the dependencies to include in the report. Valid options: `Compile`, `Runtime`, `TestRuntime` | `Compile` | | `boolean` | includeTransitive | Whether or not to include transitive dependencies in the report. Defaults to including only direct dependencies. | `true` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DependencyListExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DependencyListExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DependencyListExample displayName: Dependency report example recipeList: - - org.openrewrite.java.dependencies.DependencyList: - scope: Compile + - org.openrewrite.java.dependencies.DependencyList: scope: Compile includeTransitive: false ``` diff --git a/docs/recipes/java/dependencies/dependencyresolutiondiagnostic.md b/docs/recipes/java/dependencies/dependencyresolutiondiagnostic.md index 48a5ec2eee..8554ffef2a 100644 --- a/docs/recipes/java/dependencies/dependencyresolutiondiagnostic.md +++ b/docs/recipes/java/dependencies/dependencyresolutiondiagnostic.md @@ -13,8 +13,9 @@ _Recipes which manipulate dependencies must be able to successfully access the a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/DependencyResolutionDiagnostic.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) - +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/DependencyResolutionDiagnostic.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Recipes which manipulate dependencies must be able to successfully access the a | `String` | artifactId | *Optional*. The artifact ID of a dependency to attempt to download from the repository. Default value is "jackson-core". If this dependency is not found in the repository the error will be noted in the report. There is no need to specify an alternate value for this parameter unless the repository is known not to contain jackson-core. | `jackson-core` | | `String` | version | *Optional*. The version of a dependency to attempt to download from the repository. Default value is "2.16.0". If this dependency is not found in the repository the error will be noted in the report. There is no need to specify an alternate value for this parameter unless the repository is known not to contain jackson-core. | `2.16.0` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-dependencies` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-dependencies` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/dependencies/dependencyvulnerabilitycheck.md b/docs/recipes/java/dependencies/dependencyvulnerabilitycheck.md index 140a97bfec..002a305bb6 100644 --- a/docs/recipes/java/dependencies/dependencyvulnerabilitycheck.md +++ b/docs/recipes/java/dependencies/dependencyvulnerabilitycheck.md @@ -13,7 +13,7 @@ _This software composition analysis (SCA) tool detects and upgrades dependencies ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/dependencies/DependencyVulnerabilityCheck.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,10 +23,14 @@ _This software composition analysis (SCA) tool detects and upgrades dependencies | `Boolean` | overrideTransitive | *Optional*. When enabled transitive dependencies with vulnerabilities will have their versions overridden. By default only direct dependencies have their version numbers upgraded. | `false` | | `UpgradeDelta` | maximumUpgradeDelta | *Optional*. The maximum difference to allow when suggesting a dependency version upgrade. Patch version upgrades are the default and safest option, as patch releases assert full backwards compatibility with no breaking changes.Minor version upgrades can introduce new features but do not _typically_ include breaking changes. Major version upgrades will typically require code changes above and beyond this recipe. Valid options: `patch`, `minor`, `major` | `patch` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/dependencies/relocateddependencycheck.md b/docs/recipes/java/dependencies/relocateddependencycheck.md index 8db56554de..d052358ea0 100644 --- a/docs/recipes/java/dependencies/relocateddependencycheck.md +++ b/docs/recipes/java/dependencies/relocateddependencycheck.md @@ -13,18 +13,23 @@ _Find Maven and Gradle dependencies and Maven plugins that have relocated to a n ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/RelocatedDependencyCheck.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) - +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/RelocatedDependencyCheck.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | changeDependencies | *Optional*. Whether to change dependencies to their relocated groupId and artifactId. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-dependencies` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-dependencies` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/dependencies/removedependency.md b/docs/recipes/java/dependencies/removedependency.md index 321e1f1fb3..b9911780eb 100644 --- a/docs/recipes/java/dependencies/removedependency.md +++ b/docs/recipes/java/dependencies/removedependency.md @@ -17,8 +17,9 @@ For Maven project, removes a single dependency from the section o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/RemoveDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) - +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/RemoveDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) ## Options | Type | Name | Description | Example | @@ -29,10 +30,14 @@ For Maven project, removes a single dependency from the section o | `String` | configuration | *Optional*. The dependency configuration to remove from. | `api` | | `String` | scope | *Optional*. Only remove dependencies if they are in this scope. If 'runtime', this willalso remove dependencies in the 'compile' scope because 'compile' dependencies are part of the runtime dependency set Valid options: `compile`, `test`, `runtime`, `provided` | `compile` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -40,8 +45,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveDependencyExample displayName: Remove a Gradle or Maven dependency example recipeList: - - org.openrewrite.java.dependencies.RemoveDependency: - groupId: com.fasterxml.jackson* + - org.openrewrite.java.dependencies.RemoveDependency: groupId: com.fasterxml.jackson* artifactId: jackson-module* unlessUsing: org.aspectj.lang.* configuration: api diff --git a/docs/recipes/java/dependencies/removeexpiredsuppressions.md b/docs/recipes/java/dependencies/removeexpiredsuppressions.md index fe03aed48e..d9ce6b93ab 100644 --- a/docs/recipes/java/dependencies/removeexpiredsuppressions.md +++ b/docs/recipes/java/dependencies/removeexpiredsuppressions.md @@ -13,12 +13,17 @@ _Remove expired vulnerability suppressions from `DependencyCheck` `suppression.x ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/RemoveExpiredSuppressions.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/RemoveExpiredSuppressions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-dependencies` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-dependencies` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/dependencies/removeunuseddependencies.md b/docs/recipes/java/dependencies/removeunuseddependencies.md index 5005529ebf..d4ce7c177e 100644 --- a/docs/recipes/java/dependencies/removeunuseddependencies.md +++ b/docs/recipes/java/dependencies/removeunuseddependencies.md @@ -13,12 +13,16 @@ _Scans through source code collecting references to types and methods, removing ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/dependencies/RemoveUnusedDependencies.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/dependencies/search/findminimumdependencyversion.md b/docs/recipes/java/dependencies/search/findminimumdependencyversion.md index a8ab9b913c..a41515c26e 100644 --- a/docs/recipes/java/dependencies/search/findminimumdependencyversion.md +++ b/docs/recipes/java/dependencies/search/findminimumdependencyversion.md @@ -13,8 +13,9 @@ _The oldest dependency version in use is the lowest dependency version in use in ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/search/FindMinimumDependencyVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) - +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/search/FindMinimumDependencyVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _The oldest dependency version in use is the lowest dependency version in use in | `String` | artifactIdPattern | Artifact ID glob pattern used to match dependencies. | `jackson-module-*` | | `String` | version | *Optional*. Match only dependencies with the specified version. Node-style [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors) may be used. All versions are searched by default. | `1.x` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMinimumDependencyVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMinimumDependencyVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindMinimumDependencyVersionExample displayName: Find the oldest matching dependency version in use example recipeList: - - org.openrewrite.java.dependencies.search.FindMinimumDependencyVersion: - groupIdPattern: com.fasterxml.jackson.module + - org.openrewrite.java.dependencies.search.FindMinimumDependencyVersion: groupIdPattern: com.fasterxml.jackson.module artifactIdPattern: jackson-module-* version: 1.x ``` diff --git a/docs/recipes/java/dependencies/softwarebillofmaterials.md b/docs/recipes/java/dependencies/softwarebillofmaterials.md index 5dc69dabc3..1c758e30e4 100644 --- a/docs/recipes/java/dependencies/softwarebillofmaterials.md +++ b/docs/recipes/java/dependencies/softwarebillofmaterials.md @@ -17,12 +17,16 @@ _Produces a software bill of materials (SBOM) for a project. An SBOM is a comple ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/dependencies/SoftwareBillOfMaterials.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/dependencies/upgradedependencyversion.md b/docs/recipes/java/dependencies/upgradedependencyversion.md index 9547acf45c..dcca3bae11 100644 --- a/docs/recipes/java/dependencies/upgradedependencyversion.md +++ b/docs/recipes/java/dependencies/upgradedependencyversion.md @@ -13,8 +13,9 @@ _For Gradle projects, upgrade the version of a dependency in a `build.gradle` fi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/UpgradeDependencyVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) - +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/UpgradeDependencyVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _For Gradle projects, upgrade the version of a dependency in a `build.gradle` fi | `Boolean` | overrideManagedVersion | *Optional*. For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`. | | | `List` | retainVersions | *Optional*. For Maven project only, accepts a list of GAVs. For each GAV, if it is a project direct dependency, and it is removed from dependency management after the changes from this recipe, then it will be retained with an explicit version. The version can be omitted from the GAV to use the old value from dependency management. | `com.jcraft:jsch` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeDependencyVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeDependencyVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeDependencyVersionExample displayName: Upgrade Gradle or Maven dependency versions example recipeList: - - org.openrewrite.java.dependencies.UpgradeDependencyVersion: - groupId: com.fasterxml.jackson* + - org.openrewrite.java.dependencies.UpgradeDependencyVersion: groupId: com.fasterxml.jackson* artifactId: jackson-module* newVersion: 29.X versionPattern: '-jre' diff --git a/docs/recipes/java/dependencies/upgradetransitivedependencyversion.md b/docs/recipes/java/dependencies/upgradetransitivedependencyversion.md index d9beac2bb8..2bbea0edd8 100644 --- a/docs/recipes/java/dependencies/upgradetransitivedependencyversion.md +++ b/docs/recipes/java/dependencies/upgradetransitivedependencyversion.md @@ -13,8 +13,9 @@ _Upgrades the version of a transitive dependency in a Maven pom.xml or Gradle bu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/UpgradeTransitiveDependencyVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) - +[GitHub](https://github.com/openrewrite/rewrite-java-dependencies/blob/main/src/main/java/org/openrewrite/java/dependencies/UpgradeTransitiveDependencyVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-java-dependencies/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-dependencies/) ## Options | Type | Name | Description | Example | @@ -31,10 +32,14 @@ _Upgrades the version of a transitive dependency in a Maven pom.xml or Gradle bu | `String` | onlyIfUsing | *Optional*. Only add managed dependencies to projects having a dependency matching the expression. | `org.apache.logging.log4j:log4j*` | | `Boolean` | addToRootPom | *Optional*. Add to the root pom where root is the eldest parent of the pom within the source set. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeTransitiveDependencyVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeTransitiveDependencyVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -42,8 +47,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeTransitiveDependencyVersionExample displayName: Upgrade transitive Gradle or Maven dependencies example recipeList: - - org.openrewrite.java.dependencies.UpgradeTransitiveDependencyVersion: - groupId: org.apache.logging.log4j + - org.openrewrite.java.dependencies.UpgradeTransitiveDependencyVersion: groupId: org.apache.logging.log4j artifactId: log4j-bom version: latest.release scope: import diff --git a/docs/recipes/java/format/autoformat.md b/docs/recipes/java/format/autoformat.md index 8d19018554..3c7a69ac7e 100644 --- a/docs/recipes/java/format/autoformat.md +++ b/docs/recipes/java/format/autoformat.md @@ -13,7 +13,12 @@ _Format Java code using a standard comprehensive set of Java formatting recipes. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/AutoFormat.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/AutoFormat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/blanklines.md b/docs/recipes/java/format/blanklines.md index 026b63f33a..3299d8a4f4 100644 --- a/docs/recipes/java/format/blanklines.md +++ b/docs/recipes/java/format/blanklines.md @@ -13,7 +13,12 @@ _Add and/or remove blank lines._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/BlankLines.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/BlankLines.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/emptynewlineatendoffile.md b/docs/recipes/java/format/emptynewlineatendoffile.md index be6dd21a73..073de24a4b 100644 --- a/docs/recipes/java/format/emptynewlineatendoffile.md +++ b/docs/recipes/java/format/emptynewlineatendoffile.md @@ -17,7 +17,12 @@ _Some tools work better when files end with an empty line._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/EmptyNewlineAtEndOfFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/EmptyNewlineAtEndOfFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/methodparampad.md b/docs/recipes/java/format/methodparampad.md index f75f04a77b..de38c63165 100644 --- a/docs/recipes/java/format/methodparampad.md +++ b/docs/recipes/java/format/methodparampad.md @@ -13,7 +13,12 @@ _Fixes whitespace padding between the identifier of a method definition or metho ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/MethodParamPad.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/MethodParamPad.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/normalizeformat.md b/docs/recipes/java/format/normalizeformat.md index f8078fe150..862270104b 100644 --- a/docs/recipes/java/format/normalizeformat.md +++ b/docs/recipes/java/format/normalizeformat.md @@ -13,7 +13,12 @@ _Move whitespace to the outermost LST element possible._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/NormalizeFormat.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/NormalizeFormat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/normalizelinebreaks.md b/docs/recipes/java/format/normalizelinebreaks.md index 120f498705..d65cbe6022 100644 --- a/docs/recipes/java/format/normalizelinebreaks.md +++ b/docs/recipes/java/format/normalizelinebreaks.md @@ -13,7 +13,12 @@ _Consistently use either Windows style (CRLF) or Linux style (LF) line breaks. I ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/NormalizeLineBreaks.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/NormalizeLineBreaks.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/normalizetabsorspaces.md b/docs/recipes/java/format/normalizetabsorspaces.md index 4ded3891f2..71a72a0e3c 100644 --- a/docs/recipes/java/format/normalizetabsorspaces.md +++ b/docs/recipes/java/format/normalizetabsorspaces.md @@ -13,7 +13,12 @@ _Consistently use either tabs or spaces in indentation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/NormalizeTabsOrSpaces.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/NormalizeTabsOrSpaces.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/nowhitespaceafter.md b/docs/recipes/java/format/nowhitespaceafter.md index 5b9f67d114..fc06eabba2 100644 --- a/docs/recipes/java/format/nowhitespaceafter.md +++ b/docs/recipes/java/format/nowhitespaceafter.md @@ -13,7 +13,12 @@ _Removes unnecessary whitespace appearing after a token. A linebreak after a tok ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/NoWhitespaceAfter.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/NoWhitespaceAfter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/nowhitespacebefore.md b/docs/recipes/java/format/nowhitespacebefore.md index ee57a4a08f..606c6b870f 100644 --- a/docs/recipes/java/format/nowhitespacebefore.md +++ b/docs/recipes/java/format/nowhitespacebefore.md @@ -13,7 +13,12 @@ _Removes unnecessary whitespace preceding a token. A linebreak before a token wi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/NoWhitespaceBefore.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/NoWhitespaceBefore.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/pademptyforloopcomponents.md b/docs/recipes/java/format/pademptyforloopcomponents.md index e6d586a8c8..c52fabcf57 100644 --- a/docs/recipes/java/format/pademptyforloopcomponents.md +++ b/docs/recipes/java/format/pademptyforloopcomponents.md @@ -13,7 +13,12 @@ _Fixes padding on empty `for` loop iterators and initializers to match Checkstyl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/PadEmptyForLoopComponents.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/PadEmptyForLoopComponents.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/removetrailingwhitespace.md b/docs/recipes/java/format/removetrailingwhitespace.md index cbd9c14c79..68cef09048 100644 --- a/docs/recipes/java/format/removetrailingwhitespace.md +++ b/docs/recipes/java/format/removetrailingwhitespace.md @@ -13,7 +13,12 @@ _Remove any extra trailing whitespace from the end of each line._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/RemoveTrailingWhitespace.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/RemoveTrailingWhitespace.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/singlelinecomments.md b/docs/recipes/java/format/singlelinecomments.md index ca1d1ffe14..364b8d94df 100644 --- a/docs/recipes/java/format/singlelinecomments.md +++ b/docs/recipes/java/format/singlelinecomments.md @@ -13,7 +13,12 @@ _Write `// hi` instead of `//hi`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/SingleLineComments.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/SingleLineComments.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/spaces.md b/docs/recipes/java/format/spaces.md index b11f8cd721..259b5075d1 100644 --- a/docs/recipes/java/format/spaces.md +++ b/docs/recipes/java/format/spaces.md @@ -13,7 +13,12 @@ _Format whitespace in Java code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/Spaces.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/Spaces.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/tabsandindents.md b/docs/recipes/java/format/tabsandindents.md index 08ee916ea7..8541d195c3 100644 --- a/docs/recipes/java/format/tabsandindents.md +++ b/docs/recipes/java/format/tabsandindents.md @@ -13,7 +13,12 @@ _Format tabs and indents in Java code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/TabsAndIndents.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/TabsAndIndents.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/typecastparenpad.md b/docs/recipes/java/format/typecastparenpad.md index e215075c72..522cb9dd70 100644 --- a/docs/recipes/java/format/typecastparenpad.md +++ b/docs/recipes/java/format/typecastparenpad.md @@ -13,7 +13,12 @@ _Fixes whitespace padding between a typecast type identifier and the enclosing l ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/TypecastParenPad.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/TypecastParenPad.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/format/wrappingandbraces.md b/docs/recipes/java/format/wrappingandbraces.md index 4c776d2f47..07dca3a0cc 100644 --- a/docs/recipes/java/format/wrappingandbraces.md +++ b/docs/recipes/java/format/wrappingandbraces.md @@ -20,7 +20,12 @@ _Format line wraps and braces in Java code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/WrappingAndBraces.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/format/WrappingAndBraces.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/jackson/codehaus/codehausdependencytofasterxml.md b/docs/recipes/java/jackson/codehaus/codehausdependencytofasterxml.md index 2ac99aced7..106c8b3ca0 100644 --- a/docs/recipes/java/jackson/codehaus/codehausdependencytofasterxml.md +++ b/docs/recipes/java/jackson/codehaus/codehausdependencytofasterxml.md @@ -13,21 +13,22 @@ _Replace Codehaus Jackson dependencies with FasterXML Jackson dependencies, and ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/java/org/openrewrite/java/jackson/codehaus/CodehausDependencyToFasterXML.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | version | *Optional*. The version of Codehaus Jackson to replace. | `2.x` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/jackson/codehaus/jsonincludeannotation.md b/docs/recipes/java/jackson/codehaus/jsonincludeannotation.md index 837151951a..d20820f8fb 100644 --- a/docs/recipes/java/jackson/codehaus/jsonincludeannotation.md +++ b/docs/recipes/java/jackson/codehaus/jsonincludeannotation.md @@ -13,12 +13,16 @@ _Move Codehaus' `@JsonSerialize.include` argument to FasterXMLs `@JsonInclude` a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/java/org/openrewrite/java/jackson/codehaus/JsonIncludeAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/jackson/codehaus/removedoublyannotatedcodehausannotations.md b/docs/recipes/java/jackson/codehaus/removedoublyannotatedcodehausannotations.md index 96a9033fdc..58d491b1c3 100644 --- a/docs/recipes/java/jackson/codehaus/removedoublyannotatedcodehausannotations.md +++ b/docs/recipes/java/jackson/codehaus/removedoublyannotatedcodehausannotations.md @@ -13,12 +13,16 @@ _Remove Codehaus Jackson annotations if they are doubly annotated with Jackson a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/java/org/openrewrite/java/jackson/codehaus/RemoveDoublyAnnotatedCodehausAnnotations.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/jackson/codehaus/replaceserializationconfigannotationintrospector.md b/docs/recipes/java/jackson/codehaus/replaceserializationconfigannotationintrospector.md index 78496c6e1a..5aed89fded 100644 --- a/docs/recipes/java/jackson/codehaus/replaceserializationconfigannotationintrospector.md +++ b/docs/recipes/java/jackson/codehaus/replaceserializationconfigannotationintrospector.md @@ -13,12 +13,16 @@ _Migrate serialization annotation processor to use the codehaus config method._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/java/org/openrewrite/java/jackson/codehaus/ReplaceSerializationConfigAnnotationIntrospector.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/jackson/codehaus/transferjsonserializeargumentsfromcodehaustofasterxml.md b/docs/recipes/java/jackson/codehaus/transferjsonserializeargumentsfromcodehaustofasterxml.md index 730866bad5..e3f8301325 100644 --- a/docs/recipes/java/jackson/codehaus/transferjsonserializeargumentsfromcodehaustofasterxml.md +++ b/docs/recipes/java/jackson/codehaus/transferjsonserializeargumentsfromcodehaustofasterxml.md @@ -13,12 +13,16 @@ _Transfer @JsonSerialize annotation arguments (using, contentUsing, keyUsing, nu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/java/org/openrewrite/java/jackson/codehaus/TransferJsonSerializeArgumentsFromCodehausToFasterXML.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/jackson/codehausclassestofasterxml.md b/docs/recipes/java/jackson/codehausclassestofasterxml.md index ae698b230a..9fa5a65c9f 100644 --- a/docs/recipes/java/jackson/codehausclassestofasterxml.md +++ b/docs/recipes/java/jackson/codehausclassestofasterxml.md @@ -13,15 +13,16 @@ _In Jackson 2, the package and dependency coordinates moved from Codehaus to Fas ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/resources/META-INF/rewrite/codehaus-to-fasterxml.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/jackson/codehaustofasterxml.md b/docs/recipes/java/jackson/codehaustofasterxml.md index 0e1d20bbee..aec3baa8bb 100644 --- a/docs/recipes/java/jackson/codehaustofasterxml.md +++ b/docs/recipes/java/jackson/codehaustofasterxml.md @@ -13,15 +13,16 @@ _In Jackson 2, the package and dependency coordinates moved from Codehaus to Fas ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jackson/blob/main/src/main/resources/META-INF/rewrite/codehaus-to-fasterxml.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-jackson/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jackson/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jackson` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/jspecify/migratefromjakartaannotationapi.md b/docs/recipes/java/jspecify/migratefromjakartaannotationapi.md index aa18dd802b..651f88b2ce 100644 --- a/docs/recipes/java/jspecify/migratefromjakartaannotationapi.md +++ b/docs/recipes/java/jspecify/migratefromjakartaannotationapi.md @@ -13,11 +13,16 @@ _Migrate from Jakarta annotation API to JSpecify._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/jspecify/migratefromjavaxannotationapi.md b/docs/recipes/java/jspecify/migratefromjavaxannotationapi.md index b2ec817279..a2bd10e2c1 100644 --- a/docs/recipes/java/jspecify/migratefromjavaxannotationapi.md +++ b/docs/recipes/java/jspecify/migratefromjavaxannotationapi.md @@ -13,11 +13,16 @@ _Migrate from javax annotation API to JSpecify._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/jspecify/migratefromjetbrainsannotations.md b/docs/recipes/java/jspecify/migratefromjetbrainsannotations.md index 188ca9ddab..5fede53b19 100644 --- a/docs/recipes/java/jspecify/migratefromjetbrainsannotations.md +++ b/docs/recipes/java/jspecify/migratefromjetbrainsannotations.md @@ -13,11 +13,16 @@ _Migrate from JetBrains annotations to JSpecify._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/jspecify/migratefromopenrewriteannotations.md b/docs/recipes/java/jspecify/migratefromopenrewriteannotations.md index f44063c04e..8d208c51fb 100644 --- a/docs/recipes/java/jspecify/migratefromopenrewriteannotations.md +++ b/docs/recipes/java/jspecify/migratefromopenrewriteannotations.md @@ -13,11 +13,16 @@ _Migrate from OpenRewrite's JSR-305 meta-annotations to JSpecify._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/resources/META-INF/rewrite/jspecify.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/resources/META-INF/rewrite/jspecify.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition diff --git a/docs/recipes/java/jspecify/migratefromspringframeworkannotations.md b/docs/recipes/java/jspecify/migratefromspringframeworkannotations.md index c6077875f6..063bdc66cc 100644 --- a/docs/recipes/java/jspecify/migratefromspringframeworkannotations.md +++ b/docs/recipes/java/jspecify/migratefromspringframeworkannotations.md @@ -13,11 +13,16 @@ _Migrate from Spring Framework annotations to JSpecify._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/jspecify/migratetojspecify.md b/docs/recipes/java/jspecify/migratetojspecify.md index 1beec070d7..0043495208 100644 --- a/docs/recipes/java/jspecify/migratetojspecify.md +++ b/docs/recipes/java/jspecify/migratetojspecify.md @@ -17,11 +17,16 @@ _This recipe will migrate to JSpecify annotations from various other nullability ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jspecify.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/liberty/migratefromwebspheretoliberty.md b/docs/recipes/java/liberty/migratefromwebspheretoliberty.md index d3ba1b898d..9884c9e60d 100644 --- a/docs/recipes/java/liberty/migratefromwebspheretoliberty.md +++ b/docs/recipes/java/liberty/migratefromwebspheretoliberty.md @@ -13,11 +13,16 @@ _Use this category of rules to identify code changes needed when migrating from ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) - +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/liberty/removewas2libertynonportablejndilookup.md b/docs/recipes/java/liberty/removewas2libertynonportablejndilookup.md index fd6ae6383c..a393658170 100644 --- a/docs/recipes/java/liberty/removewas2libertynonportablejndilookup.md +++ b/docs/recipes/java/liberty/removewas2libertynonportablejndilookup.md @@ -13,12 +13,17 @@ _Remove the use of invalid JNDI properties from Hashtable._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/java/org/openrewrite/java/liberty/RemoveWas2LibertyNonPortableJndiLookup.java), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/java/org/openrewrite/java/liberty/RemoveWas2LibertyNonPortableJndiLookup.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/liberty/servername.md b/docs/recipes/java/liberty/servername.md index a72c67dc96..31baea99fc 100644 --- a/docs/recipes/java/liberty/servername.md +++ b/docs/recipes/java/liberty/servername.md @@ -13,12 +13,17 @@ _`ServerName.getDisplayName()` is not available in Liberty._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/java/org/openrewrite/java/liberty/ServerName.java), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/java/org/openrewrite/java/liberty/ServerName.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/liberty/websphereunavailablessocookiemethod.md b/docs/recipes/java/liberty/websphereunavailablessocookiemethod.md index 8a130f6bfe..8c1d53f017 100644 --- a/docs/recipes/java/liberty/websphereunavailablessocookiemethod.md +++ b/docs/recipes/java/liberty/websphereunavailablessocookiemethod.md @@ -13,12 +13,17 @@ _Replace `WSSecurityHelper.revokeSSOCookies(request, response)` with `request.lo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/java/org/openrewrite/java/liberty/WebSphereUnavailableSSOCookieMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/java/org/openrewrite/java/liberty/WebSphereUnavailableSSOCookieMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/liberty/websphereunavailablessomethods.md b/docs/recipes/java/liberty/websphereunavailablessomethods.md index 5b933268f6..e0d51d8dfd 100644 --- a/docs/recipes/java/liberty/websphereunavailablessomethods.md +++ b/docs/recipes/java/liberty/websphereunavailablessomethods.md @@ -13,11 +13,16 @@ _This recipe replaces `LTPACookieFromSSOToken()` with `getSSOCookieFromSSOToken ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) - +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/changelomboklogannotation.md b/docs/recipes/java/logging/changelomboklogannotation.md index 3f02e376db..96da05cb86 100644 --- a/docs/recipes/java/logging/changelomboklogannotation.md +++ b/docs/recipes/java/logging/changelomboklogannotation.md @@ -13,8 +13,9 @@ _Replace Lombok annotations such as `@CommonsLog` and `@Log4j` with the target l ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/ChangeLombokLogAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/ChangeLombokLogAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: @@ -24,6 +25,10 @@ This recipe is composed of more than one recipe. If you want to customize the se | -- | -- | -- | -- | | `String` | loggingFramework | *Optional*. The logging framework to use. Valid options: `SLF4J`, `Log4J1`, `Log4J2`, `JUL`, `COMMONS` | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -113,7 +118,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigsuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigsuppliertomethodrecipe.md index a1790c0a49..bbf3559b67 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigsuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigsuppliertomethodrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.CONFIG, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigtomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigtomethodrecipe.md index a73cb19271..3ddad582d6 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigtomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelconfigtomethodrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.CONFIG, String)` with `Log ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinersuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinersuppliertomethodrecipe.md index ec646d5942..77c1b70c4b 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinersuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinersuppliertomethodrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.FINER, Supplier)` w ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinertomethodrecipe.md index c9ee303517..8cc2ac9a42 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinertomethodrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.FINER, String)` with `Logg ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinestsuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinestsuppliertomethodrecipe.md index 87badf084b..5c8c27b24c 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinestsuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinestsuppliertomethodrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.FINEST, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesttomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesttomethodrecipe.md index b941859801..911eef0449 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesttomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesttomethodrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.FINEST, String)` with `Log ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesuppliertomethodrecipe.md index cf9734c313..c5cad43cbd 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinesuppliertomethodrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.FINE, Supplier)` wi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinetomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinetomethodrecipe.md index b7d8cfcaaf..7ca002f882 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinetomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelfinetomethodrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.FINE, String)` with `Logge ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfosuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfosuppliertomethodrecipe.md index a9f5540861..1b63a1b8ab 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfosuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfosuppliertomethodrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.INFO, Supplier)` wi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfotomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfotomethodrecipe.md index c33cfc81f9..58e9488573 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfotomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelinfotomethodrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.INFO, String)` with `Logge ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveresuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveresuppliertomethodrecipe.md index fd12f27528..62331af359 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveresuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveresuppliertomethodrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.SEVERE, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveretomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveretomethodrecipe.md index 5ffbbb338b..d9dc2c10ad 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveretomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelseveretomethodrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.SEVERE, String)` with `Log ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningsuppliertomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningsuppliertomethodrecipe.md index ad607f8ec9..92dd5a945b 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningsuppliertomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningsuppliertomethodrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.WARNING, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningtomethodrecipe.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningtomethodrecipe.md index fb2a23f635..b682b85158 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningtomethodrecipe.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes$loglevelwarningtomethodrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.WARNING, String)` with `Lo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes.md b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes.md index 5dca0f0f32..db41671ae0 100644 --- a/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes.md +++ b/docs/recipes/java/logging/jul/loggerlevelargumenttomethodrecipes.md @@ -13,11 +13,16 @@ _Replace calls to `Logger.log(Level, String)` with the corresponding method call ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/jul/LoggerLevelArgumentToMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/commonsloggingtolog4j.md b/docs/recipes/java/logging/log4j/commonsloggingtolog4j.md index aa69f9532d..27110abf02 100644 --- a/docs/recipes/java/logging/log4j/commonsloggingtolog4j.md +++ b/docs/recipes/java/logging/log4j/commonsloggingtolog4j.md @@ -19,11 +19,16 @@ _Transforms code written using Apache Commons Logging to use Log4j 2.x API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/convertjulentering.md b/docs/recipes/java/logging/log4j/convertjulentering.md index c52c0e2327..0b75044f62 100644 --- a/docs/recipes/java/logging/log4j/convertjulentering.md +++ b/docs/recipes/java/logging/log4j/convertjulentering.md @@ -13,12 +13,17 @@ _Replaces JUL's Logger#entering method calls to Log4j API Logger#traceEntry call ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/log4j/ConvertJulEntering.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/log4j/ConvertJulEntering.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/convertjulexiting.md b/docs/recipes/java/logging/log4j/convertjulexiting.md index af2bb1b690..136c1e0bb5 100644 --- a/docs/recipes/java/logging/log4j/convertjulexiting.md +++ b/docs/recipes/java/logging/log4j/convertjulexiting.md @@ -13,12 +13,17 @@ _Replaces JUL's Logger#exiting method calls to Log4j API Logger#traceEntry calls ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/log4j/ConvertJulExiting.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/log4j/ConvertJulExiting.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/jultolog4j.md b/docs/recipes/java/logging/log4j/jultolog4j.md index 00aa98952e..1d33c3e397 100644 --- a/docs/recipes/java/logging/log4j/jultolog4j.md +++ b/docs/recipes/java/logging/log4j/jultolog4j.md @@ -19,11 +19,16 @@ _Transforms code written using `java.util.logging` to use Log4j 2.x API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -110,7 +115,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/log4j1tolog4j2.md b/docs/recipes/java/logging/log4j/log4j1tolog4j2.md index c6bdf997ba..11c1def873 100644 --- a/docs/recipes/java/logging/log4j/log4j1tolog4j2.md +++ b/docs/recipes/java/logging/log4j/log4j1tolog4j2.md @@ -18,11 +18,16 @@ _Migrates Log4j 1.x to Log4j 2.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -192,7 +197,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/loggersetleveltoconfiguratorrecipe.md b/docs/recipes/java/logging/log4j/loggersetleveltoconfiguratorrecipe.md index 5eccb3e3e1..a2a0c5fe1a 100644 --- a/docs/recipes/java/logging/log4j/loggersetleveltoconfiguratorrecipe.md +++ b/docs/recipes/java/logging/log4j/loggersetleveltoconfiguratorrecipe.md @@ -13,12 +13,17 @@ _Converts `org.apache.log4j.Logger.setLevel` to `org.apache.logging.log4j.core.c ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/log4j/LoggerSetLevelToConfigurator.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/log4j/LoggerSetLevelToConfigurator.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/loggingexceptionconcatenationrecipe.md b/docs/recipes/java/logging/log4j/loggingexceptionconcatenationrecipe.md index fb05cf7d39..4dc63ea0bd 100644 --- a/docs/recipes/java/logging/log4j/loggingexceptionconcatenationrecipe.md +++ b/docs/recipes/java/logging/log4j/loggingexceptionconcatenationrecipe.md @@ -13,12 +13,17 @@ _By using the exception as another parameter you get the whole stack trace._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/log4j/LoggingExceptionConcatenation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/log4j/LoggingExceptionConcatenation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/parameterizedlogging.md b/docs/recipes/java/logging/log4j/parameterizedlogging.md index 271964708c..7f18ef8e91 100644 --- a/docs/recipes/java/logging/log4j/parameterizedlogging.md +++ b/docs/recipes/java/logging/log4j/parameterizedlogging.md @@ -18,11 +18,16 @@ _Use Log4j 2.x parameterized logging, which can significantly boost performance ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -106,7 +111,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/prependrandomname.md b/docs/recipes/java/logging/log4j/prependrandomname.md index c1a47f2f99..19fe0066ec 100644 --- a/docs/recipes/java/logging/log4j/prependrandomname.md +++ b/docs/recipes/java/logging/log4j/prependrandomname.md @@ -13,12 +13,17 @@ _To make finding the callsite of a logging statement easier in code search._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/log4j/PrependRandomName.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/log4j/PrependRandomName.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/slf4jtolog4j.md b/docs/recipes/java/logging/log4j/slf4jtolog4j.md index 559145e359..2b97e7f909 100644 --- a/docs/recipes/java/logging/log4j/slf4jtolog4j.md +++ b/docs/recipes/java/logging/log4j/slf4jtolog4j.md @@ -19,11 +19,16 @@ _Transforms code written using SLF4J to use Log4j 2.x API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -172,7 +177,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/log4j/upgradelog4j2dependencyversion.md b/docs/recipes/java/logging/log4j/upgradelog4j2dependencyversion.md index cf95aace39..29450459fe 100644 --- a/docs/recipes/java/logging/log4j/upgradelog4j2dependencyversion.md +++ b/docs/recipes/java/logging/log4j/upgradelog4j2dependencyversion.md @@ -21,7 +21,12 @@ _Upgrades the Log4j 2.x dependencies to the latest 2.x version. Mitigates the [L ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/log4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -63,7 +68,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/logback/log4jappendertologback.md b/docs/recipes/java/logging/logback/log4jappendertologback.md index e31c3a9045..1204741530 100644 --- a/docs/recipes/java/logging/logback/log4jappendertologback.md +++ b/docs/recipes/java/logging/logback/log4jappendertologback.md @@ -13,12 +13,17 @@ _Migrates custom Log4j 2.x Appender components to `logback-classic`. This recipe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/logback/Log4jAppenderToLogback.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/logback/Log4jAppenderToLogback.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/logback/log4jlayouttologback.md b/docs/recipes/java/logging/logback/log4jlayouttologback.md index 178842c960..98c91acbd0 100644 --- a/docs/recipes/java/logging/logback/log4jlayouttologback.md +++ b/docs/recipes/java/logging/logback/log4jlayouttologback.md @@ -16,12 +16,17 @@ Migrates custom Log4j 2.x Layout components to `logback-classic`. This recipe op ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/logback/Log4jLayoutToLogback.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/logback/Log4jLayoutToLogback.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/logback/log4jtologback.md b/docs/recipes/java/logging/logback/log4jtologback.md index 46b6e1c00b..1bb4ff92d8 100644 --- a/docs/recipes/java/logging/logback/log4jtologback.md +++ b/docs/recipes/java/logging/logback/log4jtologback.md @@ -19,11 +19,16 @@ _Migrates usage of Apache Log4j 2.x to using `logback` as an SLF4J implementatio ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/logback.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/logback.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -94,7 +99,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/parameterizedlogging.md b/docs/recipes/java/logging/parameterizedlogging.md index 2a4944a309..541af2df4d 100644 --- a/docs/recipes/java/logging/parameterizedlogging.md +++ b/docs/recipes/java/logging/parameterizedlogging.md @@ -21,8 +21,9 @@ Transform logging statements using concatenation for messages and variables into ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/ParameterizedLogging.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/ParameterizedLogging.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) ## Options | Type | Name | Description | Example | @@ -30,10 +31,14 @@ Transform logging statements using concatenation for messages and variables into | `String` | methodPattern | A method used to find matching statements to parameterize. | `org.slf4j.Logger info(..)` | | `Boolean` | removeToString | *Optional*. Optionally remove `toString(`) method invocations from Object parameters. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ParameterizedLoggingExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ParameterizedLoggingExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -41,8 +46,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ParameterizedLoggingExample displayName: Parameterize logging statements example recipeList: - - org.openrewrite.java.logging.ParameterizedLogging: - methodPattern: org.slf4j.Logger info(..) + - org.openrewrite.java.logging.ParameterizedLogging: methodPattern: org.slf4j.Logger info(..) ``` Now that `com.yourorg.ParameterizedLoggingExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks:{{VERSION_REWRITE_LOGGING_FRAMEWORKS}}` in your build file: diff --git a/docs/recipes/java/logging/printstacktracetologerror.md b/docs/recipes/java/logging/printstacktracetologerror.md index f96a04d5c7..c9967bce25 100644 --- a/docs/recipes/java/logging/printstacktracetologerror.md +++ b/docs/recipes/java/logging/printstacktracetologerror.md @@ -13,8 +13,9 @@ _When a logger is present, log exceptions rather than calling `printStackTrace() ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/PrintStackTraceToLogError.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/PrintStackTraceToLogError.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _When a logger is present, log exceptions rather than calling `printStackTrace() | `String` | loggerName | *Optional*. The name of the logger to use when generating a field. | `log` | | `String` | loggingFramework | *Optional*. The logging framework to use. Valid options: `SLF4J`, `Log4J1`, `Log4J2`, `JUL`, `COMMONS` | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/changeloglevel.md b/docs/recipes/java/logging/slf4j/changeloglevel.md index 84e56e72ae..7f9d121e38 100644 --- a/docs/recipes/java/logging/slf4j/changeloglevel.md +++ b/docs/recipes/java/logging/slf4j/changeloglevel.md @@ -13,8 +13,9 @@ _Change the log level of SLF4J log statements._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/ChangeLogLevel.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/ChangeLogLevel.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Change the log level of SLF4J log statements._ | `Level` | to | The log level to change to. | `DEBUG` | | `String` | startsWith | *Optional*. Only change log statements that start with this string. When omitted all log statements of the specified level are changed. | `LaunchDarkly` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeLogLevelExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeLogLevelExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeLogLevelExample displayName: Change SLF4J log level example recipeList: - - org.openrewrite.java.logging.slf4j.ChangeLogLevel: - from: INFO + - org.openrewrite.java.logging.slf4j.ChangeLogLevel: from: INFO to: DEBUG startsWith: LaunchDarkly ``` diff --git a/docs/recipes/java/logging/slf4j/commonslogging1toslf4j1.md b/docs/recipes/java/logging/slf4j/commonslogging1toslf4j1.md index 495ff83433..db71a098a1 100644 --- a/docs/recipes/java/logging/slf4j/commonslogging1toslf4j1.md +++ b/docs/recipes/java/logging/slf4j/commonslogging1toslf4j1.md @@ -19,11 +19,16 @@ _Transforms usages of Apache Commons Logging 1.x to leveraging SLF4J 1.x directl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -90,7 +95,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/completeexceptionlogging.md b/docs/recipes/java/logging/slf4j/completeexceptionlogging.md index c793e136d3..b1eab6bb7d 100644 --- a/docs/recipes/java/logging/slf4j/completeexceptionlogging.md +++ b/docs/recipes/java/logging/slf4j/completeexceptionlogging.md @@ -18,12 +18,17 @@ _It is a common mistake to call `Exception.getMessage()` when passing an excepti ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/CompleteExceptionLogging.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/CompleteExceptionLogging.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclasscanonicalnametologgerfactoryrecipe.md b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclasscanonicalnametologgerfactoryrecipe.md index df324da909..abd56ba264 100644 --- a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclasscanonicalnametologgerfactoryrecipe.md +++ b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclasscanonicalnametologgerfactoryrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.getLogger(Some.class.getCanonicalNam ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulGetLoggerToLoggerFactory.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulGetLoggerToLoggerFactory.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclassnametologgerfactoryrecipe.md b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclassnametologgerfactoryrecipe.md index 07df60d312..036ac5a0bb 100644 --- a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclassnametologgerfactoryrecipe.md +++ b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes$getloggerclassnametologgerfactoryrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.getLogger(Some.class.getName())` wit ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulGetLoggerToLoggerFactory.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulGetLoggerToLoggerFactory.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes.md b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes.md index e16e56713f..c73b9e2652 100644 --- a/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes.md +++ b/docs/recipes/java/logging/slf4j/julgetloggertologgerfactoryrecipes.md @@ -13,11 +13,16 @@ _Replace calls to `Logger.getLogger` with `LoggerFactory.getLogger`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulGetLoggerToLoggerFactory.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulGetLoggerToLoggerFactory.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelallrecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelallrecipe.md index c282477f47..3c909b17e8 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelallrecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelallrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.isLoggable(Level.ALL)` with `org.slf ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelconfigrecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelconfigrecipe.md index 7693c54653..d7d061216f 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelconfigrecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelconfigrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.isLoggable(Level.CONFIG)` with `org. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerecipe.md index 374bc7e193..7d286065bf 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.isLoggable(Level.FINE)` with `org.sl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerrecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerrecipe.md index f6ff20d4b3..c36a37e955 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerrecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinerrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.isLoggable(Level.FINER)` with `org.s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinestrecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinestrecipe.md index eeb12c9679..7082acf343 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinestrecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelfinestrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.isLoggable(Level.FINEST)` with `org. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelinforecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelinforecipe.md index ad10753831..e1440bb311 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelinforecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelinforecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.isLoggable(Level.INFO)` with `org.sl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelsevererecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelsevererecipe.md index 6105f9eb24..b6a27f8c98 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelsevererecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelsevererecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.isLoggable(Level.SEVERE)` with `org. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelwarningrecipe.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelwarningrecipe.md index db23820e22..d8898ccdf0 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelwarningrecipe.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes$loggerisloggablelevelwarningrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.isLoggable(Level.WARNING)` with `org ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes.md b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes.md index 395cdce500..be3491adb9 100644 --- a/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes.md +++ b/docs/recipes/java/logging/slf4j/julisloggabletoisenabledrecipes.md @@ -13,11 +13,16 @@ _Replace calls to `Logger.isLoggable(Level)` with the corresponding SLF4J method ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulIsLoggableToIsEnabled.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jullevelalltotracerecipe.md b/docs/recipes/java/logging/slf4j/jullevelalltotracerecipe.md index 8879707f5e..11919f3774 100644 --- a/docs/recipes/java/logging/slf4j/jullevelalltotracerecipe.md +++ b/docs/recipes/java/logging/slf4j/jullevelalltotracerecipe.md @@ -13,12 +13,17 @@ _Replace `java.util.logging.Logger#log(Level.ALL, String)` with `org.slf4j.Logge ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulLevelAllToTrace.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulLevelAllToTrace.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/julparameterizedarguments.md b/docs/recipes/java/logging/slf4j/julparameterizedarguments.md index fed3faf353..d6846749a4 100644 --- a/docs/recipes/java/logging/slf4j/julparameterizedarguments.md +++ b/docs/recipes/java/logging/slf4j/julparameterizedarguments.md @@ -13,12 +13,17 @@ _Replace calls to parameterized `Logger.log(Level,String,…)` call with the cor ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulParameterizedArguments.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulParameterizedArguments.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4j.md b/docs/recipes/java/logging/slf4j/jultoslf4j.md index 316fa57c5f..e6d1e69af4 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4j.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4j.md @@ -19,11 +19,16 @@ _Migrates usage of Java Util Logging (JUL) to using SLF4J directly._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierconfigrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierconfigrecipe.md index 1cd8b07a35..91f1130280 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierconfigrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierconfigrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.config(Supplier)` with `org.s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerecipe.md index 93f1e82ac3..91ca3cdd02 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.fine(Supplier)` with `org.slf ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerrecipe.md index 3d2c19cde7..650eb48503 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinerrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.finer(Supplier)` with `org.sl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinestrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinestrecipe.md index 2649f15222..0198a4e660 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinestrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierfinestrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.finest(Supplier)` with `org.s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierinforecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierinforecipe.md index f7d2fc5c7d..556ea224ab 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierinforecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierinforecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.info(Supplier)` with `org.slf ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogallrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogallrecipe.md index eb9bdf6f17..1a8d04a549 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogallrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogallrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.ALL, Supplier)` wit ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogconfigrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogconfigrecipe.md index 67ee16cf53..a61f6628ab 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogconfigrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogconfigrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.CONFIG, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerecipe.md index ea9bcd1ee5..e43a7d7bc1 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.FINE, Supplier)` wi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerrecipe.md index 3807cbed70..b0bb5c2b79 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinerrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.FINER, Supplier)` w ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinestrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinestrecipe.md index 2410688a5c..437e6548bc 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinestrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogfinestrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.FINEST, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierloginforecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierloginforecipe.md index 5303386f54..d06a6e4145 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierloginforecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierloginforecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.INFO, Supplier)` wi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogsevererecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogsevererecipe.md index 656cd86f2e..9fb8967ed3 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogsevererecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogsevererecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.SEVERE, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogwarningrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogwarningrecipe.md index 54540067a9..18328cfac2 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogwarningrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierlogwarningrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.WARNING, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsuppliersevererecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsuppliersevererecipe.md index 38739cbe28..43496be742 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsuppliersevererecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsuppliersevererecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.severe(Supplier)` with `org.s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierwarningrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierwarningrecipe.md index c2a8851ad7..636bd62fac 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierwarningrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes$jultoslf4jsupplierwarningrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.warning(Supplier)` with `org. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes.md index 5931c719d6..c2bd98f0bf 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierrecipes.md @@ -13,11 +13,16 @@ _Replace calls to `Logger.isLoggable(Level)` with the corresponding SLF4J method ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierallrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierallrecipe.md index 6e3f4427d1..d52a3ae814 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierallrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierallrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.ALL, e, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md index af315290a7..99006b6067 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.CONFIG, e, Supplier ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerecipe.md index 1225bdb1bd..eba8d0023e 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.FINE, e, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md index 6165dea558..cf8f6b5e25 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.FINER, e, Supplier) ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md index cf87c75300..d2d50d044e 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.FINEST, e, Supplier ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierinforecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierinforecipe.md index bf6694e269..96d9fad0c1 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierinforecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierinforecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.INFO, e, Supplier)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsuppliersevererecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsuppliersevererecipe.md index 9918c83fc4..1f6b26c570 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsuppliersevererecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsuppliersevererecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.SEVERE, e, Supplier ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md index f4f36e1039..5df26cb235 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md @@ -16,12 +16,17 @@ Replace calls to `java.util.logging.Logger.log(Level.WARNING, e, Supplier diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes.md b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes.md index 0649746c04..44735cb329 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jlambdasupplierwiththrowablerecipes.md @@ -16,11 +16,16 @@ Replace calls to `Logger.log(Level, Throwable, Supplier)` with the corre ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jLambdaSupplierWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -61,7 +66,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierallrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierallrecipe.md index 77f4ce19ca..5f41f10723 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierallrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierallrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.ALL, String message, Throw ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md index d67fe1400f..c04207f47f 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierconfigrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.CONFIG, String message, Th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerecipe.md index 73050d6eeb..c849d0a08d 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.FINE, String message, Thro ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md index 7a88684ce4..bdf1363779 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinerrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.FINER, String message, Thr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md index 3a40b3b3af..6217b8383c 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierfinestrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.FINEST, String message, Th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierinforecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierinforecipe.md index 5643cc451c..cbd5ea0811 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierinforecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierinforecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.INFO, String message, Thro ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsuppliersevererecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsuppliersevererecipe.md index 6450758466..b935e4edee 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsuppliersevererecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsuppliersevererecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.SEVERE, String message, Th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md index 8541ee975c..89717fcbfa 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes$jultoslf4jsupplierwarningrecipe.md @@ -13,12 +13,17 @@ _Replace calls to `java.util.logging.Logger.log(Level.WARNING, String message, T ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes.md b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes.md index 2a30f6f737..b4b8ab8a8f 100644 --- a/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes.md +++ b/docs/recipes/java/logging/slf4j/jultoslf4jsimplecallswiththrowablerecipes.md @@ -13,11 +13,16 @@ _Replace calls to `Logger.log(Level, String, Throwable)` with the corresponding ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/JulToSlf4jSimpleCallsWithThrowable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/log4j1toslf4j1.md b/docs/recipes/java/logging/slf4j/log4j1toslf4j1.md index 03d02cfb02..aec3d12a1c 100644 --- a/docs/recipes/java/logging/slf4j/log4j1toslf4j1.md +++ b/docs/recipes/java/logging/slf4j/log4j1toslf4j1.md @@ -19,11 +19,16 @@ _Transforms usages of Log4j 1.x to leveraging SLF4J 1.x directly. Note, this cur ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/log4j2toslf4j1.md b/docs/recipes/java/logging/slf4j/log4j2toslf4j1.md index eda926f1ff..6b04d07143 100644 --- a/docs/recipes/java/logging/slf4j/log4j2toslf4j1.md +++ b/docs/recipes/java/logging/slf4j/log4j2toslf4j1.md @@ -19,11 +19,16 @@ _Transforms usages of Log4j 2.x to leveraging SLF4J 1.x directly. Note, this cur ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/log4jtoslf4j.md b/docs/recipes/java/logging/slf4j/log4jtoslf4j.md index b465c3ad09..b88d2631f7 100644 --- a/docs/recipes/java/logging/slf4j/log4jtoslf4j.md +++ b/docs/recipes/java/logging/slf4j/log4jtoslf4j.md @@ -19,11 +19,16 @@ _Migrates usage of Apache Log4j to using SLF4J directly. Use of the traditional ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -126,7 +131,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/loggersnamedforenclosingclass.md b/docs/recipes/java/logging/slf4j/loggersnamedforenclosingclass.md index 5ef485e578..e5bf7acf9a 100644 --- a/docs/recipes/java/logging/slf4j/loggersnamedforenclosingclass.md +++ b/docs/recipes/java/logging/slf4j/loggersnamedforenclosingclass.md @@ -19,12 +19,17 @@ _Ensure `LoggerFactory#getLogger(Class)` is called with the enclosing class as a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/LoggersNamedForEnclosingClass.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/LoggersNamedForEnclosingClass.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/parameterizedlogging.md b/docs/recipes/java/logging/slf4j/parameterizedlogging.md index 1c8fd34f9a..1aa0517284 100644 --- a/docs/recipes/java/logging/slf4j/parameterizedlogging.md +++ b/docs/recipes/java/logging/slf4j/parameterizedlogging.md @@ -19,11 +19,16 @@ _Use SLF4J's parameterized logging, which can significantly boost performance fo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/slf4jbestpractices.md b/docs/recipes/java/logging/slf4j/slf4jbestpractices.md index 931f80ee8e..0f86f435f6 100644 --- a/docs/recipes/java/logging/slf4j/slf4jbestpractices.md +++ b/docs/recipes/java/logging/slf4j/slf4jbestpractices.md @@ -18,11 +18,16 @@ _Applies best practices to logging with SLF4J._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/resources/META-INF/rewrite/slf4j.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/slf4j/slf4jlogshouldbeconstant.md b/docs/recipes/java/logging/slf4j/slf4jlogshouldbeconstant.md index 89ffbcf29c..fa78e5ffee 100644 --- a/docs/recipes/java/logging/slf4j/slf4jlogshouldbeconstant.md +++ b/docs/recipes/java/logging/slf4j/slf4jlogshouldbeconstant.md @@ -18,12 +18,17 @@ _Logging statements shouldn't begin with `String#format`, calls to `toString()`, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/Slf4jLogShouldBeConstant.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/slf4j/Slf4jLogShouldBeConstant.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/systemerrtologging.md b/docs/recipes/java/logging/systemerrtologging.md index e1131273b1..58a0553070 100644 --- a/docs/recipes/java/logging/systemerrtologging.md +++ b/docs/recipes/java/logging/systemerrtologging.md @@ -13,8 +13,9 @@ _Replace `System.err` print statements with a logger._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/SystemErrToLogging.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/SystemErrToLogging.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Replace `System.err` print statements with a logger._ | `String` | loggerName | *Optional*. The name of the logger to use when generating a field. | `log` | | `String` | loggingFramework | *Optional*. The logging framework to use. Valid options: `SLF4J`, `Log4J1`, `Log4J2`, `JUL`, `COMMONS` | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/systemouttologging.md b/docs/recipes/java/logging/systemouttologging.md index e3bd6357a1..4cad4c0fcf 100644 --- a/docs/recipes/java/logging/systemouttologging.md +++ b/docs/recipes/java/logging/systemouttologging.md @@ -13,8 +13,9 @@ _Replace `System.out` print statements with a logger._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/SystemOutToLogging.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/SystemOutToLogging.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Replace `System.out` print statements with a logger._ | `String` | loggingFramework | *Optional*. The logging framework to use. Valid options: `SLF4J`, `Log4J1`, `Log4J2`, `JUL`, `COMMONS` | | | `String` | level | *Optional*. The logging level to turn `System.out` print statements into. Valid options: `trace`, `debug`, `info` | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/logging/systemprinttologging.md b/docs/recipes/java/logging/systemprinttologging.md index 36e8bc37d8..4f4ca9abc3 100644 --- a/docs/recipes/java/logging/systemprinttologging.md +++ b/docs/recipes/java/logging/systemprinttologging.md @@ -13,8 +13,9 @@ _Replace `System.out` and `System.err` print statements with a logger._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/SystemPrintToLogging.java), [Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-logging-frameworks/blob/main/src/main/java/org/openrewrite/java/logging/SystemPrintToLogging.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-logging-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-logging-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: @@ -27,6 +28,10 @@ This recipe is composed of more than one recipe. If you want to customize the se | `String` | loggingFramework | *Optional*. The logging framework to use. Valid options: `SLF4J`, `Log4J1`, `Log4J2`, `JUL`, `COMMONS` | | | `String` | level | *Optional*. The logging level to turn `System.out` print statements into. Valid options: `trace`, `debug`, `info` | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -61,7 +66,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-logging-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/addannotationprocessorpath.md b/docs/recipes/java/micronaut/addannotationprocessorpath.md index bcdb73d8ae..77992a3bcd 100644 --- a/docs/recipes/java/micronaut/addannotationprocessorpath.md +++ b/docs/recipes/java/micronaut/addannotationprocessorpath.md @@ -13,8 +13,9 @@ _Add the groupId, artifactId, version, and exclusions of a Maven annotation proc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/AddAnnotationProcessorPath.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/AddAnnotationProcessorPath.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Add the groupId, artifactId, version, and exclusions of a Maven annotation proc | `String` | onlyIfUsing | Used to determine if the annotation processor will be added. | `jakarta.validation.constraints.*` | | `List` | exclusions | *Optional*. A list of exclusions to apply to the annotation processor path in the format groupId:artifactId | `io.micronaut:micronaut-inject` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddAnnotationProcessorPathExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddAnnotationProcessorPathExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddAnnotationProcessorPathExample displayName: Add Maven annotation processor path example recipeList: - - org.openrewrite.java.micronaut.AddAnnotationProcessorPath: - groupId: corp.internal.openrewrite.recipe + - org.openrewrite.java.micronaut.AddAnnotationProcessorPath: groupId: corp.internal.openrewrite.recipe artifactId: my-new-annotation-processor version: ${micronaut.validation} onlyIfUsing: jakarta.validation.constraints.* diff --git a/docs/recipes/java/micronaut/addhttprequesttypeparameter.md b/docs/recipes/java/micronaut/addhttprequesttypeparameter.md index 61c8093e74..9d0c60f65d 100644 --- a/docs/recipes/java/micronaut/addhttprequesttypeparameter.md +++ b/docs/recipes/java/micronaut/addhttprequesttypeparameter.md @@ -13,12 +13,17 @@ _Add an `HttpRequest` type parameter to a class `implements` statement for inter ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/AddHttpRequestTypeParameter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/AddHttpRequestTypeParameter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/addmicronautretrydependencyifneeded.md b/docs/recipes/java/micronaut/addmicronautretrydependencyifneeded.md index f6da2f44f8..fb208ca5fc 100644 --- a/docs/recipes/java/micronaut/addmicronautretrydependencyifneeded.md +++ b/docs/recipes/java/micronaut/addmicronautretrydependencyifneeded.md @@ -13,7 +13,12 @@ _This recipe will add the explicit Micronaut Retry dependency if needed_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/addmicronautwebsocketdependencyifneeded.md b/docs/recipes/java/micronaut/addmicronautwebsocketdependencyifneeded.md index f6a6d77df9..cac2f74188 100644 --- a/docs/recipes/java/micronaut/addmicronautwebsocketdependencyifneeded.md +++ b/docs/recipes/java/micronaut/addmicronautwebsocketdependencyifneeded.md @@ -13,7 +13,12 @@ _This recipe will add the explicit Micronaut Websocket dependency if needed_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/addsnakeyamldependencyifneeded.md b/docs/recipes/java/micronaut/addsnakeyamldependencyifneeded.md index a99a0bb876..d521482eb0 100644 --- a/docs/recipes/java/micronaut/addsnakeyamldependencyifneeded.md +++ b/docs/recipes/java/micronaut/addsnakeyamldependencyifneeded.md @@ -13,12 +13,17 @@ _This recipe will add the `snakeyaml` dependency to a Micronaut 4 application th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/AddSnakeYamlDependencyIfNeeded.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/AddSnakeYamlDependencyIfNeeded.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/addtestresourcesclientdependencyifneeded.md b/docs/recipes/java/micronaut/addtestresourcesclientdependencyifneeded.md index e96add7999..483ba2122d 100644 --- a/docs/recipes/java/micronaut/addtestresourcesclientdependencyifneeded.md +++ b/docs/recipes/java/micronaut/addtestresourcesclientdependencyifneeded.md @@ -13,12 +13,17 @@ _Add the `micronaut-test-resources-client` dependency to pom.xml if `test.resour ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/AddTestResourcesClientDependencyIfNeeded.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/AddTestResourcesClientDependencyIfNeeded.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/beanpropertycapitalizationstrategy.md b/docs/recipes/java/micronaut/beanpropertycapitalizationstrategy.md index 2b762fd8b6..18e785b9cd 100644 --- a/docs/recipes/java/micronaut/beanpropertycapitalizationstrategy.md +++ b/docs/recipes/java/micronaut/beanpropertycapitalizationstrategy.md @@ -13,12 +13,17 @@ _As of Micronaut 3.x property names for getters like `getXForwarded()` are de-ca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/BeanPropertyCapitalizationStrategy.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/BeanPropertyCapitalizationStrategy.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/changeannotationprocessorpath.md b/docs/recipes/java/micronaut/changeannotationprocessorpath.md index 022e72704d..bd451f9bd6 100644 --- a/docs/recipes/java/micronaut/changeannotationprocessorpath.md +++ b/docs/recipes/java/micronaut/changeannotationprocessorpath.md @@ -13,8 +13,9 @@ _Change the groupId, artifactId, and version of a Maven annotation processor pat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/ChangeAnnotationProcessorPath.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/ChangeAnnotationProcessorPath.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Change the groupId, artifactId, and version of a Maven annotation processor pat | `String` | newVersion | *Optional*. An version string for the annotation processor path. Version strings that start with 'micronaut.' will be treated specially. | `micronaut.validation` | | `List` | exclusions | *Optional*. A list of exclusions to apply to the annotation processor path in the format groupId:artifactId | `io.micronaut:micronaut-inject` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeAnnotationProcessorPathExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeAnnotationProcessorPathExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeAnnotationProcessorPathExample displayName: Change Maven annotation processor path example recipeList: - - org.openrewrite.java.micronaut.ChangeAnnotationProcessorPath: - oldGroupId: org.openrewrite.recipe + - org.openrewrite.java.micronaut.ChangeAnnotationProcessorPath: oldGroupId: org.openrewrite.recipe oldArtifactId: my-deprecated-annotation-processor newGroupId: corp.internal.openrewrite.recipe newArtifactId: my-new-annotation-processor diff --git a/docs/recipes/java/micronaut/copynoninheritedannotations.md b/docs/recipes/java/micronaut/copynoninheritedannotations.md index 32ba200b2f..924d0efbf8 100644 --- a/docs/recipes/java/micronaut/copynoninheritedannotations.md +++ b/docs/recipes/java/micronaut/copynoninheritedannotations.md @@ -13,12 +13,17 @@ _As of Micronaut 3.x only [annotations](https://github.com/micronaut-projects/mi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/CopyNonInheritedAnnotations.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/CopyNonInheritedAnnotations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/findpropertiesconfig.md b/docs/recipes/java/micronaut/findpropertiesconfig.md index d12c832ba1..4f01d58f21 100644 --- a/docs/recipes/java/micronaut/findpropertiesconfig.md +++ b/docs/recipes/java/micronaut/findpropertiesconfig.md @@ -13,12 +13,17 @@ _Find Micronaut properties configuration files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/FindPropertiesConfig.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/FindPropertiesConfig.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/findyamlconfig.md b/docs/recipes/java/micronaut/findyamlconfig.md index 418e1476db..24134c95ea 100644 --- a/docs/recipes/java/micronaut/findyamlconfig.md +++ b/docs/recipes/java/micronaut/findyamlconfig.md @@ -13,12 +13,17 @@ _Find Micronaut yaml configuration files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/FindYamlConfig.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/FindYamlConfig.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/fixdeprecatedexceptionhandlerconstructors.md b/docs/recipes/java/micronaut/fixdeprecatedexceptionhandlerconstructors.md index 65569850be..5f41e5e3db 100644 --- a/docs/recipes/java/micronaut/fixdeprecatedexceptionhandlerconstructors.md +++ b/docs/recipes/java/micronaut/fixdeprecatedexceptionhandlerconstructors.md @@ -13,12 +13,17 @@ _Adds `ErrorResponseProcessor` argument to deprecated no-arg `ExceptionHandler` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/FixDeprecatedExceptionHandlerConstructors.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/FixDeprecatedExceptionHandlerConstructors.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/micronaut2to3migration.md b/docs/recipes/java/micronaut/micronaut2to3migration.md index a55fe48631..4463dbc8c8 100644 --- a/docs/recipes/java/micronaut/micronaut2to3migration.md +++ b/docs/recipes/java/micronaut/micronaut2to3migration.md @@ -13,11 +13,16 @@ _This recipe will apply changes required for migrating from Micronaut 2 to Micro ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut2-to-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut2-to-3.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -274,7 +279,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/micronaut3to4migration.md b/docs/recipes/java/micronaut/micronaut3to4migration.md index d1ead21cc9..69bd5daf35 100644 --- a/docs/recipes/java/micronaut/micronaut3to4migration.md +++ b/docs/recipes/java/micronaut/micronaut3to4migration.md @@ -13,11 +13,16 @@ _This recipe will apply changes required for migrating from Micronaut 3 to Micro ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -88,7 +93,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/onceperrequesthttpserverfiltertohttpserverfilter.md b/docs/recipes/java/micronaut/onceperrequesthttpserverfiltertohttpserverfilter.md index ee7d42bd86..da36e0f82b 100644 --- a/docs/recipes/java/micronaut/onceperrequesthttpserverfiltertohttpserverfilter.md +++ b/docs/recipes/java/micronaut/onceperrequesthttpserverfiltertohttpserverfilter.md @@ -13,12 +13,17 @@ _Starting in Micronaut 3.0 all filters are executed once per request. Directly i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/OncePerRequestHttpServerFilterToHttpServerFilter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/OncePerRequestHttpServerFilterToHttpServerFilter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/providerimplementationstomicronautfactories.md b/docs/recipes/java/micronaut/providerimplementationstomicronautfactories.md index 1ab0febcac..c51f4c318e 100644 --- a/docs/recipes/java/micronaut/providerimplementationstomicronautfactories.md +++ b/docs/recipes/java/micronaut/providerimplementationstomicronautfactories.md @@ -13,12 +13,17 @@ _As of Micronaut 3.x the `@Factory` annotation is required for creating beans fr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/ProviderImplementationsToMicronautFactories.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/ProviderImplementationsToMicronautFactories.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/removeannotationprocessorpath.md b/docs/recipes/java/micronaut/removeannotationprocessorpath.md index b91e5dcf31..83c750da65 100644 --- a/docs/recipes/java/micronaut/removeannotationprocessorpath.md +++ b/docs/recipes/java/micronaut/removeannotationprocessorpath.md @@ -13,8 +13,9 @@ _Remove the Maven annotation processor path that matches the given groupId and a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/RemoveAnnotationProcessorPath.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/RemoveAnnotationProcessorPath.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Remove the Maven annotation processor path that matches the given groupId and a | `String` | groupId | The groupId to use. | `corp.internal.openrewrite.recipe` | | `String` | artifactId | The artifactId to use. | `my-new-annotation-processor` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveAnnotationProcessorPathExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveAnnotationProcessorPathExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveAnnotationProcessorPathExample displayName: Remove Maven annotation processor path example recipeList: - - org.openrewrite.java.micronaut.RemoveAnnotationProcessorPath: - groupId: corp.internal.openrewrite.recipe + - org.openrewrite.java.micronaut.RemoveAnnotationProcessorPath: groupId: corp.internal.openrewrite.recipe artifactId: my-new-annotation-processor ``` diff --git a/docs/recipes/java/micronaut/removeunnecessarydependencies.md b/docs/recipes/java/micronaut/removeunnecessarydependencies.md index a8d7e4e216..4e06a58470 100644 --- a/docs/recipes/java/micronaut/removeunnecessarydependencies.md +++ b/docs/recipes/java/micronaut/removeunnecessarydependencies.md @@ -13,7 +13,12 @@ _This recipe will remove dependencies that are no longer explicitly needed._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/removewithjansilogbackconfiguration.md b/docs/recipes/java/micronaut/removewithjansilogbackconfiguration.md index 3244ffe0ff..f981283ccb 100644 --- a/docs/recipes/java/micronaut/removewithjansilogbackconfiguration.md +++ b/docs/recipes/java/micronaut/removewithjansilogbackconfiguration.md @@ -13,7 +13,12 @@ _This recipe will remove the withJansi configuration tag from logback.xml._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/subclassesreturnedfromfactoriesnotinjectable.md b/docs/recipes/java/micronaut/subclassesreturnedfromfactoriesnotinjectable.md index 0efec7b049..de8522129e 100644 --- a/docs/recipes/java/micronaut/subclassesreturnedfromfactoriesnotinjectable.md +++ b/docs/recipes/java/micronaut/subclassesreturnedfromfactoriesnotinjectable.md @@ -13,12 +13,17 @@ _As of Micronaut 3.x It is no longer possible to inject the internal implementat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/SubclassesReturnedFromFactoriesNotInjectable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/SubclassesReturnedFromFactoriesNotInjectable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/typerequiresintrospection.md b/docs/recipes/java/micronaut/typerequiresintrospection.md index af3e208e52..ed1c3a4395 100644 --- a/docs/recipes/java/micronaut/typerequiresintrospection.md +++ b/docs/recipes/java/micronaut/typerequiresintrospection.md @@ -13,12 +13,17 @@ _In Micronaut 2.x a reflection-based strategy was used to retrieve that informat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/TypeRequiresIntrospection.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/TypeRequiresIntrospection.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updateblockingtaskexecutors.md b/docs/recipes/java/micronaut/updateblockingtaskexecutors.md index 471a2078d6..94c57a2ac3 100644 --- a/docs/recipes/java/micronaut/updateblockingtaskexecutors.md +++ b/docs/recipes/java/micronaut/updateblockingtaskexecutors.md @@ -13,7 +13,12 @@ _This recipe will any usage of TaskExecutors.IO to TaskExecutors.BLOCKING in ord ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatebuildplugins.md b/docs/recipes/java/micronaut/updatebuildplugins.md index 309d630320..731d34a5a3 100644 --- a/docs/recipes/java/micronaut/updatebuildplugins.md +++ b/docs/recipes/java/micronaut/updatebuildplugins.md @@ -13,11 +13,16 @@ _This recipe will update the shadow jar plugin to 8.x and the Micronaut build pl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -128,7 +133,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatebuildtomicronaut4version.md b/docs/recipes/java/micronaut/updatebuildtomicronaut4version.md index 073db596e9..f16c760560 100644 --- a/docs/recipes/java/micronaut/updatebuildtomicronaut4version.md +++ b/docs/recipes/java/micronaut/updatebuildtomicronaut4version.md @@ -13,11 +13,16 @@ _This recipe will update the Micronaut version to 4.x for a Gradle or Maven buil ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatejakartaannotations.md b/docs/recipes/java/micronaut/updatejakartaannotations.md index fe5bc79cc9..9f4c4d2452 100644 --- a/docs/recipes/java/micronaut/updatejakartaannotations.md +++ b/docs/recipes/java/micronaut/updatejakartaannotations.md @@ -13,11 +13,16 @@ _This recipe will remove jakarta annotations dependency as it is a transitive de ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatemavenannotationprocessors.md b/docs/recipes/java/micronaut/updatemavenannotationprocessors.md index a08e8be6f7..d4cd3930d2 100644 --- a/docs/recipes/java/micronaut/updatemavenannotationprocessors.md +++ b/docs/recipes/java/micronaut/updatemavenannotationprocessors.md @@ -13,11 +13,16 @@ _This recipe will update the version of Maven-configured annotation processors f ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -74,7 +79,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatemicronautdata.md b/docs/recipes/java/micronaut/updatemicronautdata.md index 82a23ee7fd..03e4ef6121 100644 --- a/docs/recipes/java/micronaut/updatemicronautdata.md +++ b/docs/recipes/java/micronaut/updatemicronautdata.md @@ -13,11 +13,16 @@ _This recipe will make the necessary updates for using Micronaut Data with Micro ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -86,7 +91,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatemicronautemail.md b/docs/recipes/java/micronaut/updatemicronautemail.md index 366225ef54..39d014f05a 100644 --- a/docs/recipes/java/micronaut/updatemicronautemail.md +++ b/docs/recipes/java/micronaut/updatemicronautemail.md @@ -13,11 +13,16 @@ _This recipe will migrate from javax.validation if needed, and update packages i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatemicronautplatformbom.md b/docs/recipes/java/micronaut/updatemicronautplatformbom.md index 14db1a5f79..40d5dc0acd 100644 --- a/docs/recipes/java/micronaut/updatemicronautplatformbom.md +++ b/docs/recipes/java/micronaut/updatemicronautplatformbom.md @@ -13,7 +13,12 @@ _This recipe will update a Gradle or Maven build to reference the Micronaut 4 pl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatemicronautsecurity.md b/docs/recipes/java/micronaut/updatemicronautsecurity.md index e949ddb8ff..a2b109e0f9 100644 --- a/docs/recipes/java/micronaut/updatemicronautsecurity.md +++ b/docs/recipes/java/micronaut/updatemicronautsecurity.md @@ -13,11 +13,16 @@ _This recipe will update imports for relocated classes and update configuration ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -244,7 +249,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatemicronautsession.md b/docs/recipes/java/micronaut/updatemicronautsession.md index dfdba97a78..57494389ab 100644 --- a/docs/recipes/java/micronaut/updatemicronautsession.md +++ b/docs/recipes/java/micronaut/updatemicronautsession.md @@ -13,11 +13,16 @@ _This recipe will update the Micronaut Session dependency if needed_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatemicronautvalidation.md b/docs/recipes/java/micronaut/updatemicronautvalidation.md index 83071842be..0d0d8002f5 100644 --- a/docs/recipes/java/micronaut/updatemicronautvalidation.md +++ b/docs/recipes/java/micronaut/updatemicronautvalidation.md @@ -13,11 +13,16 @@ _This recipe will add jakarta validation dependency if needed, migrate from java ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/resources/META-INF/rewrite/micronaut3-to-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -96,7 +101,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatesecuritypropertiesifneeded.md b/docs/recipes/java/micronaut/updatesecuritypropertiesifneeded.md index 9948e06a8b..06eeb54bfc 100644 --- a/docs/recipes/java/micronaut/updatesecuritypropertiesifneeded.md +++ b/docs/recipes/java/micronaut/updatesecuritypropertiesifneeded.md @@ -13,11 +13,16 @@ _This recipe will update relocated security config keys in Micronaut configurati ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/UpdateSecurityPropertiesIfNeeded.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/UpdateSecurityPropertiesIfNeeded.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -84,7 +89,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/updatesecurityyamlifneeded.md b/docs/recipes/java/micronaut/updatesecurityyamlifneeded.md index 0c8af80a9b..960eabbb38 100644 --- a/docs/recipes/java/micronaut/updatesecurityyamlifneeded.md +++ b/docs/recipes/java/micronaut/updatesecurityyamlifneeded.md @@ -13,11 +13,16 @@ _This recipe will update relocated security config keys in Micronaut configurati ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/UpdateSecurityYamlIfNeeded.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/UpdateSecurityYamlIfNeeded.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -116,7 +121,7 @@ bearer: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micronaut` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/micronaut/upgrademicronautgradlepropertiesversion.md b/docs/recipes/java/micronaut/upgrademicronautgradlepropertiesversion.md index 9b6057ad02..ac8ee68e8f 100644 --- a/docs/recipes/java/micronaut/upgrademicronautgradlepropertiesversion.md +++ b/docs/recipes/java/micronaut/upgrademicronautgradlepropertiesversion.md @@ -13,18 +13,23 @@ _Set the gradle.properties version number according to a node-style semver selec ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/UpgradeMicronautGradlePropertiesVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/UpgradeMicronautGradlePropertiesVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | newVersion | An exact version number, or node-style semver selector used to select the version number. | `4.x` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeMicronautGradlePropertiesVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeMicronautGradlePropertiesVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeMicronautGradlePropertiesVersionExample displayName: Upgrade gradle.properties Micronaut version example recipeList: - - org.openrewrite.java.micronaut.UpgradeMicronautGradlePropertiesVersion: - newVersion: 4.x + - org.openrewrite.java.micronaut.UpgradeMicronautGradlePropertiesVersion: newVersion: 4.x ``` Now that `com.yourorg.UpgradeMicronautGradlePropertiesVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-micronaut:{{VERSION_REWRITE_MICRONAUT}}` in your build file: diff --git a/docs/recipes/java/micronaut/upgrademicronautmavenpropertyversion.md b/docs/recipes/java/micronaut/upgrademicronautmavenpropertyversion.md index ccfcdee084..450e81fa4c 100644 --- a/docs/recipes/java/micronaut/upgrademicronautmavenpropertyversion.md +++ b/docs/recipes/java/micronaut/upgrademicronautmavenpropertyversion.md @@ -13,18 +13,23 @@ _Set the maven micronaut.version property according to a node-style semver selec ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/UpgradeMicronautMavenPropertyVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) - +[GitHub](https://github.com/openrewrite/rewrite-micronaut/blob/main/src/main/java/org/openrewrite/java/micronaut/UpgradeMicronautMavenPropertyVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micronaut/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micronaut/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | newVersion | An exact version number, or node-style semver selector used to select the version number. | `4.x` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeMicronautMavenPropertyVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeMicronautMavenPropertyVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeMicronautMavenPropertyVersionExample displayName: Upgrade `micronaut.version` Maven property example recipeList: - - org.openrewrite.java.micronaut.UpgradeMicronautMavenPropertyVersion: - newVersion: 4.x + - org.openrewrite.java.micronaut.UpgradeMicronautMavenPropertyVersion: newVersion: 4.x ``` Now that `com.yourorg.UpgradeMicronautMavenPropertyVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-micronaut:{{VERSION_REWRITE_MICRONAUT}}` in your build file: diff --git a/docs/recipes/java/migrate/addjdeprscanplugin.md b/docs/recipes/java/migrate/addjdeprscanplugin.md index e46702f73f..5866461b70 100644 --- a/docs/recipes/java/migrate/addjdeprscanplugin.md +++ b/docs/recipes/java/migrate/addjdeprscanplugin.md @@ -13,18 +13,23 @@ _Add the `JDeprScan` Maven plugin to scan class files for uses of deprecated API ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/AddJDeprScanPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/AddJDeprScanPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | release | *Optional*. Specifies the Java SE release that provides the set of deprecated APIs for scanning. | `11` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/addlombokmapstructbinding.md b/docs/recipes/java/migrate/addlombokmapstructbinding.md index 7fd5aca092..e61b53d4df 100644 --- a/docs/recipes/java/migrate/addlombokmapstructbinding.md +++ b/docs/recipes/java/migrate/addlombokmapstructbinding.md @@ -17,11 +17,16 @@ _Add the `lombok-mapstruct-binding` annotation processor as needed when both Map ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -78,7 +83,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/addmissingmethodimplementation.md b/docs/recipes/java/migrate/addmissingmethodimplementation.md index 947656c4ba..016c593b7d 100644 --- a/docs/recipes/java/migrate/addmissingmethodimplementation.md +++ b/docs/recipes/java/migrate/addmissingmethodimplementation.md @@ -13,8 +13,9 @@ _Check for missing methods required by interfaces and adds them._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/AddMissingMethodImplementation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/AddMissingMethodImplementation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Check for missing methods required by interfaces and adds them._ | `String` | methodPattern | A [method pattern](/reference/method-patterns) for matching required method definition. | `*..* hello(..)` | | `String` | methodTemplateString | Template of method to add | `public String hello() { return \"Hello from #{}!\"; }` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddMissingMethodImplementationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddMissingMethodImplementationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddMissingMethodImplementationExample displayName: Adds missing method implementations example recipeList: - - org.openrewrite.java.migrate.AddMissingMethodImplementation: - fullyQualifiedClassName: com.yourorg.FooBar + - org.openrewrite.java.migrate.AddMissingMethodImplementation: fullyQualifiedClassName: com.yourorg.FooBar methodPattern: '*..* hello(..)' methodTemplateString: public String hello() { return \"Hello from #{}!\"; } ``` diff --git a/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md b/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md index f8fdb99131..81d2a911e6 100644 --- a/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md +++ b/docs/recipes/java/migrate/addsuppressionforillegalreflectionwarningsplugin.md @@ -13,18 +13,23 @@ _Adds a maven jar plugin that's configured to suppress Illegal Reflection Warnin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/AddSuppressionForIllegalReflectionWarningsPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/AddSuppressionForIllegalReflectionWarningsPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | version | *Optional*. An exact version number, or node-style semver selector used to select the version number. | `29.X` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/arraystoreexceptiontotypenotpresentexception.md b/docs/recipes/java/migrate/arraystoreexceptiontotypenotpresentexception.md index f0c171da61..183254c7ba 100644 --- a/docs/recipes/java/migrate/arraystoreexceptiontotypenotpresentexception.md +++ b/docs/recipes/java/migrate/arraystoreexceptiontotypenotpresentexception.md @@ -13,12 +13,17 @@ _Replace catch blocks for `ArrayStoreException` around `Class.getAnnotation()` w ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ArrayStoreExceptionToTypeNotPresentException.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ArrayStoreExceptionToTypeNotPresentException.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/beandiscovery.md b/docs/recipes/java/migrate/beandiscovery.md index 7a055573f8..8d2514ee0d 100644 --- a/docs/recipes/java/migrate/beandiscovery.md +++ b/docs/recipes/java/migrate/beandiscovery.md @@ -13,12 +13,17 @@ _Alters beans with missing version attribute to include this attribute as well a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/BeanDiscovery.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/BeanDiscovery.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/beansxmlnamespace.md b/docs/recipes/java/migrate/beansxmlnamespace.md index 2b1669293c..4541935f7f 100644 --- a/docs/recipes/java/migrate/beansxmlnamespace.md +++ b/docs/recipes/java/migrate/beansxmlnamespace.md @@ -13,12 +13,17 @@ _Set the `schemaLocation` that corresponds to the `xmlns` set in `beans.xml` fil ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/BeansXmlNamespace.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/BeansXmlNamespace.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/castarraysaslisttolist.md b/docs/recipes/java/migrate/castarraysaslisttolist.md index 01fa5c850a..540ff8c7b6 100644 --- a/docs/recipes/java/migrate/castarraysaslisttolist.md +++ b/docs/recipes/java/migrate/castarraysaslisttolist.md @@ -13,12 +13,17 @@ _Convert code like `(Integer[]) Arrays.asList(1, 2, 3).toArray()` to `Arrays.asL ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/CastArraysAsListToList.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/CastArraysAsListToList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/changemethodinvocationreturntype.md b/docs/recipes/java/migrate/changemethodinvocationreturntype.md index 691ec6d4c0..bb76c170d5 100644 --- a/docs/recipes/java/migrate/changemethodinvocationreturntype.md +++ b/docs/recipes/java/migrate/changemethodinvocationreturntype.md @@ -13,8 +13,9 @@ _Changes the return type of a method invocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Changes the return type of a method invocation._ | `String` | methodPattern | A [method pattern](/reference/method-patterns) that is used to find matching method declarations/invocations. | `org.mockito.Matchers anyVararg()` | | `String` | newReturnType | The fully qualified new return type of method invocation. | `long` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodInvocationReturnTypeExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodInvocationReturnTypeExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeMethodInvocationReturnTypeExample displayName: Change method invocation return type example recipeList: - - org.openrewrite.java.migrate.ChangeMethodInvocationReturnType: - methodPattern: org.mockito.Matchers anyVararg() + - org.openrewrite.java.migrate.ChangeMethodInvocationReturnType: methodPattern: org.mockito.Matchers anyVararg() newReturnType: long ``` diff --git a/docs/recipes/java/migrate/cobertura/removecoberturamavenplugin.md b/docs/recipes/java/migrate/cobertura/removecoberturamavenplugin.md index 4dd44f4fe2..d6972843e0 100644 --- a/docs/recipes/java/migrate/cobertura/removecoberturamavenplugin.md +++ b/docs/recipes/java/migrate/cobertura/removecoberturamavenplugin.md @@ -18,7 +18,12 @@ _This recipe will remove Cobertura, as it is not compatible with Java 11._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/remove-cobertura-maven-plugin.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/remove-cobertura-maven-plugin.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/concurrent/javaconcurrentapis.md b/docs/recipes/java/migrate/concurrent/javaconcurrentapis.md index 8ecbcfb657..9078568a85 100644 --- a/docs/recipes/java/migrate/concurrent/javaconcurrentapis.md +++ b/docs/recipes/java/migrate/concurrent/javaconcurrentapis.md @@ -13,11 +13,16 @@ _The Java concurrent APIs were updated in Java 9 and those changes resulted in c ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/concurrent/migrateatomicbooleanweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomicbooleanweakcompareandsettoweakcompareandsetplain.md index bd08ff277f..0eb7343b0f 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomicbooleanweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomicbooleanweakcompareandsettoweakcompareandsetplain.md @@ -13,7 +13,12 @@ _Use `AtomicBoolean#weakCompareAndSetPlain(boolean, boolean)` instead of the dep ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/concurrent/migrateatomicintegerarrayweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomicintegerarrayweakcompareandsettoweakcompareandsetplain.md index 8dd4869ca8..91f123e7c3 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomicintegerarrayweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomicintegerarrayweakcompareandsettoweakcompareandsetplain.md @@ -13,7 +13,12 @@ _Use `AtomicIntegerArray#weakCompareAndSetPlain(int, int, int)` instead of the d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/concurrent/migrateatomicintegerweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomicintegerweakcompareandsettoweakcompareandsetplain.md index 1bc603c31f..f0daa2c1b9 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomicintegerweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomicintegerweakcompareandsettoweakcompareandsetplain.md @@ -13,7 +13,12 @@ _Use `AtomicInteger#weakCompareAndSetPlain(int, int)` instead of the deprecated ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/concurrent/migrateatomiclongarrayweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomiclongarrayweakcompareandsettoweakcompareandsetplain.md index cd3d6f7da7..35ffdbca9d 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomiclongarrayweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomiclongarrayweakcompareandsettoweakcompareandsetplain.md @@ -13,7 +13,12 @@ _Use `AtomicLongArray#weakCompareAndSetPlain(int, long, long)` instead of the de ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/concurrent/migrateatomiclongweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomiclongweakcompareandsettoweakcompareandsetplain.md index e28442c524..374bcbd760 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomiclongweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomiclongweakcompareandsettoweakcompareandsetplain.md @@ -13,7 +13,12 @@ _Use `AtomicLong#weakCompareAndSetPlain(long, long)` instead of the deprecated ` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/concurrent/migrateatomicreferencearrayweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomicreferencearrayweakcompareandsettoweakcompareandsetplain.md index 65f047bfef..e5d2910e52 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomicreferencearrayweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomicreferencearrayweakcompareandsettoweakcompareandsetplain.md @@ -13,7 +13,12 @@ _Use `AtomicReferenceArray#weakCompareAndSetPlain(int, T, T)` instead of the dep ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/concurrent/migrateatomicreferenceweakcompareandsettoweakcompareandsetplain.md b/docs/recipes/java/migrate/concurrent/migrateatomicreferenceweakcompareandsettoweakcompareandsetplain.md index e31d027a80..12a1d9efae 100644 --- a/docs/recipes/java/migrate/concurrent/migrateatomicreferenceweakcompareandsettoweakcompareandsetplain.md +++ b/docs/recipes/java/migrate/concurrent/migrateatomicreferenceweakcompareandsettoweakcompareandsetplain.md @@ -13,7 +13,12 @@ _Use `AtomicReference#weakCompareAndSetPlain(T, T)` instead of the deprecated `A ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/deletedeprecatedfinalize.md b/docs/recipes/java/migrate/deletedeprecatedfinalize.md index 04f1a8403d..721fcdd33f 100644 --- a/docs/recipes/java/migrate/deletedeprecatedfinalize.md +++ b/docs/recipes/java/migrate/deletedeprecatedfinalize.md @@ -17,11 +17,16 @@ _The java.desktop module had a few implementations of finalize() that did nothin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/deprecatedcountstackframesmethod.md b/docs/recipes/java/migrate/deprecatedcountstackframesmethod.md index dff39852a5..4cdadc1763 100644 --- a/docs/recipes/java/migrate/deprecatedcountstackframesmethod.md +++ b/docs/recipes/java/migrate/deprecatedcountstackframesmethod.md @@ -17,7 +17,12 @@ _`Thread.countStackFrames()` has been removed in Java SE 14 and has been changed ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/deprecatedjavaxsecuritycert.md b/docs/recipes/java/migrate/deprecatedjavaxsecuritycert.md index cfe412081d..8284ba84a7 100644 --- a/docs/recipes/java/migrate/deprecatedjavaxsecuritycert.md +++ b/docs/recipes/java/migrate/deprecatedjavaxsecuritycert.md @@ -17,7 +17,12 @@ _The `javax.security.cert` package has been deprecated for removal._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/deprecatedlogrecordthreadid.md b/docs/recipes/java/migrate/deprecatedlogrecordthreadid.md index e8b1ef043f..2b94ea100e 100644 --- a/docs/recipes/java/migrate/deprecatedlogrecordthreadid.md +++ b/docs/recipes/java/migrate/deprecatedlogrecordthreadid.md @@ -17,11 +17,16 @@ _Avoid using the deprecated methods in `java.util.logging.LogRecord`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/dontoverfetchdto.md b/docs/recipes/java/migrate/dontoverfetchdto.md index f348a4dfe1..e30a35cc6f 100644 --- a/docs/recipes/java/migrate/dontoverfetchdto.md +++ b/docs/recipes/java/migrate/dontoverfetchdto.md @@ -13,8 +13,9 @@ _Replace method parameters that have DTOs with their data elements when only the ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/DontOverfetchDto.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/DontOverfetchDto.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Replace method parameters that have DTOs with their data elements when only the | `String` | dtoType | The fully qualified name of the DTO. | `animals.Dog` | | `String` | dtoDataElement | Replace the DTO as a method parameter when only this data element is used. | `name` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DontOverfetchDtoExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DontOverfetchDtoExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DontOverfetchDtoExample displayName: Replace DTO method parameters with data elements example recipeList: - - org.openrewrite.java.migrate.DontOverfetchDto: - dtoType: animals.Dog + - org.openrewrite.java.migrate.DontOverfetchDto: dtoType: animals.Dog dtoDataElement: name ``` diff --git a/docs/recipes/java/migrate/guava/noguava.md b/docs/recipes/java/migrate/guava/noguava.md index 151e09d845..1a64436caa 100644 --- a/docs/recipes/java/migrate/guava/noguava.md +++ b/docs/recipes/java/migrate/guava/noguava.md @@ -17,11 +17,16 @@ _Guava filled in important gaps in the Java standard library and still does. But ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -120,7 +125,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavaatomicsnewreference.md b/docs/recipes/java/migrate/guava/noguavaatomicsnewreference.md index 7877794c4b..42c28f3813 100644 --- a/docs/recipes/java/migrate/guava/noguavaatomicsnewreference.md +++ b/docs/recipes/java/migrate/guava/noguavaatomicsnewreference.md @@ -17,12 +17,17 @@ _Prefer the Java standard library over third-party usage of Guava in simple case ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaAtomicsNewReference.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaAtomicsNewReference.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavacreatetempdir.md b/docs/recipes/java/migrate/guava/noguavacreatetempdir.md index badcafb49a..512d211b34 100644 --- a/docs/recipes/java/migrate/guava/noguavacreatetempdir.md +++ b/docs/recipes/java/migrate/guava/noguavacreatetempdir.md @@ -18,12 +18,17 @@ _Replaces Guava `Files#createTempDir()` with Java `Files#createTempDirectory(..) ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaCreateTempDir.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaCreateTempDir.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavadirectexecutor.md b/docs/recipes/java/migrate/guava/noguavadirectexecutor.md index 746c1e18b3..14b6340035 100644 --- a/docs/recipes/java/migrate/guava/noguavadirectexecutor.md +++ b/docs/recipes/java/migrate/guava/noguavadirectexecutor.md @@ -17,12 +17,17 @@ _`Executor` is a SAM-compatible interface, so `Runnable::run` is just as succinc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaDirectExecutor.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaDirectExecutor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavaimmutablelistof.md b/docs/recipes/java/migrate/guava/noguavaimmutablelistof.md index 34aef1deec..f824abb581 100644 --- a/docs/recipes/java/migrate/guava/noguavaimmutablelistof.md +++ b/docs/recipes/java/migrate/guava/noguavaimmutablelistof.md @@ -13,12 +13,17 @@ _Replaces `.common.collect.ImmutableList.of(..)` if the returned type is immedia ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableListOf.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableListOf.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavaimmutablemapof.md b/docs/recipes/java/migrate/guava/noguavaimmutablemapof.md index d1eb815e46..0621a35541 100644 --- a/docs/recipes/java/migrate/guava/noguavaimmutablemapof.md +++ b/docs/recipes/java/migrate/guava/noguavaimmutablemapof.md @@ -13,12 +13,17 @@ _Replaces `.common.collect.ImmutableMap.of(..)` if the returned type is immediat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableMapOf.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableMapOf.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavaimmutablesetof.md b/docs/recipes/java/migrate/guava/noguavaimmutablesetof.md index cb407ee7c6..d0b756e0b1 100644 --- a/docs/recipes/java/migrate/guava/noguavaimmutablesetof.md +++ b/docs/recipes/java/migrate/guava/noguavaimmutablesetof.md @@ -13,12 +13,17 @@ _Replaces `.common.collect.ImmutableSet.of(..)` if the returned type is immediat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableSetOf.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableSetOf.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavajava11.md b/docs/recipes/java/migrate/guava/noguavajava11.md index fccba69f46..73bdeab6c8 100644 --- a/docs/recipes/java/migrate/guava/noguavajava11.md +++ b/docs/recipes/java/migrate/guava/noguavajava11.md @@ -18,11 +18,16 @@ _Guava filled in important gaps in the Java standard library and still does. But ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavajava21.md b/docs/recipes/java/migrate/guava/noguavajava21.md index a8991618cf..2cb87d0f5e 100644 --- a/docs/recipes/java/migrate/guava/noguavajava21.md +++ b/docs/recipes/java/migrate/guava/noguavajava21.md @@ -18,11 +18,16 @@ _Guava filled in important gaps in the Java standard library and still does. But ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavalistsnewarraylist.md b/docs/recipes/java/migrate/guava/noguavalistsnewarraylist.md index f97dffb11f..f5bbfcf4d7 100644 --- a/docs/recipes/java/migrate/guava/noguavalistsnewarraylist.md +++ b/docs/recipes/java/migrate/guava/noguavalistsnewarraylist.md @@ -17,12 +17,17 @@ _Prefer the Java standard library over third-party usage of Guava in simple case ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewArrayList.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewArrayList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavalistsnewcopyonwritearraylist.md b/docs/recipes/java/migrate/guava/noguavalistsnewcopyonwritearraylist.md index 1ab861399d..78cbd8f48a 100644 --- a/docs/recipes/java/migrate/guava/noguavalistsnewcopyonwritearraylist.md +++ b/docs/recipes/java/migrate/guava/noguavalistsnewcopyonwritearraylist.md @@ -17,12 +17,17 @@ _Prefer the Java standard library over third-party usage of Guava in simple case ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewCopyOnWriteArrayList.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewCopyOnWriteArrayList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavalistsnewlinkedlist.md b/docs/recipes/java/migrate/guava/noguavalistsnewlinkedlist.md index 6ecf9c31ce..29e8ad55f7 100644 --- a/docs/recipes/java/migrate/guava/noguavalistsnewlinkedlist.md +++ b/docs/recipes/java/migrate/guava/noguavalistsnewlinkedlist.md @@ -17,12 +17,17 @@ _Prefer the Java standard library over third-party usage of Guava in simple case ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewLinkedList.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewLinkedList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavamapsnewhashmap.md b/docs/recipes/java/migrate/guava/noguavamapsnewhashmap.md index 4ff46b65d7..557947477e 100644 --- a/docs/recipes/java/migrate/guava/noguavamapsnewhashmap.md +++ b/docs/recipes/java/migrate/guava/noguavamapsnewhashmap.md @@ -17,12 +17,17 @@ _Prefer the Java standard library over third-party usage of Guava in simple case ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewHashMap.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewHashMap.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavamapsnewlinkedhashmap.md b/docs/recipes/java/migrate/guava/noguavamapsnewlinkedhashmap.md index a55e769fc2..9e9b06b953 100644 --- a/docs/recipes/java/migrate/guava/noguavamapsnewlinkedhashmap.md +++ b/docs/recipes/java/migrate/guava/noguavamapsnewlinkedhashmap.md @@ -17,12 +17,17 @@ _Prefer the Java standard library over third-party usage of Guava in simple case ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewLinkedHashMap.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewLinkedHashMap.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavamapsnewtreemap.md b/docs/recipes/java/migrate/guava/noguavamapsnewtreemap.md index 4f09d419b9..a2d6a9e2a8 100644 --- a/docs/recipes/java/migrate/guava/noguavamapsnewtreemap.md +++ b/docs/recipes/java/migrate/guava/noguavamapsnewtreemap.md @@ -17,12 +17,17 @@ _Prefer the Java standard library over third-party usage of Guava in simple case ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewTreeMap.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewTreeMap.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavaoptionalfromjavautil.md b/docs/recipes/java/migrate/guava/noguavaoptionalfromjavautil.md index 69da8033d9..ade6f655b8 100644 --- a/docs/recipes/java/migrate/guava/noguavaoptionalfromjavautil.md +++ b/docs/recipes/java/migrate/guava/noguavaoptionalfromjavautil.md @@ -18,12 +18,17 @@ _Replaces `com.google.common.base.Optional#fromJavaUtil(java.util.Optional)` wit ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalFromJavaUtil.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalFromJavaUtil.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavaoptionaltojavautil.md b/docs/recipes/java/migrate/guava/noguavaoptionaltojavautil.md index e876b5d4d6..8a86d3634d 100644 --- a/docs/recipes/java/migrate/guava/noguavaoptionaltojavautil.md +++ b/docs/recipes/java/migrate/guava/noguavaoptionaltojavautil.md @@ -18,12 +18,17 @@ _Remove calls to `com.google.common.base.Optional#toJavaUtil()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalToJavaUtil.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalToJavaUtil.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavaprimitiveaslist.md b/docs/recipes/java/migrate/guava/noguavaprimitiveaslist.md index d2746d258c..e89c820c11 100644 --- a/docs/recipes/java/migrate/guava/noguavaprimitiveaslist.md +++ b/docs/recipes/java/migrate/guava/noguavaprimitiveaslist.md @@ -13,12 +13,17 @@ _Migrate from Guava `com.google.common.primitives.* asList(..)` to `Arrays.asLis ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaPrimitiveAsList.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaPrimitiveAsList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnulltoobjectsrequirenonnullrecipe.md b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnulltoobjectsrequirenonnullrecipe.md index 9c0a7c87e1..15564914fb 100644 --- a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnulltoobjectsrequirenonnullrecipe.md +++ b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnulltoobjectsrequirenonnullrecipe.md @@ -13,12 +13,17 @@ _Migrate from Guava `Preconditions.checkNotNull` to Java 8 `java.util.Objects.re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullmessagetypeobjectrecipe.md b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullmessagetypeobjectrecipe.md index 8d672d68c3..84efd93318 100644 --- a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullmessagetypeobjectrecipe.md +++ b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullmessagetypeobjectrecipe.md @@ -13,12 +13,17 @@ _Migrate from Guava `Preconditions.checkNotNull` to Java 8 `java.util.Objects.re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullrecipe.md b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullrecipe.md index b5da79181b..a0ddb0e035 100644 --- a/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullrecipe.md +++ b/docs/recipes/java/migrate/guava/noguavarefasterrecipes$preconditionschecknotnullwithmessagetoobjectsrequirenonnullrecipe.md @@ -13,12 +13,17 @@ _Migrate from Guava `Preconditions.checkNotNull` to Java 8 `java.util.Objects.re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavarefasterrecipes.md b/docs/recipes/java/migrate/guava/noguavarefasterrecipes.md index 2290975e61..6eda7cc555 100644 --- a/docs/recipes/java/migrate/guava/noguavarefasterrecipes.md +++ b/docs/recipes/java/migrate/guava/noguavarefasterrecipes.md @@ -13,11 +13,16 @@ _Recipes that migrate from Guava to Java, using Refaster style templates for cas ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavasetsnewconcurrenthashset.md b/docs/recipes/java/migrate/guava/noguavasetsnewconcurrenthashset.md index afb44cf9bd..99b487d59a 100644 --- a/docs/recipes/java/migrate/guava/noguavasetsnewconcurrenthashset.md +++ b/docs/recipes/java/migrate/guava/noguavasetsnewconcurrenthashset.md @@ -17,12 +17,17 @@ _Prefer the Java standard library over third-party usage of Guava in simple case ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewConcurrentHashSet.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewConcurrentHashSet.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavasetsnewhashset.md b/docs/recipes/java/migrate/guava/noguavasetsnewhashset.md index 2e97dbd706..7fa4b1372d 100644 --- a/docs/recipes/java/migrate/guava/noguavasetsnewhashset.md +++ b/docs/recipes/java/migrate/guava/noguavasetsnewhashset.md @@ -17,12 +17,17 @@ _Prefer the Java standard library over third-party usage of Guava in simple case ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewHashSet.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewHashSet.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/noguavasetsnewlinkedhashset.md b/docs/recipes/java/migrate/guava/noguavasetsnewlinkedhashset.md index b4ab08ac91..94c3afc7fe 100644 --- a/docs/recipes/java/migrate/guava/noguavasetsnewlinkedhashset.md +++ b/docs/recipes/java/migrate/guava/noguavasetsnewlinkedhashset.md @@ -17,12 +17,17 @@ _Prefer the Java standard library over third-party usage of Guava in simple case ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewLinkedHashSet.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewLinkedHashSet.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/prefercharcompare.md b/docs/recipes/java/migrate/guava/prefercharcompare.md index fd658ded3a..058537703c 100644 --- a/docs/recipes/java/migrate/guava/prefercharcompare.md +++ b/docs/recipes/java/migrate/guava/prefercharcompare.md @@ -17,7 +17,12 @@ _Prefer `java.lang.Char#compare` instead of using `com.google.common.primitives. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferintegercompare.md b/docs/recipes/java/migrate/guava/preferintegercompare.md index 8f60893a74..dafaa581c5 100644 --- a/docs/recipes/java/migrate/guava/preferintegercompare.md +++ b/docs/recipes/java/migrate/guava/preferintegercompare.md @@ -17,7 +17,12 @@ _Prefer `java.lang.Integer#compare` instead of using `com.google.common.primitiv ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferintegercompareunsigned.md b/docs/recipes/java/migrate/guava/preferintegercompareunsigned.md index fca8c53b59..3580f62f39 100644 --- a/docs/recipes/java/migrate/guava/preferintegercompareunsigned.md +++ b/docs/recipes/java/migrate/guava/preferintegercompareunsigned.md @@ -17,11 +17,16 @@ _Prefer `java.lang.Integer#compareUnsigned` instead of using `com.google.common. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferintegerdivideunsigned.md b/docs/recipes/java/migrate/guava/preferintegerdivideunsigned.md index c7e1e69c3b..4243279bef 100644 --- a/docs/recipes/java/migrate/guava/preferintegerdivideunsigned.md +++ b/docs/recipes/java/migrate/guava/preferintegerdivideunsigned.md @@ -17,11 +17,16 @@ _Prefer `java.lang.Integer#divideUnsigned` instead of using `com.google.common.p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferintegerparseunsignedint.md b/docs/recipes/java/migrate/guava/preferintegerparseunsignedint.md index 7145c0e387..6531424a26 100644 --- a/docs/recipes/java/migrate/guava/preferintegerparseunsignedint.md +++ b/docs/recipes/java/migrate/guava/preferintegerparseunsignedint.md @@ -17,7 +17,12 @@ _Prefer `java.lang.Integer#parseUnsignedInt` instead of using `com.google.common ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferintegerremainderunsigned.md b/docs/recipes/java/migrate/guava/preferintegerremainderunsigned.md index 05751f0af0..726bb028aa 100644 --- a/docs/recipes/java/migrate/guava/preferintegerremainderunsigned.md +++ b/docs/recipes/java/migrate/guava/preferintegerremainderunsigned.md @@ -17,7 +17,12 @@ _Prefer `java.lang.Integer#remainderUnsigned` instead of using `com.google.commo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavaniocharsetstandardcharsets.md b/docs/recipes/java/migrate/guava/preferjavaniocharsetstandardcharsets.md index 5c95473640..73e62219e9 100644 --- a/docs/recipes/java/migrate/guava/preferjavaniocharsetstandardcharsets.md +++ b/docs/recipes/java/migrate/guava/preferjavaniocharsetstandardcharsets.md @@ -17,7 +17,12 @@ _Prefer `java.nio.charset.StandardCharsets` instead of using `com.google.common. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavastringjoin.md b/docs/recipes/java/migrate/guava/preferjavastringjoin.md index 1069f7fbf8..1c026e0038 100644 --- a/docs/recipes/java/migrate/guava/preferjavastringjoin.md +++ b/docs/recipes/java/migrate/guava/preferjavastringjoin.md @@ -17,12 +17,17 @@ _Replaces supported calls to `com.google.common.base.Joiner#join()` with `java.l ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoin.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautilcollectionssynchronizednavigablemap.md b/docs/recipes/java/migrate/guava/preferjavautilcollectionssynchronizednavigablemap.md index c042770061..a4d691466c 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilcollectionssynchronizednavigablemap.md +++ b/docs/recipes/java/migrate/guava/preferjavautilcollectionssynchronizednavigablemap.md @@ -17,7 +17,12 @@ _Prefer `java.util.Collections#synchronizedNavigableMap` instead of using `com.g ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautilcollectionsunmodifiablenavigablemap.md b/docs/recipes/java/migrate/guava/preferjavautilcollectionsunmodifiablenavigablemap.md index 0d93ec6510..bad8eecd20 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilcollectionsunmodifiablenavigablemap.md +++ b/docs/recipes/java/migrate/guava/preferjavautilcollectionsunmodifiablenavigablemap.md @@ -17,7 +17,12 @@ _Prefer `java.util.Collections#unmodifiableNavigableMap` instead of using `com.g ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautilfunction.md b/docs/recipes/java/migrate/guava/preferjavautilfunction.md index 3cecd3083a..7d78b8c652 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilfunction.md +++ b/docs/recipes/java/migrate/guava/preferjavautilfunction.md @@ -18,7 +18,12 @@ _Prefer `java.util.function.Function` instead of using `com.google.common.base.F ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautilobjectsequals.md b/docs/recipes/java/migrate/guava/preferjavautilobjectsequals.md index f62c83327e..32a4791c1f 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilobjectsequals.md +++ b/docs/recipes/java/migrate/guava/preferjavautilobjectsequals.md @@ -17,11 +17,16 @@ _Prefer `java.util.Objects#equals` instead of using `com.google.common.base.Obje ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautilobjectshashcode.md b/docs/recipes/java/migrate/guava/preferjavautilobjectshashcode.md index fa4a3b801e..ba3ad30a60 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilobjectshashcode.md +++ b/docs/recipes/java/migrate/guava/preferjavautilobjectshashcode.md @@ -17,11 +17,16 @@ _Prefer `java.util.Objects#hash` instead of using `com.google.common.base.Object ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautilobjectsrequirenonnullelse.md b/docs/recipes/java/migrate/guava/preferjavautilobjectsrequirenonnullelse.md index c242f86c7c..f0fa819a27 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilobjectsrequirenonnullelse.md +++ b/docs/recipes/java/migrate/guava/preferjavautilobjectsrequirenonnullelse.md @@ -18,11 +18,16 @@ _Prefer `java.util.Objects#requireNonNullElse` instead of using `com.google.comm ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautiloptional.md b/docs/recipes/java/migrate/guava/preferjavautiloptional.md index 81fbd9726c..d14e29a028 100644 --- a/docs/recipes/java/migrate/guava/preferjavautiloptional.md +++ b/docs/recipes/java/migrate/guava/preferjavautiloptional.md @@ -18,11 +18,16 @@ _Prefer `java.util.Optional` instead of using `com.google.common.base.Optional`. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -94,7 +99,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautiloptionalorelsenull.md b/docs/recipes/java/migrate/guava/preferjavautiloptionalorelsenull.md index ac0af2d04c..6b24de2e37 100644 --- a/docs/recipes/java/migrate/guava/preferjavautiloptionalorelsenull.md +++ b/docs/recipes/java/migrate/guava/preferjavautiloptionalorelsenull.md @@ -18,12 +18,17 @@ _Replaces `com.google.common.base.Optional#orNull()` with `java.util.Optional#or ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrElseNull.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrElseNull.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautiloptionalorsupplier.md b/docs/recipes/java/migrate/guava/preferjavautiloptionalorsupplier.md index cbb5a18316..4ddbb393de 100644 --- a/docs/recipes/java/migrate/guava/preferjavautiloptionalorsupplier.md +++ b/docs/recipes/java/migrate/guava/preferjavautiloptionalorsupplier.md @@ -21,12 +21,17 @@ Prefer `java.util.Optional#or(Supplier>)` over ` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrSupplier.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrSupplier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautilpredicate.md b/docs/recipes/java/migrate/guava/preferjavautilpredicate.md index e85ca408c1..bce328f0fa 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilpredicate.md +++ b/docs/recipes/java/migrate/guava/preferjavautilpredicate.md @@ -18,11 +18,16 @@ _Prefer `java.util.function.Predicate` instead of using `com.google.common.base. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferjavautilsupplier.md b/docs/recipes/java/migrate/guava/preferjavautilsupplier.md index 6a74da2f7e..4953479c1d 100644 --- a/docs/recipes/java/migrate/guava/preferjavautilsupplier.md +++ b/docs/recipes/java/migrate/guava/preferjavautilsupplier.md @@ -18,7 +18,12 @@ _Prefer `java.util.function.Supplier` instead of using `com.google.common.base.S ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferlongcompare.md b/docs/recipes/java/migrate/guava/preferlongcompare.md index 137982a1fc..7414a75fd9 100644 --- a/docs/recipes/java/migrate/guava/preferlongcompare.md +++ b/docs/recipes/java/migrate/guava/preferlongcompare.md @@ -17,7 +17,12 @@ _Prefer `java.lang.Long#compare` instead of using `com.google.common.primitives. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferlongcompareunsigned.md b/docs/recipes/java/migrate/guava/preferlongcompareunsigned.md index f90731556c..994bbb8779 100644 --- a/docs/recipes/java/migrate/guava/preferlongcompareunsigned.md +++ b/docs/recipes/java/migrate/guava/preferlongcompareunsigned.md @@ -17,11 +17,16 @@ _Prefer `java.lang.Long#compareUnsigned` instead of using `com.google.common.pri ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferlongdivideunsigned.md b/docs/recipes/java/migrate/guava/preferlongdivideunsigned.md index 2e6c0442aa..dcd4d98113 100644 --- a/docs/recipes/java/migrate/guava/preferlongdivideunsigned.md +++ b/docs/recipes/java/migrate/guava/preferlongdivideunsigned.md @@ -17,11 +17,16 @@ _Prefer `java.lang.Long#divideUnsigned` instead of using `com.google.common.prim ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferlongparseunsignedlong.md b/docs/recipes/java/migrate/guava/preferlongparseunsignedlong.md index 701ada6282..42a5f04797 100644 --- a/docs/recipes/java/migrate/guava/preferlongparseunsignedlong.md +++ b/docs/recipes/java/migrate/guava/preferlongparseunsignedlong.md @@ -17,7 +17,12 @@ _Prefer `java.lang.Long#parseUnsignedInt` instead of using `com.google.common.pr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/preferlongremainderunsigned.md b/docs/recipes/java/migrate/guava/preferlongremainderunsigned.md index 7be36fe8f9..aede8dc41b 100644 --- a/docs/recipes/java/migrate/guava/preferlongremainderunsigned.md +++ b/docs/recipes/java/migrate/guava/preferlongremainderunsigned.md @@ -17,7 +17,12 @@ _Prefer `java.lang.Long#remainderUnsigned` instead of using `com.google.common.p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/prefermathaddexact.md b/docs/recipes/java/migrate/guava/prefermathaddexact.md index 3b1ad5b716..ac777c528d 100644 --- a/docs/recipes/java/migrate/guava/prefermathaddexact.md +++ b/docs/recipes/java/migrate/guava/prefermathaddexact.md @@ -17,11 +17,16 @@ _Prefer `java.lang.Math#addExact` instead of using `com.google.common.math.IntMa ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/prefermathclamp.md b/docs/recipes/java/migrate/guava/prefermathclamp.md index 038fb99a65..c6cd6f3e27 100644 --- a/docs/recipes/java/migrate/guava/prefermathclamp.md +++ b/docs/recipes/java/migrate/guava/prefermathclamp.md @@ -18,11 +18,16 @@ _Prefer `java.lang.Math#clamp` instead of using `com.google.common.primitives.*# ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -86,7 +91,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/prefermathmultiplyexact.md b/docs/recipes/java/migrate/guava/prefermathmultiplyexact.md index c4cee31723..15179fc7e9 100644 --- a/docs/recipes/java/migrate/guava/prefermathmultiplyexact.md +++ b/docs/recipes/java/migrate/guava/prefermathmultiplyexact.md @@ -17,11 +17,16 @@ _Prefer `java.lang.Math#multiplyExact` instead of using `com.google.common.primi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/prefermathsubtractexact.md b/docs/recipes/java/migrate/guava/prefermathsubtractexact.md index 6822240431..b15aa80cbe 100644 --- a/docs/recipes/java/migrate/guava/prefermathsubtractexact.md +++ b/docs/recipes/java/migrate/guava/prefermathsubtractexact.md @@ -17,11 +17,16 @@ _Prefer `java.lang.Math#subtractExact` instead of using `com.google.common.primi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/guava/prefershortcompare.md b/docs/recipes/java/migrate/guava/prefershortcompare.md index 986c93f3ab..bab2610b1a 100644 --- a/docs/recipes/java/migrate/guava/prefershortcompare.md +++ b/docs/recipes/java/migrate/guava/prefershortcompare.md @@ -17,7 +17,12 @@ _Prefer `java.lang.Short#compare` instead of using `com.google.common.primitives ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-guava.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/ibmjdktooraclejdk.md b/docs/recipes/java/migrate/ibmjdktooraclejdk.md index 91b91c278c..37b1b9f93e 100644 --- a/docs/recipes/java/migrate/ibmjdktooraclejdk.md +++ b/docs/recipes/java/migrate/ibmjdktooraclejdk.md @@ -17,7 +17,12 @@ _This recipe will apply changes commonly needed when upgrading Java versions. Th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/ibmsemeru.md b/docs/recipes/java/migrate/ibmsemeru.md index 1ac5088b17..5631426199 100644 --- a/docs/recipes/java/migrate/ibmsemeru.md +++ b/docs/recipes/java/migrate/ibmsemeru.md @@ -17,11 +17,16 @@ _This recipe will apply changes commonly needed when upgrading Java versions. Th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/illegalargumentexceptiontoalreadyconnectedexception.md b/docs/recipes/java/migrate/illegalargumentexceptiontoalreadyconnectedexception.md index cfa5409a22..16be4b6ac8 100644 --- a/docs/recipes/java/migrate/illegalargumentexceptiontoalreadyconnectedexception.md +++ b/docs/recipes/java/migrate/illegalargumentexceptiontoalreadyconnectedexception.md @@ -13,12 +13,17 @@ _Replace `IllegalArgumentException` with `AlreadyConnectedException` for Datagra ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/IllegalArgumentExceptionToAlreadyConnectedException.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/IllegalArgumentExceptionToAlreadyConnectedException.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/internalbindpackages.md b/docs/recipes/java/migrate/internalbindpackages.md index b82401eb40..f2315c3e84 100644 --- a/docs/recipes/java/migrate/internalbindpackages.md +++ b/docs/recipes/java/migrate/internalbindpackages.md @@ -17,7 +17,12 @@ _Do not use APIs from `com.sun.xml.internal.bind.*` packages._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/io/replacefileinoroutputstreamfinalizewithclose.md b/docs/recipes/java/migrate/io/replacefileinoroutputstreamfinalizewithclose.md index a25ed466b3..1974537ec1 100644 --- a/docs/recipes/java/migrate/io/replacefileinoroutputstreamfinalizewithclose.md +++ b/docs/recipes/java/migrate/io/replacefileinoroutputstreamfinalizewithclose.md @@ -17,12 +17,17 @@ _Replace invocations of the deprecated `finalize()` method on `FileInputStream` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/io/ReplaceFileInOrOutputStreamFinalizeWithClose.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/io/ReplaceFileInOrOutputStreamFinalizeWithClose.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jacoco/upgradejacoco.md b/docs/recipes/java/migrate/jacoco/upgradejacoco.md index 50f1b92435..2cff5dbb53 100644 --- a/docs/recipes/java/migrate/jacoco/upgradejacoco.md +++ b/docs/recipes/java/migrate/jacoco/upgradejacoco.md @@ -17,11 +17,16 @@ _This recipe will upgrade JaCoCo to the latest patch version, which traditionall ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jacoco.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jacoco.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/applicationpathwildcardnolongeraccepted.md b/docs/recipes/java/migrate/jakarta/applicationpathwildcardnolongeraccepted.md index 0fe0dda969..984b07eacb 100644 --- a/docs/recipes/java/migrate/jakarta/applicationpathwildcardnolongeraccepted.md +++ b/docs/recipes/java/migrate/jakarta/applicationpathwildcardnolongeraccepted.md @@ -13,12 +13,17 @@ _Remove trailing `/*` from `jakarta.ws.rs.ApplicationPath` values._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/ApplicationPathWildcardNoLongerAccepted.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/ApplicationPathWildcardNoLongerAccepted.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/beanvalidationmessages.md b/docs/recipes/java/migrate/jakarta/beanvalidationmessages.md index 786ab85d5e..04d62e4593 100644 --- a/docs/recipes/java/migrate/jakarta/beanvalidationmessages.md +++ b/docs/recipes/java/migrate/jakarta/beanvalidationmessages.md @@ -13,12 +13,17 @@ _Migrate `javax.validation.constraints` messages found in Java files to `jakarta ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/BeanValidationMessages.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/BeanValidationMessages.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/deprecatedcdiapisremoved40.md b/docs/recipes/java/migrate/jakarta/deprecatedcdiapisremoved40.md index 86ce4cd05d..3dc62065e9 100644 --- a/docs/recipes/java/migrate/jakarta/deprecatedcdiapisremoved40.md +++ b/docs/recipes/java/migrate/jakarta/deprecatedcdiapisremoved40.md @@ -13,11 +13,16 @@ _Deprecated APIs have been removed in CDI 4.0. This recipe removes and updates t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/ehcachejavaxtojakarta.md b/docs/recipes/java/migrate/jakarta/ehcachejavaxtojakarta.md index b618a0f984..a06c643aa5 100644 --- a/docs/recipes/java/migrate/jakarta/ehcachejavaxtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/ehcachejavaxtojakarta.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE. This recipe replaces existing Ehcach ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/faces2xmigrationtojakarta4x.md b/docs/recipes/java/migrate/jakarta/faces2xmigrationtojakarta4x.md index 5ef7c0a263..0fca17621d 100644 --- a/docs/recipes/java/migrate/jakarta/faces2xmigrationtojakarta4x.md +++ b/docs/recipes/java/migrate/jakarta/faces2xmigrationtojakarta4x.md @@ -19,11 +19,16 @@ _Jakarta EE 10 uses Faces 4.0 a major upgrade to Jakarta packages and XML namesp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -78,7 +83,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/facesjndinameschanged.md b/docs/recipes/java/migrate/jakarta/facesjndinameschanged.md index 4b1f6711c3..a21ede3e3c 100644 --- a/docs/recipes/java/migrate/jakarta/facesjndinameschanged.md +++ b/docs/recipes/java/migrate/jakarta/facesjndinameschanged.md @@ -13,11 +13,16 @@ _The `jsf/ClientSideSecretKey` JNDI name has been renamed to `faces/ClientSideSe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md b/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md index c3ecc7fe48..76984a3290 100644 --- a/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md +++ b/docs/recipes/java/migrate/jakarta/facesmanagedbeansremoved.md @@ -13,11 +13,16 @@ _This recipe substitutes Faces Managed Beans, which were deprecated in JavaServe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -138,7 +143,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/jacksonjavaxtojakarta.md b/docs/recipes/java/migrate/jakarta/jacksonjavaxtojakarta.md index 9b37e70583..7aba033451 100644 --- a/docs/recipes/java/migrate/jakarta/jacksonjavaxtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/jacksonjavaxtojakarta.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE. This recipe replaces existing Jackso ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -252,7 +257,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/jakartaee10.md b/docs/recipes/java/migrate/jakarta/jakartaee10.md index d756af89a4..6733b23fc8 100644 --- a/docs/recipes/java/migrate/jakarta/jakartaee10.md +++ b/docs/recipes/java/migrate/jakarta/jakartaee10.md @@ -17,11 +17,16 @@ _These recipes help with the Migration to Jakarta EE 10, flagging and updating d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/jakartafacesecmascript.md b/docs/recipes/java/migrate/jakarta/jakartafacesecmascript.md index 11d28b9127..682042f700 100644 --- a/docs/recipes/java/migrate/jakarta/jakartafacesecmascript.md +++ b/docs/recipes/java/migrate/jakarta/jakartafacesecmascript.md @@ -19,11 +19,16 @@ _Convert JSF to Faces values inside JavaScript,TypeScript, and Properties files. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -76,7 +81,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/jakartafacesxhtml.md b/docs/recipes/java/migrate/jakarta/jakartafacesxhtml.md index f3a3d8e468..d718106e88 100644 --- a/docs/recipes/java/migrate/jakarta/jakartafacesxhtml.md +++ b/docs/recipes/java/migrate/jakarta/jakartafacesxhtml.md @@ -19,11 +19,16 @@ _Find and replace legacy JSF namespaces and javax references with Jakarta Faces ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -204,7 +209,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxactivationmigrationtojakartaactivation.md b/docs/recipes/java/migrate/jakarta/javaxactivationmigrationtojakartaactivation.md index 979d822b6f..76946a61b0 100644 --- a/docs/recipes/java/migrate/jakarta/javaxactivationmigrationtojakartaactivation.md +++ b/docs/recipes/java/migrate/jakarta/javaxactivationmigrationtojakartaactivation.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxannotationmigrationtojakartaannotation.md b/docs/recipes/java/migrate/jakarta/javaxannotationmigrationtojakartaannotation.md index 645b7b1104..107c790d0f 100644 --- a/docs/recipes/java/migrate/jakarta/javaxannotationmigrationtojakartaannotation.md +++ b/docs/recipes/java/migrate/jakarta/javaxannotationmigrationtojakartaannotation.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -90,7 +95,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxauthenticationmigrationtojakartaauthentication.md b/docs/recipes/java/migrate/jakarta/javaxauthenticationmigrationtojakartaauthentication.md index 32cd878f40..2eccbfe174 100644 --- a/docs/recipes/java/migrate/jakarta/javaxauthenticationmigrationtojakartaauthentication.md +++ b/docs/recipes/java/migrate/jakarta/javaxauthenticationmigrationtojakartaauthentication.md @@ -20,11 +20,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -94,7 +99,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxauthorizationmigrationtojakartaauthorization.md b/docs/recipes/java/migrate/jakarta/javaxauthorizationmigrationtojakartaauthorization.md index 1f1897a6c7..37d6859347 100644 --- a/docs/recipes/java/migrate/jakarta/javaxauthorizationmigrationtojakartaauthorization.md +++ b/docs/recipes/java/migrate/jakarta/javaxauthorizationmigrationtojakartaauthorization.md @@ -20,11 +20,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -94,7 +99,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxbatchmigrationtojakartabatch.md b/docs/recipes/java/migrate/jakarta/javaxbatchmigrationtojakartabatch.md index 8034003ba4..189175c150 100644 --- a/docs/recipes/java/migrate/jakarta/javaxbatchmigrationtojakartabatch.md +++ b/docs/recipes/java/migrate/jakarta/javaxbatchmigrationtojakartabatch.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxbeansxmltojakartabeansxml.md b/docs/recipes/java/migrate/jakarta/javaxbeansxmltojakartabeansxml.md index 3df58986e4..73e961c6fb 100644 --- a/docs/recipes/java/migrate/jakarta/javaxbeansxmltojakartabeansxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxbeansxmltojakartabeansxml.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -76,7 +81,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxbeanvalidationxmltojakartabeanvalidationxml.md b/docs/recipes/java/migrate/jakarta/javaxbeanvalidationxmltojakartabeanvalidationxml.md index 9ec6dd30b9..8d68e049c4 100644 --- a/docs/recipes/java/migrate/jakarta/javaxbeanvalidationxmltojakartabeanvalidationxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxbeanvalidationxmltojakartabeanvalidationxml.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -84,7 +89,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxdecoratortojakartadecorator.md b/docs/recipes/java/migrate/jakarta/javaxdecoratortojakartadecorator.md index 09507ae0fa..2a05aed4a0 100644 --- a/docs/recipes/java/migrate/jakarta/javaxdecoratortojakartadecorator.md +++ b/docs/recipes/java/migrate/jakarta/javaxdecoratortojakartadecorator.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxeeapitojakarta.md b/docs/recipes/java/migrate/jakarta/javaxeeapitojakarta.md index 4b9b55ebde..0e4718b3d9 100644 --- a/docs/recipes/java/migrate/jakarta/javaxeeapitojakarta.md +++ b/docs/recipes/java/migrate/jakarta/javaxeeapitojakarta.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxejbjarxmltojakartaejbjarxml.md b/docs/recipes/java/migrate/jakarta/javaxejbjarxmltojakartaejbjarxml.md index d9996c8281..df661767cf 100644 --- a/docs/recipes/java/migrate/jakarta/javaxejbjarxmltojakartaejbjarxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxejbjarxmltojakartaejbjarxml.md @@ -18,11 +18,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -82,7 +87,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxejbtojakartaejb.md b/docs/recipes/java/migrate/jakarta/javaxejbtojakartaejb.md index 0fa01e899f..d56aed8211 100644 --- a/docs/recipes/java/migrate/jakarta/javaxejbtojakartaejb.md +++ b/docs/recipes/java/migrate/jakarta/javaxejbtojakartaejb.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -82,7 +87,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxeltojakartael.md b/docs/recipes/java/migrate/jakarta/javaxeltojakartael.md index 88709a4387..aa507981a6 100644 --- a/docs/recipes/java/migrate/jakarta/javaxeltojakartael.md +++ b/docs/recipes/java/migrate/jakarta/javaxeltojakartael.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxenterprisetojakartaenterprise.md b/docs/recipes/java/migrate/jakarta/javaxenterprisetojakartaenterprise.md index 98299a8baa..29f16473e2 100644 --- a/docs/recipes/java/migrate/jakarta/javaxenterprisetojakartaenterprise.md +++ b/docs/recipes/java/migrate/jakarta/javaxenterprisetojakartaenterprise.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxfacesconfigxmltojakartafacesconfigxml.md b/docs/recipes/java/migrate/jakarta/javaxfacesconfigxmltojakartafacesconfigxml.md index 80df636bb2..8fade35b9b 100644 --- a/docs/recipes/java/migrate/jakarta/javaxfacesconfigxmltojakartafacesconfigxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxfacesconfigxmltojakartafacesconfigxml.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -84,7 +89,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxfacestaglibraryxmltojakartafacestaglibraryxml.md b/docs/recipes/java/migrate/jakarta/javaxfacestaglibraryxmltojakartafacestaglibraryxml.md index 546409d27a..091c6b84e5 100644 --- a/docs/recipes/java/migrate/jakarta/javaxfacestaglibraryxmltojakartafacestaglibraryxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxfacestaglibraryxmltojakartafacestaglibraryxml.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -84,7 +89,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxfacestojakartafaces.md b/docs/recipes/java/migrate/jakarta/javaxfacestojakartafaces.md index bef461792c..c921d1331e 100644 --- a/docs/recipes/java/migrate/jakarta/javaxfacestojakartafaces.md +++ b/docs/recipes/java/migrate/jakarta/javaxfacestojakartafaces.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxinjectmigrationtojakartainject.md b/docs/recipes/java/migrate/jakarta/javaxinjectmigrationtojakartainject.md index 70fe3c0cd8..990bf36ef8 100644 --- a/docs/recipes/java/migrate/jakarta/javaxinjectmigrationtojakartainject.md +++ b/docs/recipes/java/migrate/jakarta/javaxinjectmigrationtojakartainject.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -92,7 +97,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxinterceptortojakartainterceptor.md b/docs/recipes/java/migrate/jakarta/javaxinterceptortojakartainterceptor.md index 05104b0b33..f0debec625 100644 --- a/docs/recipes/java/migrate/jakarta/javaxinterceptortojakartainterceptor.md +++ b/docs/recipes/java/migrate/jakarta/javaxinterceptortojakartainterceptor.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxjmstojakartajms.md b/docs/recipes/java/migrate/jakarta/javaxjmstojakartajms.md index bdb07583b9..fd4039f36f 100644 --- a/docs/recipes/java/migrate/jakarta/javaxjmstojakartajms.md +++ b/docs/recipes/java/migrate/jakarta/javaxjmstojakartajms.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -82,7 +87,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxjsontojakartajson.md b/docs/recipes/java/migrate/jakarta/javaxjsontojakartajson.md index 476c3060ae..0ddb0e4c7c 100644 --- a/docs/recipes/java/migrate/jakarta/javaxjsontojakartajson.md +++ b/docs/recipes/java/migrate/jakarta/javaxjsontojakartajson.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxjwstojakartajws.md b/docs/recipes/java/migrate/jakarta/javaxjwstojakartajws.md index 6588e26098..ddee14365d 100644 --- a/docs/recipes/java/migrate/jakarta/javaxjwstojakartajws.md +++ b/docs/recipes/java/migrate/jakarta/javaxjwstojakartajws.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -82,7 +87,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxmailtojakartamail.md b/docs/recipes/java/migrate/jakarta/javaxmailtojakartamail.md index b503c2450e..c9eecdf7b1 100644 --- a/docs/recipes/java/migrate/jakarta/javaxmailtojakartamail.md +++ b/docs/recipes/java/migrate/jakarta/javaxmailtojakartamail.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md b/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md index 2952efd347..abbf1b1ddb 100644 --- a/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/javaxmigrationtojakarta.md @@ -19,11 +19,16 @@ _Jakarta EE 9 is the first version of Jakarta EE that uses the new `jakarta` nam ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -128,7 +133,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxormxmltojakartaormxml.md b/docs/recipes/java/migrate/jakarta/javaxormxmltojakartaormxml.md index 767a9679df..1b7b0df972 100644 --- a/docs/recipes/java/migrate/jakarta/javaxormxmltojakartaormxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxormxmltojakartaormxml.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -76,7 +81,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxpersistencetojakartapersistence.md b/docs/recipes/java/migrate/jakarta/javaxpersistencetojakartapersistence.md index 1c2e77a72c..a2db6e9a44 100644 --- a/docs/recipes/java/migrate/jakarta/javaxpersistencetojakartapersistence.md +++ b/docs/recipes/java/migrate/jakarta/javaxpersistencetojakartapersistence.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -82,7 +87,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxpersistencexmltojakartapersistencexml.md b/docs/recipes/java/migrate/jakarta/javaxpersistencexmltojakartapersistencexml.md index e01f3b7328..c25fb7acd4 100644 --- a/docs/recipes/java/migrate/jakarta/javaxpersistencexmltojakartapersistencexml.md +++ b/docs/recipes/java/migrate/jakarta/javaxpersistencexmltojakartapersistencexml.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -88,7 +93,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxresourcetojakartaresource.md b/docs/recipes/java/migrate/jakarta/javaxresourcetojakartaresource.md index f03f1e45d2..f4a0c39bf6 100644 --- a/docs/recipes/java/migrate/jakarta/javaxresourcetojakartaresource.md +++ b/docs/recipes/java/migrate/jakarta/javaxresourcetojakartaresource.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -82,7 +87,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxsecuritytojakartasecurity.md b/docs/recipes/java/migrate/jakarta/javaxsecuritytojakartasecurity.md index 8935e7ad87..93f4344b0c 100644 --- a/docs/recipes/java/migrate/jakarta/javaxsecuritytojakartasecurity.md +++ b/docs/recipes/java/migrate/jakarta/javaxsecuritytojakartasecurity.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxservlettojakartaservlet.md b/docs/recipes/java/migrate/jakarta/javaxservlettojakartaservlet.md index 2a8d4974a2..c18e4d82b1 100644 --- a/docs/recipes/java/migrate/jakarta/javaxservlettojakartaservlet.md +++ b/docs/recipes/java/migrate/jakarta/javaxservlettojakartaservlet.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxtojakartacdiextensions.md b/docs/recipes/java/migrate/jakarta/javaxtojakartacdiextensions.md index a69730c1cb..29ca8453a8 100644 --- a/docs/recipes/java/migrate/jakarta/javaxtojakartacdiextensions.md +++ b/docs/recipes/java/migrate/jakarta/javaxtojakartacdiextensions.md @@ -13,7 +13,12 @@ _Rename `javax.enterprise.inject.spi.Extension` to `jakarta.enterprise.inject.sp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxtransactionmigrationtojakartatransaction.md b/docs/recipes/java/migrate/jakarta/javaxtransactionmigrationtojakartatransaction.md index cafb5bcddf..e8d22e8e70 100644 --- a/docs/recipes/java/migrate/jakarta/javaxtransactionmigrationtojakartatransaction.md +++ b/docs/recipes/java/migrate/jakarta/javaxtransactionmigrationtojakartatransaction.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -92,7 +97,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxvalidationmigrationtojakartavalidation.md b/docs/recipes/java/migrate/jakarta/javaxvalidationmigrationtojakartavalidation.md index 5e7f0b09a3..ab7941d00c 100644 --- a/docs/recipes/java/migrate/jakarta/javaxvalidationmigrationtojakartavalidation.md +++ b/docs/recipes/java/migrate/jakarta/javaxvalidationmigrationtojakartavalidation.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -94,7 +99,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxwebfragmentxmltojakartawebfragmentxml.md b/docs/recipes/java/migrate/jakarta/javaxwebfragmentxmltojakartawebfragmentxml.md index 4a421340f1..f4ab5839ba 100644 --- a/docs/recipes/java/migrate/jakarta/javaxwebfragmentxmltojakartawebfragmentxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxwebfragmentxmltojakartawebfragmentxml.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -92,7 +97,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxwebsockettojakartawebsocket.md b/docs/recipes/java/migrate/jakarta/javaxwebsockettojakartawebsocket.md index 5495da2af6..e9f101616f 100644 --- a/docs/recipes/java/migrate/jakarta/javaxwebsockettojakartawebsocket.md +++ b/docs/recipes/java/migrate/jakarta/javaxwebsockettojakartawebsocket.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md b/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md index 3dab9d9550..73ebb96d5e 100644 --- a/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md +++ b/docs/recipes/java/migrate/jakarta/javaxwebxmltojakartawebxml.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating an XML namespace reloca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -92,7 +97,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxwstojakartaws.md b/docs/recipes/java/migrate/jakarta/javaxwstojakartaws.md index a1e5f18a7d..0b744d3e60 100644 --- a/docs/recipes/java/migrate/jakarta/javaxwstojakartaws.md +++ b/docs/recipes/java/migrate/jakarta/javaxwstojakartaws.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxxmlbindmigrationtojakartaxmlbind.md b/docs/recipes/java/migrate/jakarta/javaxxmlbindmigrationtojakartaxmlbind.md index 9f433625ba..2b5b9ba01e 100644 --- a/docs/recipes/java/migrate/jakarta/javaxxmlbindmigrationtojakartaxmlbind.md +++ b/docs/recipes/java/migrate/jakarta/javaxxmlbindmigrationtojakartaxmlbind.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -116,7 +121,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxxmlsoaptojakartaxmlsoap.md b/docs/recipes/java/migrate/jakarta/javaxxmlsoaptojakartaxmlsoap.md index e973f75f22..2716bcb9b6 100644 --- a/docs/recipes/java/migrate/jakarta/javaxxmlsoaptojakartaxmlsoap.md +++ b/docs/recipes/java/migrate/jakarta/javaxxmlsoaptojakartaxmlsoap.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/javaxxmlwsmigrationtojakartaxmlws.md b/docs/recipes/java/migrate/jakarta/javaxxmlwsmigrationtojakartaxmlws.md index 6c2a1d36a8..db69d56fd7 100644 --- a/docs/recipes/java/migrate/jakarta/javaxxmlwsmigrationtojakartaxmlws.md +++ b/docs/recipes/java/migrate/jakarta/javaxxmlwsmigrationtojakartaxmlws.md @@ -19,11 +19,16 @@ _Java EE has been rebranded to Jakarta EE, necessitating a package relocation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -102,7 +107,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/johnzonjavaxtojakarta.md b/docs/recipes/java/migrate/jakarta/johnzonjavaxtojakarta.md index 2bc22c9c7e..ba595beb4a 100644 --- a/docs/recipes/java/migrate/jakarta/johnzonjavaxtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/johnzonjavaxtojakarta.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE. This recipe replaces existing Johnzo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/removalsservletjakarta10.md b/docs/recipes/java/migrate/jakarta/removalsservletjakarta10.md index 48fcfd9ac3..1c3e3608c8 100644 --- a/docs/recipes/java/migrate/jakarta/removalsservletjakarta10.md +++ b/docs/recipes/java/migrate/jakarta/removalsservletjakarta10.md @@ -13,11 +13,16 @@ _This recipe replaces the classes and methods deprecated in Jakarta Servlet 6.0. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -190,7 +195,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/removebeanisnullable.md b/docs/recipes/java/migrate/jakarta/removebeanisnullable.md index 0e73a48bbc..af3912dc7e 100644 --- a/docs/recipes/java/migrate/jakarta/removebeanisnullable.md +++ b/docs/recipes/java/migrate/jakarta/removebeanisnullable.md @@ -13,12 +13,17 @@ _`Bean.isNullable()` has been removed in CDI 4.0.0, and now always returns `fals ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/RemoveBeanIsNullable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/RemoveBeanIsNullable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/removedisparmetersprovidedmethod.md b/docs/recipes/java/migrate/jakarta/removedisparmetersprovidedmethod.md index 4bd2359cfe..b7f08812fd 100644 --- a/docs/recipes/java/migrate/jakarta/removedisparmetersprovidedmethod.md +++ b/docs/recipes/java/migrate/jakarta/removedisparmetersprovidedmethod.md @@ -13,7 +13,12 @@ _Expression Language prior to 5.0 provides the deprecated MethodExpression.isPar ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/removedjakartafacesexpressionlanguageclasses.md b/docs/recipes/java/migrate/jakarta/removedjakartafacesexpressionlanguageclasses.md index d5cf5bc4be..cf83f834be 100644 --- a/docs/recipes/java/migrate/jakarta/removedjakartafacesexpressionlanguageclasses.md +++ b/docs/recipes/java/migrate/jakarta/removedjakartafacesexpressionlanguageclasses.md @@ -13,11 +13,16 @@ _Several classes were removed and replaced in Jakarta Faces 4.0. The only Object ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -170,7 +175,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/removedjakartafacesresourceresolver.md b/docs/recipes/java/migrate/jakarta/removedjakartafacesresourceresolver.md index 19e3d8543b..e73887cd2f 100644 --- a/docs/recipes/java/migrate/jakarta/removedjakartafacesresourceresolver.md +++ b/docs/recipes/java/migrate/jakarta/removedjakartafacesresourceresolver.md @@ -13,11 +13,16 @@ _The `ResourceResolver` class was removed in Jakarta Faces 4.0. The functionali ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/removedsoapelementfactory.md b/docs/recipes/java/migrate/jakarta/removedsoapelementfactory.md index 6b750736b8..3cf944fc2f 100644 --- a/docs/recipes/java/migrate/jakarta/removedsoapelementfactory.md +++ b/docs/recipes/java/migrate/jakarta/removedsoapelementfactory.md @@ -13,11 +13,16 @@ _XML Web Services prior to 4.0 provides the deprecated SOAPElementFactory class, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/removedstatemanagermethods.md b/docs/recipes/java/migrate/jakarta/removedstatemanagermethods.md index 801df759cc..7ce9c43ce6 100644 --- a/docs/recipes/java/migrate/jakarta/removedstatemanagermethods.md +++ b/docs/recipes/java/migrate/jakarta/removedstatemanagermethods.md @@ -13,11 +13,16 @@ _Methods that were removed from the `jakarta.faces.application.StateManager` and ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -98,7 +103,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/removeduicomponentconstant.md b/docs/recipes/java/migrate/jakarta/removeduicomponentconstant.md index bf91638b5d..4f31c342a3 100644 --- a/docs/recipes/java/migrate/jakarta/removeduicomponentconstant.md +++ b/docs/recipes/java/migrate/jakarta/removeduicomponentconstant.md @@ -13,11 +13,16 @@ _Replace `jakarta.faces.component.UIComponent.CURRENT_COMPONENT` and `CURRENT_CO ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/removejakartaannotationdependency.md b/docs/recipes/java/migrate/jakarta/removejakartaannotationdependency.md index da3d7f4289..7ee48bdbdf 100644 --- a/docs/recipes/java/migrate/jakarta/removejakartaannotationdependency.md +++ b/docs/recipes/java/migrate/jakarta/removejakartaannotationdependency.md @@ -13,11 +13,16 @@ _Counteract the `jakarta.annotation-api` added by `org.openrewrite.java.migrate. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/restassuredjavaxtojakarta.md b/docs/recipes/java/migrate/jakarta/restassuredjavaxtojakarta.md index 0c2cdb01c9..2714b0ed22 100644 --- a/docs/recipes/java/migrate/jakarta/restassuredjavaxtojakarta.md +++ b/docs/recipes/java/migrate/jakarta/restassuredjavaxtojakarta.md @@ -13,7 +13,12 @@ _Java EE has been rebranded to Jakarta EE. This recipe replaces existing RestAs ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/servletcookiebehaviorchangerfc6265.md b/docs/recipes/java/migrate/jakarta/servletcookiebehaviorchangerfc6265.md index 4cd6f71580..2e47b151da 100644 --- a/docs/recipes/java/migrate/jakarta/servletcookiebehaviorchangerfc6265.md +++ b/docs/recipes/java/migrate/jakarta/servletcookiebehaviorchangerfc6265.md @@ -13,11 +13,16 @@ _Jakarta Servlet methods have been deprecated for removal in Jakarta Servlet 6.0 ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/updateaddannotatedtypes.md b/docs/recipes/java/migrate/jakarta/updateaddannotatedtypes.md index 588bb10118..a3df83cb7f 100644 --- a/docs/recipes/java/migrate/jakarta/updateaddannotatedtypes.md +++ b/docs/recipes/java/migrate/jakarta/updateaddannotatedtypes.md @@ -13,12 +13,17 @@ _`BeforeBeanDiscovery.addAnnotatedType(AnnotatedType)` is deprecated in CDI 1.1. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypes.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypes.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/updateapachewssecuritypackages.md b/docs/recipes/java/migrate/jakarta/updateapachewssecuritypackages.md index 7eb4554a11..0b3f3e2fac 100644 --- a/docs/recipes/java/migrate/jakarta/updateapachewssecuritypackages.md +++ b/docs/recipes/java/migrate/jakarta/updateapachewssecuritypackages.md @@ -13,11 +13,16 @@ _Java EE has been rebranded to Jakarta EE. This recipe replaces Apache security ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/updatebeanmanagermethods.md b/docs/recipes/java/migrate/jakarta/updatebeanmanagermethods.md index ffa406b029..83b5ed2057 100644 --- a/docs/recipes/java/migrate/jakarta/updatebeanmanagermethods.md +++ b/docs/recipes/java/migrate/jakarta/updatebeanmanagermethods.md @@ -13,12 +13,17 @@ _Updates `BeanManager.fireEvent()` or `BeanManager.createInjectionTarget()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateBeanManagerMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateBeanManagerMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/updategetrealpath.md b/docs/recipes/java/migrate/jakarta/updategetrealpath.md index 110dd8f1cb..dc9bdaf93d 100644 --- a/docs/recipes/java/migrate/jakarta/updategetrealpath.md +++ b/docs/recipes/java/migrate/jakarta/updategetrealpath.md @@ -13,12 +13,17 @@ _Updates `getRealPath()` for `jakarta.servlet.ServletRequest` and `jakarta.servl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateGetRealPath.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateGetRealPath.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md b/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md index a1dec9d205..71c576c26a 100644 --- a/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md +++ b/docs/recipes/java/migrate/jakarta/updatejakartaannotations2.md @@ -13,7 +13,12 @@ _Update Jakarta EE annotation Dependencies to 2.1.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/updatejakartaplatform10.md b/docs/recipes/java/migrate/jakarta/updatejakartaplatform10.md index ec6b9d2979..c83a27fe80 100644 --- a/docs/recipes/java/migrate/jakarta/updatejakartaplatform10.md +++ b/docs/recipes/java/migrate/jakarta/updatejakartaplatform10.md @@ -13,7 +13,12 @@ _Update Jakarta EE Platform Dependencies to 10.0.0._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/upgradefacesopensourcelibraries.md b/docs/recipes/java/migrate/jakarta/upgradefacesopensourcelibraries.md index ba188e7a47..d31e4ea504 100644 --- a/docs/recipes/java/migrate/jakarta/upgradefacesopensourcelibraries.md +++ b/docs/recipes/java/migrate/jakarta/upgradefacesopensourcelibraries.md @@ -22,11 +22,16 @@ _Upgrade PrimeFaces, OmniFaces, and MyFaces libraries to Jakarta EE10 versions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -114,7 +119,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jakarta/wswsocservercontainerdeprecation.md b/docs/recipes/java/migrate/jakarta/wswsocservercontainerdeprecation.md index 16c03da699..8d3dc3cf4e 100644 --- a/docs/recipes/java/migrate/jakarta/wswsocservercontainerdeprecation.md +++ b/docs/recipes/java/migrate/jakarta/wswsocservercontainerdeprecation.md @@ -13,11 +13,16 @@ _Deprecated `WsWsocServerContainer.doUpgrade(..)` is replaced by the Jakarta Web ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/java8tojava11.md b/docs/recipes/java/migrate/java8tojava11.md index 5a5623a7a2..8974b9ac6b 100644 --- a/docs/recipes/java/migrate/java8tojava11.md +++ b/docs/recipes/java/migrate/java8tojava11.md @@ -21,11 +21,16 @@ _This recipe will apply changes commonly needed when upgrading to Java 11. Speci ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -160,7 +165,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javaee6.md b/docs/recipes/java/migrate/javaee6.md index 5822408449..f9ecc02d10 100644 --- a/docs/recipes/java/migrate/javaee6.md +++ b/docs/recipes/java/migrate/javaee6.md @@ -18,7 +18,12 @@ _These recipes help with the Migration to Java EE 6, flagging and updating depre ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-6.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javaee7-recipe.md b/docs/recipes/java/migrate/javaee7-recipe.md index 76713de702..641757b32e 100644 --- a/docs/recipes/java/migrate/javaee7-recipe.md +++ b/docs/recipes/java/migrate/javaee7-recipe.md @@ -18,11 +18,16 @@ _These recipes help with the Migration to Java EE 7, flagging and updating depre ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-7.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-7.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javaee7/openjpapersistenceprovider.md b/docs/recipes/java/migrate/javaee7/openjpapersistenceprovider.md index 6edafe3c62..49ae86c10a 100644 --- a/docs/recipes/java/migrate/javaee7/openjpapersistenceprovider.md +++ b/docs/recipes/java/migrate/javaee7/openjpapersistenceprovider.md @@ -13,7 +13,12 @@ _When migrating to EclipseLink, using OpenJPA providers in EclipseLink results ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-7.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-7.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javaee8-recipe.md b/docs/recipes/java/migrate/javaee8-recipe.md index c5ba0c15f2..a6cabc2af8 100644 --- a/docs/recipes/java/migrate/javaee8-recipe.md +++ b/docs/recipes/java/migrate/javaee8-recipe.md @@ -18,11 +18,16 @@ _These recipes help with the Migration to Java EE 8, flagging and updating depre ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-8.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-8.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javaee8/apachedefaultprovider.md b/docs/recipes/java/migrate/javaee8/apachedefaultprovider.md index 63685763f9..ec597e07e4 100644 --- a/docs/recipes/java/migrate/javaee8/apachedefaultprovider.md +++ b/docs/recipes/java/migrate/javaee8/apachedefaultprovider.md @@ -13,11 +13,16 @@ _This recipe flags any `org.apache.bval.jsr*` (bval 1.1) and `org.apache.bval.js ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-8.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-8.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javaee8/servletisrequestedsessionidfromurl.md b/docs/recipes/java/migrate/javaee8/servletisrequestedsessionidfromurl.md index df6eb8ed67..e90f003030 100644 --- a/docs/recipes/java/migrate/javaee8/servletisrequestedsessionidfromurl.md +++ b/docs/recipes/java/migrate/javaee8/servletisrequestedsessionidfromurl.md @@ -13,7 +13,12 @@ _The method `HttpServletRequestWrapper.isRequestedSessionIdFromUrl()` is deprec ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-8.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-ee-8.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addcolumnannotation.md b/docs/recipes/java/migrate/javax/addcolumnannotation.md index 6692eefda1..9a21b34876 100644 --- a/docs/recipes/java/migrate/javax/addcolumnannotation.md +++ b/docs/recipes/java/migrate/javax/addcolumnannotation.md @@ -13,12 +13,17 @@ _When an attribute is annotated with `@ElementCollection`, a separate table is c ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddColumnAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddColumnAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addcommonannotationsdependencies.md b/docs/recipes/java/migrate/javax/addcommonannotationsdependencies.md index 8e3ef32a99..dcb60e185b 100644 --- a/docs/recipes/java/migrate/javax/addcommonannotationsdependencies.md +++ b/docs/recipes/java/migrate/javax/addcommonannotationsdependencies.md @@ -20,11 +20,16 @@ _Add the necessary `annotation-api` dependency from Jakarta EE 8 to maintain com ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/add-common-annotations-dependencies.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/add-common-annotations-dependencies.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -78,7 +83,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/adddefaultconstructortoentityclass.md b/docs/recipes/java/migrate/javax/adddefaultconstructortoentityclass.md index 8af67cf2a5..11ba6cf979 100644 --- a/docs/recipes/java/migrate/javax/adddefaultconstructortoentityclass.md +++ b/docs/recipes/java/migrate/javax/adddefaultconstructortoentityclass.md @@ -13,12 +13,17 @@ _When a Java Persistence API (JPA) entity class has a constructor with arguments ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddDefaultConstructorToEntityClass.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddDefaultConstructorToEntityClass.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addinjectdependencies.md b/docs/recipes/java/migrate/javax/addinjectdependencies.md index 071463eba6..f22ed1a5e8 100644 --- a/docs/recipes/java/migrate/javax/addinjectdependencies.md +++ b/docs/recipes/java/migrate/javax/addinjectdependencies.md @@ -20,11 +20,16 @@ _Add the necessary `inject-api` dependency from Jakarta EE 8 to maintain compati ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/add-inject-dependencies.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/add-inject-dependencies.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -74,7 +79,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addjaxbdependencies.md b/docs/recipes/java/migrate/javax/addjaxbdependencies.md index a5a94a7938..d35572f454 100644 --- a/docs/recipes/java/migrate/javax/addjaxbdependencies.md +++ b/docs/recipes/java/migrate/javax/addjaxbdependencies.md @@ -21,11 +21,16 @@ _This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 appli ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -148,7 +153,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addjaxbruntime.md b/docs/recipes/java/migrate/javax/addjaxbruntime.md index d168e1fa62..3842c73774 100644 --- a/docs/recipes/java/migrate/javax/addjaxbruntime.md +++ b/docs/recipes/java/migrate/javax/addjaxbruntime.md @@ -22,18 +22,23 @@ _Update build files to use the latest JAXB runtime from Jakarta EE 8 to maintain ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddJaxbRuntime.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddJaxbRuntime.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | runtime | Which implementation of the JAXB run-time that will be added to maven projects that have transitive dependencies on the JAXB API Valid options: `glassfish`, `sun` | `glassfish` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddJaxbRuntimeExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddJaxbRuntimeExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -41,8 +46,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddJaxbRuntimeExample displayName: Use latest JAXB API and runtime for Jakarta EE 8 example recipeList: - - org.openrewrite.java.migrate.javax.AddJaxbRuntime: - runtime: glassfish + - org.openrewrite.java.migrate.javax.AddJaxbRuntime: runtime: glassfish ``` Now that `com.yourorg.AddJaxbRuntimeExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_REWRITE_MIGRATE_JAVA}}` in your build file: diff --git a/docs/recipes/java/migrate/javax/addjaxwsdependencies.md b/docs/recipes/java/migrate/javax/addjaxwsdependencies.md index 88e6a6edc7..36ecb4a89c 100644 --- a/docs/recipes/java/migrate/javax/addjaxwsdependencies.md +++ b/docs/recipes/java/migrate/javax/addjaxwsdependencies.md @@ -21,11 +21,16 @@ _This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 appli ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -142,7 +147,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimegradle.md b/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimegradle.md index 86563d6601..25f78c96f6 100644 --- a/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimegradle.md +++ b/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimegradle.md @@ -13,12 +13,17 @@ _Update Gradle build files to use the latest JAX-WS runtime from Jakarta EE 8 to ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddJaxwsRuntime.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddJaxwsRuntime.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimemaven.md b/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimemaven.md index da11ac3848..fa6fed42a9 100644 --- a/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimemaven.md +++ b/docs/recipes/java/migrate/javax/addjaxwsruntime$addjaxwsruntimemaven.md @@ -13,12 +13,17 @@ _Update maven build files to use the latest JAX-WS runtime from Jakarta EE 8 to ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddJaxwsRuntime.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddJaxwsRuntime.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addjaxwsruntime.md b/docs/recipes/java/migrate/javax/addjaxwsruntime.md index 982d27d2e2..52170eb7e0 100644 --- a/docs/recipes/java/migrate/javax/addjaxwsruntime.md +++ b/docs/recipes/java/migrate/javax/addjaxwsruntime.md @@ -21,11 +21,16 @@ _Update build files to use the latest JAX-WS runtime from Jakarta EE 8 to mainta ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddJaxwsRuntime.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddJaxwsRuntime.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addscopetoinjectedclass.md b/docs/recipes/java/migrate/javax/addscopetoinjectedclass.md index ea7b621856..757819bd7e 100644 --- a/docs/recipes/java/migrate/javax/addscopetoinjectedclass.md +++ b/docs/recipes/java/migrate/javax/addscopetoinjectedclass.md @@ -13,12 +13,17 @@ _Finds member variables annotated with `@Inject' and applies `@Dependent` scope ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddScopeToInjectedClass.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddScopeToInjectedClass.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addtablegenerator.md b/docs/recipes/java/migrate/javax/addtablegenerator.md index 092f7d741b..e2def55255 100644 --- a/docs/recipes/java/migrate/javax/addtablegenerator.md +++ b/docs/recipes/java/migrate/javax/addtablegenerator.md @@ -13,12 +13,17 @@ _Adds missing `@TableGenerator` annotation and updates the `@GeneratedValue` ann ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddTableGenerator.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddTableGenerator.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md b/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md index b723e6e473..9b00fd1211 100644 --- a/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md +++ b/docs/recipes/java/migrate/javax/addtransientannotationtocollections.md @@ -16,12 +16,17 @@ In OpenJPA, attributes that inherit from the `java.util.Collection` interface ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToCollections.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToCollections.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addtransientannotationtoentity.md b/docs/recipes/java/migrate/javax/addtransientannotationtoentity.md index ca216ea095..98838dae49 100644 --- a/docs/recipes/java/migrate/javax/addtransientannotationtoentity.md +++ b/docs/recipes/java/migrate/javax/addtransientannotationtoentity.md @@ -13,12 +13,17 @@ _In OpenJPA, attributes that are themselves entity classes are not persisted by ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToEntity.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToEntity.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/addtransientannotationtoprivateaccessor.md b/docs/recipes/java/migrate/javax/addtransientannotationtoprivateaccessor.md index 3ab867dd46..c0282594a2 100644 --- a/docs/recipes/java/migrate/javax/addtransientannotationtoprivateaccessor.md +++ b/docs/recipes/java/migrate/javax/addtransientannotationtoprivateaccessor.md @@ -13,12 +13,17 @@ _According to the JPA 2.1 specification, when property access is used, the prope ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToPrivateAccessor.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToPrivateAccessor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/httpsessioninvalidate.md b/docs/recipes/java/migrate/javax/httpsessioninvalidate.md index 2252b8f363..54aeda50a7 100644 --- a/docs/recipes/java/migrate/javax/httpsessioninvalidate.md +++ b/docs/recipes/java/migrate/javax/httpsessioninvalidate.md @@ -13,12 +13,17 @@ _Do not rely on HttpSession `invalidate` method for programmatic security logout ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/HttpSessionInvalidate.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/HttpSessionInvalidate.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/javaxlangmodelutil.md b/docs/recipes/java/migrate/javax/javaxlangmodelutil.md index 67d39c4cfd..2b3d30bbb0 100644 --- a/docs/recipes/java/migrate/javax/javaxlangmodelutil.md +++ b/docs/recipes/java/migrate/javax/javaxlangmodelutil.md @@ -13,11 +13,16 @@ _Certain `javax.lang.model.util` APIs have become deprecated and their usages ch ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/javaxmanagementmonitorapis.md b/docs/recipes/java/migrate/javax/javaxmanagementmonitorapis.md index ae48e4140c..85dabc8353 100644 --- a/docs/recipes/java/migrate/javax/javaxmanagementmonitorapis.md +++ b/docs/recipes/java/migrate/javax/javaxmanagementmonitorapis.md @@ -13,7 +13,12 @@ _Certain `javax.management.monitor` APIs have become deprecated and their usages ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-management-monitor-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-management-monitor-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -41,7 +46,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/javaxxmlstreamapis.md b/docs/recipes/java/migrate/javax/javaxxmlstreamapis.md index 3064ee5e1c..d2cc129891 100644 --- a/docs/recipes/java/migrate/javax/javaxxmlstreamapis.md +++ b/docs/recipes/java/migrate/javax/javaxxmlstreamapis.md @@ -13,11 +13,16 @@ _Certain `javax.xml.stream` APIs have become deprecated and their usages changed ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-xml-stream.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-xml-stream.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migrateabstractannotationvaluevisitor6to9.md b/docs/recipes/java/migrate/javax/migrateabstractannotationvaluevisitor6to9.md index f8f7073e4a..2fe9704dcc 100644 --- a/docs/recipes/java/migrate/javax/migrateabstractannotationvaluevisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migrateabstractannotationvaluevisitor6to9.md @@ -13,7 +13,12 @@ _Use `javax.lang.model.util.AbstractAnnotationValueVisitor9` instead of the depr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migrateabstractelementvisitor6to9.md b/docs/recipes/java/migrate/javax/migrateabstractelementvisitor6to9.md index ee9d706fa5..62d19cba4e 100644 --- a/docs/recipes/java/migrate/javax/migrateabstractelementvisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migrateabstractelementvisitor6to9.md @@ -13,7 +13,12 @@ _Use `javax.lang.model.util.AbstractElementVisitor9` instead of the deprecated ` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migrateabstracttypevisitor6to9.md b/docs/recipes/java/migrate/javax/migrateabstracttypevisitor6to9.md index 53e5a5642b..b5f644980b 100644 --- a/docs/recipes/java/migrate/javax/migrateabstracttypevisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migrateabstracttypevisitor6to9.md @@ -13,7 +13,12 @@ _Use `javax.lang.model.util.AbstractTypeVisitor9` instead of the deprecated `jav ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migratecountermonitorsetthresholdtosetinitthreshold.md b/docs/recipes/java/migrate/javax/migratecountermonitorsetthresholdtosetinitthreshold.md index db50ea9c7e..b25d429b25 100644 --- a/docs/recipes/java/migrate/javax/migratecountermonitorsetthresholdtosetinitthreshold.md +++ b/docs/recipes/java/migrate/javax/migratecountermonitorsetthresholdtosetinitthreshold.md @@ -13,7 +13,12 @@ _Use `javax.management.monitor.CounterMonitor#setInitThreshold` instead of the d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-management-monitor-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-management-monitor-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migrateelementkindvisitor6to9.md b/docs/recipes/java/migrate/javax/migrateelementkindvisitor6to9.md index bb1377386a..55a3a9e3ab 100644 --- a/docs/recipes/java/migrate/javax/migrateelementkindvisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migrateelementkindvisitor6to9.md @@ -13,7 +13,12 @@ _Use `javax.lang.model.util.ElementKindVisitor9` instead of the deprecated `java ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migrateelementscanner6to9.md b/docs/recipes/java/migrate/javax/migrateelementscanner6to9.md index 1051ed2754..744ed3dabc 100644 --- a/docs/recipes/java/migrate/javax/migrateelementscanner6to9.md +++ b/docs/recipes/java/migrate/javax/migrateelementscanner6to9.md @@ -13,7 +13,12 @@ _Use `javax.lang.model.util.ElementScanner9` instead of the deprecated `javax.la ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migratesimpleannotationvaluevisitor6to9.md b/docs/recipes/java/migrate/javax/migratesimpleannotationvaluevisitor6to9.md index 20b85b6642..8908118bfd 100644 --- a/docs/recipes/java/migrate/javax/migratesimpleannotationvaluevisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migratesimpleannotationvaluevisitor6to9.md @@ -13,7 +13,12 @@ _Use `javax.lang.model.util.SimpleAnnotationValueVisitor9` instead of the deprec ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migratesimpleelementvisitor6to9.md b/docs/recipes/java/migrate/javax/migratesimpleelementvisitor6to9.md index b266490119..cec555b500 100644 --- a/docs/recipes/java/migrate/javax/migratesimpleelementvisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migratesimpleelementvisitor6to9.md @@ -13,7 +13,12 @@ _Use `javax.lang.model.util.SimpleElementVisitor9` instead of the deprecated `ja ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migratesimpletypevisitor6to9.md b/docs/recipes/java/migrate/javax/migratesimpletypevisitor6to9.md index 46d227c7ce..517c3f719a 100644 --- a/docs/recipes/java/migrate/javax/migratesimpletypevisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migratesimpletypevisitor6to9.md @@ -13,7 +13,12 @@ _Use `javax.lang.model.util.SimpleTypeVisitor9` instead of the deprecated `javax ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migratetypekindvisitor6to9.md b/docs/recipes/java/migrate/javax/migratetypekindvisitor6to9.md index 206e5202d7..fed0833bfd 100644 --- a/docs/recipes/java/migrate/javax/migratetypekindvisitor6to9.md +++ b/docs/recipes/java/migrate/javax/migratetypekindvisitor6to9.md @@ -13,7 +13,12 @@ _Use `javax.lang.model.util.TypeKindVisitor9` instead of the deprecated `javax.l ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migratexmleventfactorynewinstancetonewfactory.md b/docs/recipes/java/migrate/javax/migratexmleventfactorynewinstancetonewfactory.md index 6dad810a89..a14469d42c 100644 --- a/docs/recipes/java/migrate/javax/migratexmleventfactorynewinstancetonewfactory.md +++ b/docs/recipes/java/migrate/javax/migratexmleventfactorynewinstancetonewfactory.md @@ -13,7 +13,12 @@ _Use `javax.xml.stream.XMLEventFactory#newFactory` instead of the deprecated `ja ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-xml-stream.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-xml-stream.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migratexmlinputfactorynewinstancetonewfactory.md b/docs/recipes/java/migrate/javax/migratexmlinputfactorynewinstancetonewfactory.md index 280b33bdd9..6745012130 100644 --- a/docs/recipes/java/migrate/javax/migratexmlinputfactorynewinstancetonewfactory.md +++ b/docs/recipes/java/migrate/javax/migratexmlinputfactorynewinstancetonewfactory.md @@ -13,7 +13,12 @@ _Use `javax.xml.stream.XMLInputFactory#newFactory` instead of the deprecated `ja ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-xml-stream.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-xml-stream.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/migratexmloutputfactorynewinstancetonewfactory.md b/docs/recipes/java/migrate/javax/migratexmloutputfactorynewinstancetonewfactory.md index 32f9e63498..5984d4b5fb 100644 --- a/docs/recipes/java/migrate/javax/migratexmloutputfactorynewinstancetonewfactory.md +++ b/docs/recipes/java/migrate/javax/migratexmloutputfactorynewinstancetonewfactory.md @@ -13,7 +13,12 @@ _Use `javax.xml.stream.XMLOutputFactory#newFactory` instead of the deprecated `j ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-xml-stream.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/javax-xml-stream.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/openjpatoeclipselink.md b/docs/recipes/java/migrate/javax/openjpatoeclipselink.md index 7899685683..661ee93803 100644 --- a/docs/recipes/java/migrate/javax/openjpatoeclipselink.md +++ b/docs/recipes/java/migrate/javax/openjpatoeclipselink.md @@ -18,11 +18,16 @@ _These recipes help migrate Java Persistence applications using OpenJPA to Eclip ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/openjpa-to-eclipselink.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/openjpa-to-eclipselink.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/removeembeddableid.md b/docs/recipes/java/migrate/javax/removeembeddableid.md index 199a19ee2e..4e703bd897 100644 --- a/docs/recipes/java/migrate/javax/removeembeddableid.md +++ b/docs/recipes/java/migrate/javax/removeembeddableid.md @@ -13,12 +13,17 @@ _According to the Java Persistence API (JPA) specification, if an entity defines ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/RemoveEmbeddableId.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/RemoveEmbeddableId.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/removetemporalannotation.md b/docs/recipes/java/migrate/javax/removetemporalannotation.md index c8acbdd5a2..c4d62775e8 100644 --- a/docs/recipes/java/migrate/javax/removetemporalannotation.md +++ b/docs/recipes/java/migrate/javax/removetemporalannotation.md @@ -13,12 +13,17 @@ _OpenJPA persists the fields of attributes of type `java.sql.Date`, `java.sql.Ti ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/RemoveTemporalAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/RemoveTemporalAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/javax/usejoincolumnformapping.md b/docs/recipes/java/migrate/javax/usejoincolumnformapping.md index ab9cd5b560..346b2a978e 100644 --- a/docs/recipes/java/migrate/javax/usejoincolumnformapping.md +++ b/docs/recipes/java/migrate/javax/usejoincolumnformapping.md @@ -13,12 +13,17 @@ _In OpenJPA, when a relationship attribute has either a `@OneToOne` or a `@ManyT ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/UseJoinColumnForMapping.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/javax/UseJoinColumnForMapping.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/joda/jodatimerecipe.md b/docs/recipes/java/migrate/joda/jodatimerecipe.md index cb07312df9..c2a32a93d9 100644 --- a/docs/recipes/java/migrate/joda/jodatimerecipe.md +++ b/docs/recipes/java/migrate/joda/jodatimerecipe.md @@ -13,12 +13,17 @@ _Prefer the Java standard library over third-party usage of Joda Time._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/joda/JodaTime.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/joda/JodaTime.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/joda/nojodatime.md b/docs/recipes/java/migrate/joda/nojodatime.md index c35358c90e..b379d9a053 100644 --- a/docs/recipes/java/migrate/joda/nojodatime.md +++ b/docs/recipes/java/migrate/joda/nojodatime.md @@ -17,11 +17,16 @@ _Before Java 8, Java lacked a robust date and time library, leading to the wides ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-joda-time.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/no-joda-time.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jpacacheproperties.md b/docs/recipes/java/migrate/jpacacheproperties.md index 93cceb0e4d..2d7950eeb9 100644 --- a/docs/recipes/java/migrate/jpacacheproperties.md +++ b/docs/recipes/java/migrate/jpacacheproperties.md @@ -13,12 +13,17 @@ _Sets an explicit value for the shared cache mode._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/JpaCacheProperties.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/JpaCacheProperties.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jre17agentmainpremainpublic.md b/docs/recipes/java/migrate/jre17agentmainpremainpublic.md index 40740469fd..be61639212 100644 --- a/docs/recipes/java/migrate/jre17agentmainpremainpublic.md +++ b/docs/recipes/java/migrate/jre17agentmainpremainpublic.md @@ -17,11 +17,16 @@ _Check for a behavior change in Java agents._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jredonotusesunnetsslapis.md b/docs/recipes/java/migrate/jredonotusesunnetsslapis.md index 9061f54142..8ea0245c86 100644 --- a/docs/recipes/java/migrate/jredonotusesunnetsslapis.md +++ b/docs/recipes/java/migrate/jredonotusesunnetsslapis.md @@ -17,7 +17,12 @@ _Do not use APIs from `com.sun.net.ssl` packages._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jredonotusesunnetsslinternalsslprovider.md b/docs/recipes/java/migrate/jredonotusesunnetsslinternalsslprovider.md index d1a183d8b1..121f83575a 100644 --- a/docs/recipes/java/migrate/jredonotusesunnetsslinternalsslprovider.md +++ b/docs/recipes/java/migrate/jredonotusesunnetsslinternalsslprovider.md @@ -17,11 +17,16 @@ _Do not use the `com.sun.net.ssl.internal.ssl.Provider` class._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocol.md b/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocol.md index 0d5ed74356..4d6f89e23f 100644 --- a/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocol.md +++ b/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocol.md @@ -17,7 +17,12 @@ _Do not use the `com.sun.net.ssl.internal.www.protocol` package._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocolhttpshandler.md b/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocolhttpshandler.md index 88421cd237..ff465b3069 100644 --- a/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocolhttpshandler.md +++ b/docs/recipes/java/migrate/jredonotusesunnetsslinternalwwwprotocolhttpshandler.md @@ -17,7 +17,12 @@ _Do not use the `com.sun.net.ssl.internal.www.protocol.https.Handler` class._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md b/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md index cf7fefc40a..01768ddef2 100644 --- a/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md +++ b/docs/recipes/java/migrate/jrejdbcinterfacenewmethods.md @@ -13,11 +13,16 @@ _Add method implementations stubs to classes that implement JDBC interfaces._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-7.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-7.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -132,7 +137,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jrethrowablefinalmethods.md b/docs/recipes/java/migrate/jrethrowablefinalmethods.md index 64c9edc85b..d78a4f70d7 100644 --- a/docs/recipes/java/migrate/jrethrowablefinalmethods.md +++ b/docs/recipes/java/migrate/jrethrowablefinalmethods.md @@ -13,12 +13,17 @@ _The recipe renames `getSuppressed()` and `addSuppressed(Throwable exception)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/JREThrowableFinalMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/JREThrowableFinalMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/jrewrapperinterface.md b/docs/recipes/java/migrate/jrewrapperinterface.md index 40cfa78fcc..d7251fb1e2 100644 --- a/docs/recipes/java/migrate/jrewrapperinterface.md +++ b/docs/recipes/java/migrate/jrewrapperinterface.md @@ -13,11 +13,16 @@ _Add method implementations stubs to classes that implement `java.sql.Wrapper`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-6.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/krb5loginmoduleclass.md b/docs/recipes/java/migrate/krb5loginmoduleclass.md index a29414e140..2ee17f6a46 100644 --- a/docs/recipes/java/migrate/krb5loginmoduleclass.md +++ b/docs/recipes/java/migrate/krb5loginmoduleclass.md @@ -17,7 +17,12 @@ _Do not use the `com.ibm.security.auth.module.Krb5LoginModule` class._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/explicitrecordimport.md b/docs/recipes/java/migrate/lang/explicitrecordimport.md index f862518e48..5ca33c677e 100644 --- a/docs/recipes/java/migrate/lang/explicitrecordimport.md +++ b/docs/recipes/java/migrate/lang/explicitrecordimport.md @@ -13,12 +13,17 @@ _Add explicit import for `Record` classes when upgrading past Java 14+, to avoid ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/ExplicitRecordImport.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/ExplicitRecordImport.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/javalangapis.md b/docs/recipes/java/migrate/lang/javalangapis.md index d7113cb991..baf506edfd 100644 --- a/docs/recipes/java/migrate/lang/javalangapis.md +++ b/docs/recipes/java/migrate/lang/javalangapis.md @@ -13,11 +13,16 @@ _Certain Java lang APIs have become deprecated and their usages changed, necessi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/migratecharacterisjavaletterordigittoisjavaidentifierpart.md b/docs/recipes/java/migrate/lang/migratecharacterisjavaletterordigittoisjavaidentifierpart.md index 91b506868d..9487280091 100644 --- a/docs/recipes/java/migrate/lang/migratecharacterisjavaletterordigittoisjavaidentifierpart.md +++ b/docs/recipes/java/migrate/lang/migratecharacterisjavaletterordigittoisjavaidentifierpart.md @@ -13,7 +13,12 @@ _Use `Character#isJavaIdentifierPart(char)` instead of the deprecated `Character ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/migratecharacterisjavalettertoisjavaidentifierstart.md b/docs/recipes/java/migrate/lang/migratecharacterisjavalettertoisjavaidentifierstart.md index 66246c9075..c3d67e5133 100644 --- a/docs/recipes/java/migrate/lang/migratecharacterisjavalettertoisjavaidentifierstart.md +++ b/docs/recipes/java/migrate/lang/migratecharacterisjavalettertoisjavaidentifierstart.md @@ -13,7 +13,12 @@ _Use `Character#isJavaIdentifierStart(char)` instead of the deprecated `Characte ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/migratecharacterisspacetoiswhitespace.md b/docs/recipes/java/migrate/lang/migratecharacterisspacetoiswhitespace.md index 2e712e8fcc..1dc9aa3503 100644 --- a/docs/recipes/java/migrate/lang/migratecharacterisspacetoiswhitespace.md +++ b/docs/recipes/java/migrate/lang/migratecharacterisspacetoiswhitespace.md @@ -13,7 +13,12 @@ _Use `Character#isWhitespace(char)` instead of the deprecated `Character#isSpace ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/migrateclassloaderdefineclass.md b/docs/recipes/java/migrate/lang/migrateclassloaderdefineclass.md index 36b661d28c..d8a254d706 100644 --- a/docs/recipes/java/migrate/lang/migrateclassloaderdefineclass.md +++ b/docs/recipes/java/migrate/lang/migrateclassloaderdefineclass.md @@ -17,12 +17,17 @@ _Use `ClassLoader#defineClass(String, byte[], int, int)` instead of the deprecat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassLoaderDefineClass.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassLoaderDefineClass.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/migrateclassnewinstancetogetdeclaredconstructornewinstance.md b/docs/recipes/java/migrate/lang/migrateclassnewinstancetogetdeclaredconstructornewinstance.md index a80e0eb9d2..02168bc0e2 100644 --- a/docs/recipes/java/migrate/lang/migrateclassnewinstancetogetdeclaredconstructornewinstance.md +++ b/docs/recipes/java/migrate/lang/migrateclassnewinstancetogetdeclaredconstructornewinstance.md @@ -17,12 +17,17 @@ _Use `Class#getDeclaredConstructor().newInstance()` instead of the deprecated `C ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassNewInstanceToGetDeclaredConstructorNewInstance.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassNewInstanceToGetDeclaredConstructorNewInstance.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/migrateruntimeversionmajortofeature.md b/docs/recipes/java/migrate/lang/migrateruntimeversionmajortofeature.md index 688e44352b..fd51ab5e6c 100644 --- a/docs/recipes/java/migrate/lang/migrateruntimeversionmajortofeature.md +++ b/docs/recipes/java/migrate/lang/migrateruntimeversionmajortofeature.md @@ -13,7 +13,12 @@ _Use `Runtime.Version#feature()` instead of the deprecated `Runtime.Version#majo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/migrateruntimeversionminortointerim.md b/docs/recipes/java/migrate/lang/migrateruntimeversionminortointerim.md index 53e705c4c4..4247438cbf 100644 --- a/docs/recipes/java/migrate/lang/migrateruntimeversionminortointerim.md +++ b/docs/recipes/java/migrate/lang/migrateruntimeversionminortointerim.md @@ -13,7 +13,12 @@ _Use `Runtime.Version#interim()` instead of the deprecated `Runtime.Version#mino ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/migrateruntimeversionsecuritytoupdate.md b/docs/recipes/java/migrate/lang/migrateruntimeversionsecuritytoupdate.md index c3447730c8..0b50d4da0d 100644 --- a/docs/recipes/java/migrate/lang/migrateruntimeversionsecuritytoupdate.md +++ b/docs/recipes/java/migrate/lang/migrateruntimeversionsecuritytoupdate.md @@ -13,7 +13,12 @@ _Use `Runtime.Version#update()` instead of the deprecated `Runtime.Version#secur ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/migratesecuritymanagermulticast.md b/docs/recipes/java/migrate/lang/migratesecuritymanagermulticast.md index c6f0f0b09d..a72d9f7465 100644 --- a/docs/recipes/java/migrate/lang/migratesecuritymanagermulticast.md +++ b/docs/recipes/java/migrate/lang/migratesecuritymanagermulticast.md @@ -17,12 +17,17 @@ _Use `SecurityManager#checkMulticast(InetAddress)` instead of the deprecated `Se ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/MigrateSecurityManagerMulticast.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/MigrateSecurityManagerMulticast.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/stringformatted.md b/docs/recipes/java/migrate/lang/stringformatted.md index 208d75d293..8cbaec81aa 100644 --- a/docs/recipes/java/migrate/lang/stringformatted.md +++ b/docs/recipes/java/migrate/lang/stringformatted.md @@ -13,18 +13,23 @@ _Prefer `String.formatted(Object...)` over `String.format(String, Object...)` in ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringFormatted.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringFormatted.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | addParentheses | *Optional*. Add parentheses around the first argument if it is not a simple expression. Default true; if false no change will be made. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofcharrecipe.md b/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofcharrecipe.md index c4ad66f2de..a9cd14cfea 100644 --- a/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofcharrecipe.md +++ b/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofcharrecipe.md @@ -13,12 +13,17 @@ _Replace `String.indexOf(char ch, int fromIndex)` with `String.indexOf(char)`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofstringrecipe.md b/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofstringrecipe.md index 4a95829e5a..c4d9b967a1 100644 --- a/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofstringrecipe.md +++ b/docs/recipes/java/migrate/lang/stringrulesrecipes$indexofstringrecipe.md @@ -13,12 +13,17 @@ _Replace `String.indexOf(String str, int fromIndex)` with `String.indexOf(String ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/stringrulesrecipes$redundantcallrecipe.md b/docs/recipes/java/migrate/lang/stringrulesrecipes$redundantcallrecipe.md index adfc22e6b2..c96d428940 100644 --- a/docs/recipes/java/migrate/lang/stringrulesrecipes$redundantcallrecipe.md +++ b/docs/recipes/java/migrate/lang/stringrulesrecipes$redundantcallrecipe.md @@ -13,12 +13,17 @@ _Replace redundant `substring(..)` and `toString()` method calls with the `Strin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/stringrulesrecipes$useequalsignorecaserecipe.md b/docs/recipes/java/migrate/lang/stringrulesrecipes$useequalsignorecaserecipe.md index c0f26bb6c6..f1c14e40ef 100644 --- a/docs/recipes/java/migrate/lang/stringrulesrecipes$useequalsignorecaserecipe.md +++ b/docs/recipes/java/migrate/lang/stringrulesrecipes$useequalsignorecaserecipe.md @@ -13,12 +13,17 @@ _Replace `String` equality comparisons involving `.toLowerCase()` or `.toUpperCa ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/stringrulesrecipes.md b/docs/recipes/java/migrate/lang/stringrulesrecipes.md index 4990d07b83..e7ac4a808b 100644 --- a/docs/recipes/java/migrate/lang/stringrulesrecipes.md +++ b/docs/recipes/java/migrate/lang/stringrulesrecipes.md @@ -13,11 +13,16 @@ _A collection of rules for refactoring methods called on `String` instances in J ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/threadstopunsupported.md b/docs/recipes/java/migrate/lang/threadstopunsupported.md index 49e55e0b8d..22107e324a 100644 --- a/docs/recipes/java/migrate/lang/threadstopunsupported.md +++ b/docs/recipes/java/migrate/lang/threadstopunsupported.md @@ -13,12 +13,17 @@ _`Thread.resume()`, `Thread.stop()`, and `Thread.suspend()` always throws a `new ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/ThreadStopUnsupported.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/ThreadStopUnsupported.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/usestringisemptyrecipe.md b/docs/recipes/java/migrate/lang/usestringisemptyrecipe.md index 111b9ab387..4cacf0a451 100644 --- a/docs/recipes/java/migrate/lang/usestringisemptyrecipe.md +++ b/docs/recipes/java/migrate/lang/usestringisemptyrecipe.md @@ -16,12 +16,17 @@ Replace `0 < s.length()` and `s.length() != 0` with `!s.isEmpty()`. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/UseStringIsEmpty.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/UseStringIsEmpty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/usetextblocks.md b/docs/recipes/java/migrate/lang/usetextblocks.md index 91cee6ff01..ea02c76c8d 100644 --- a/docs/recipes/java/migrate/lang/usetextblocks.md +++ b/docs/recipes/java/migrate/lang/usetextblocks.md @@ -13,18 +13,23 @@ _Text blocks are easier to read than concatenated strings._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/UseTextBlocks.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/UseTextBlocks.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `boolean` | convertStringsWithoutNewlines | *Optional*. Whether or not strings without newlines should be converted to text block when processing code. The default value is true. | `true` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/usevar.md b/docs/recipes/java/migrate/lang/usevar.md index bf5880a8a7..140ad7c584 100644 --- a/docs/recipes/java/migrate/lang/usevar.md +++ b/docs/recipes/java/migrate/lang/usevar.md @@ -19,11 +19,16 @@ _Apply local variable type inference (`var`) for primitives and objects. These r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-var.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-lang-var.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/var/usevarforgenericmethodinvocations.md b/docs/recipes/java/migrate/lang/var/usevarforgenericmethodinvocations.md index 3d82c85473..10eb38687a 100644 --- a/docs/recipes/java/migrate/lang/var/usevarforgenericmethodinvocations.md +++ b/docs/recipes/java/migrate/lang/var/usevarforgenericmethodinvocations.md @@ -13,12 +13,17 @@ _Apply `var` to variables initialized by invocations of Generic Methods. This re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericMethodInvocations.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericMethodInvocations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md b/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md index 071650f165..ba95975cd9 100644 --- a/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md +++ b/docs/recipes/java/migrate/lang/var/usevarforgenericsconstructors.md @@ -13,12 +13,17 @@ _Apply `var` to generics variables initialized by constructor calls._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericsConstructors.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericsConstructors.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/var/usevarforobject.md b/docs/recipes/java/migrate/lang/var/usevarforobject.md index d22ba8f111..162bef7841 100644 --- a/docs/recipes/java/migrate/lang/var/usevarforobject.md +++ b/docs/recipes/java/migrate/lang/var/usevarforobject.md @@ -13,12 +13,17 @@ _Try to apply local variable type inference `var` to variables containing Object ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForObject.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForObject.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lang/var/usevarforprimitive.md b/docs/recipes/java/migrate/lang/var/usevarforprimitive.md index 49dd2a780e..0a28e713ca 100644 --- a/docs/recipes/java/migrate/lang/var/usevarforprimitive.md +++ b/docs/recipes/java/migrate/lang/var/usevarforprimitive.md @@ -13,12 +13,17 @@ _Try to apply local variable type inference `var` to primitive variables where p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/logging/javaloggingapis.md b/docs/recipes/java/migrate/logging/javaloggingapis.md index 296477f0f0..ba4648b61e 100644 --- a/docs/recipes/java/migrate/logging/javaloggingapis.md +++ b/docs/recipes/java/migrate/logging/javaloggingapis.md @@ -17,11 +17,16 @@ _Certain Java logging APIs have become deprecated and their usages changed, nece ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-logging-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-logging-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/logging/migrategetloggingmxbeantogetplatformmxbean.md b/docs/recipes/java/migrate/logging/migrategetloggingmxbeantogetplatformmxbean.md index d3f2ac4237..a8dd1f6fb1 100644 --- a/docs/recipes/java/migrate/logging/migrategetloggingmxbeantogetplatformmxbean.md +++ b/docs/recipes/java/migrate/logging/migrategetloggingmxbeantogetplatformmxbean.md @@ -17,12 +17,17 @@ _Use `ManagementFactory#getPlatformMXBean(PlatformLoggingMXBean.class)` instead ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/logging/MigrateGetLoggingMXBeanToGetPlatformMXBean.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/logging/MigrateGetLoggingMXBeanToGetPlatformMXBean.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/logging/migrateinterfaceloggingmxbeantoplatformloggingmxbean.md b/docs/recipes/java/migrate/logging/migrateinterfaceloggingmxbeantoplatformloggingmxbean.md index dab4c28651..c9375ed237 100644 --- a/docs/recipes/java/migrate/logging/migrateinterfaceloggingmxbeantoplatformloggingmxbean.md +++ b/docs/recipes/java/migrate/logging/migrateinterfaceloggingmxbeantoplatformloggingmxbean.md @@ -13,7 +13,12 @@ _Use `java.lang.management.PlatformLoggingMXBean` instead of the deprecated `jav ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-logging-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-logging-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/logging/migrateloggerglobaltogetglobal.md b/docs/recipes/java/migrate/logging/migrateloggerglobaltogetglobal.md index 516736d8c0..f5923125f1 100644 --- a/docs/recipes/java/migrate/logging/migrateloggerglobaltogetglobal.md +++ b/docs/recipes/java/migrate/logging/migrateloggerglobaltogetglobal.md @@ -13,12 +13,17 @@ _The preferred way to get the global logger object is via the call `Logger#getGl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerGlobalToGetGlobal.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerGlobalToGetGlobal.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/logging/migrateloggerlogrbtouseresourcebundle.md b/docs/recipes/java/migrate/logging/migrateloggerlogrbtouseresourcebundle.md index 9f1b068928..2bc21fd520 100644 --- a/docs/recipes/java/migrate/logging/migrateloggerlogrbtouseresourcebundle.md +++ b/docs/recipes/java/migrate/logging/migrateloggerlogrbtouseresourcebundle.md @@ -17,12 +17,17 @@ _Use `Logger#logrb(.., ResourceBundle bundleName, ..)` instead of the deprecated ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerLogrbToUseResourceBundle.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerLogrbToUseResourceBundle.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/logging/migratelogrecordsetmillistosetinstant.md b/docs/recipes/java/migrate/logging/migratelogrecordsetmillistosetinstant.md index 49bbba84c1..2dc65f0c76 100644 --- a/docs/recipes/java/migrate/logging/migratelogrecordsetmillistosetinstant.md +++ b/docs/recipes/java/migrate/logging/migratelogrecordsetmillistosetinstant.md @@ -17,12 +17,17 @@ _Use `LogRecord#setInstant(Instant)` instead of the deprecated `LogRecord#setMil ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/logging/MigrateLogRecordSetMillisToSetInstant.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/logging/MigrateLogRecordSetMillisToSetInstant.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md b/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md index ec5eb5d537..b488122f4c 100644 --- a/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md +++ b/docs/recipes/java/migrate/lombok/lombokvaltofinalvar.md @@ -17,12 +17,17 @@ _Prefer the Java standard library's `final var` and `var` over third-party usage ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVar.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVar.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lombok/lombokvaluetorecord.md b/docs/recipes/java/migrate/lombok/lombokvaluetorecord.md index fef04a7c4d..92f6b79f9e 100644 --- a/docs/recipes/java/migrate/lombok/lombokvaluetorecord.md +++ b/docs/recipes/java/migrate/lombok/lombokvaluetorecord.md @@ -17,18 +17,23 @@ _Convert Lombok `@Value` annotated classes to standard Java Records._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/LombokValueToRecord.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/LombokValueToRecord.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | useExactToString | *Optional*. When set the `toString` format from Lombok is used in the migrated record. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lombok/updatelomboktojava11.md b/docs/recipes/java/migrate/lombok/updatelomboktojava11.md index dd76abeaae..4dd650c1a7 100644 --- a/docs/recipes/java/migrate/lombok/updatelomboktojava11.md +++ b/docs/recipes/java/migrate/lombok/updatelomboktojava11.md @@ -18,11 +18,16 @@ _Update Lombok dependency to a version that is compatible with Java 11 and migra ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/lombok.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/lombok.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -90,7 +95,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lombok/uselombokgetter.md b/docs/recipes/java/migrate/lombok/uselombokgetter.md index 5c9183085f..426f01a83b 100644 --- a/docs/recipes/java/migrate/lombok/uselombokgetter.md +++ b/docs/recipes/java/migrate/lombok/uselombokgetter.md @@ -17,12 +17,17 @@ _Convert trivial getter methods to `@Getter` annotations on their respective fie ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/UseLombokGetter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/UseLombokGetter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/lombok/uselomboksetter.md b/docs/recipes/java/migrate/lombok/uselomboksetter.md index 4c52660d81..e1ce2ee8bd 100644 --- a/docs/recipes/java/migrate/lombok/uselomboksetter.md +++ b/docs/recipes/java/migrate/lombok/uselomboksetter.md @@ -17,12 +17,17 @@ _Convert trivial setter methods to `@Setter` annotations on their respective fie ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/UseLombokSetter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/lombok/UseLombokSetter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/maven/updatemavenprojectpropertyjavaversion.md b/docs/recipes/java/migrate/maven/updatemavenprojectpropertyjavaversion.md index 95789cebdf..46a1489a7a 100644 --- a/docs/recipes/java/migrate/maven/updatemavenprojectpropertyjavaversion.md +++ b/docs/recipes/java/migrate/maven/updatemavenprojectpropertyjavaversion.md @@ -13,18 +13,23 @@ _The Java version is determined by several project properties, including: * `j ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/maven/UpdateMavenProjectPropertyJavaVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/maven/UpdateMavenProjectPropertyJavaVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Integer` | version | The Java version to upgrade to. | `11` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpdateMavenProjectPropertyJavaVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpdateMavenProjectPropertyJavaVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpdateMavenProjectPropertyJavaVersionExample displayName: Update Maven Java project properties example recipeList: - - org.openrewrite.java.migrate.maven.UpdateMavenProjectPropertyJavaVersion: - version: 11 + - org.openrewrite.java.migrate.maven.UpdateMavenProjectPropertyJavaVersion: version: 11 ``` Now that `com.yourorg.UpdateMavenProjectPropertyJavaVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_REWRITE_MIGRATE_JAVA}}` in your build file: diff --git a/docs/recipes/java/migrate/maven/usemavencompilerpluginreleaseconfiguration.md b/docs/recipes/java/migrate/maven/usemavencompilerpluginreleaseconfiguration.md index e0f00a6ff7..cda0484df9 100644 --- a/docs/recipes/java/migrate/maven/usemavencompilerpluginreleaseconfiguration.md +++ b/docs/recipes/java/migrate/maven/usemavencompilerpluginreleaseconfiguration.md @@ -13,18 +13,23 @@ _Replaces any explicit `source` or `target` configuration (if present) on the `m ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/maven/UseMavenCompilerPluginReleaseConfiguration.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/maven/UseMavenCompilerPluginReleaseConfiguration.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Integer` | releaseVersion | The new value for the release configuration. This recipe prefers `${java.version}` if defined. | `11` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseMavenCompilerPluginReleaseConfigurationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseMavenCompilerPluginReleaseConfigurationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UseMavenCompilerPluginReleaseConfigurationExample displayName: Use Maven compiler plugin release configuration example recipeList: - - org.openrewrite.java.migrate.maven.UseMavenCompilerPluginReleaseConfiguration: - releaseVersion: 11 + - org.openrewrite.java.migrate.maven.UseMavenCompilerPluginReleaseConfiguration: releaseVersion: 11 ``` Now that `com.yourorg.UseMavenCompilerPluginReleaseConfigurationExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_REWRITE_MIGRATE_JAVA}}` in your build file: diff --git a/docs/recipes/java/migrate/metrics/simplifymicrometermetertags.md b/docs/recipes/java/migrate/metrics/simplifymicrometermetertags.md index 5d270917b6..5b05cc094e 100644 --- a/docs/recipes/java/migrate/metrics/simplifymicrometermetertags.md +++ b/docs/recipes/java/migrate/metrics/simplifymicrometermetertags.md @@ -17,12 +17,17 @@ _Use the simplest method to add new tags._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/metrics/SimplifyMicrometerMeterTags.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/metrics/SimplifyMicrometerMeterTags.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/mxbeanrule.md b/docs/recipes/java/migrate/mxbeanrule.md index 98a420fcf4..83ae4f84ad 100644 --- a/docs/recipes/java/migrate/mxbeanrule.md +++ b/docs/recipes/java/migrate/mxbeanrule.md @@ -13,12 +13,17 @@ _Sets visibility of MBean and MXBean interfaces to public._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/MXBeanRule.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/MXBeanRule.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/net/javanetapis.md b/docs/recipes/java/migrate/net/javanetapis.md index 540710a31e..e67110b4df 100644 --- a/docs/recipes/java/migrate/net/javanetapis.md +++ b/docs/recipes/java/migrate/net/javanetapis.md @@ -17,11 +17,16 @@ _Certain Java networking APIs have become deprecated and their usages changed, n ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-net-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-net-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/net/migratehttpurlconnectionhttpservererrortohttpinternalerror.md b/docs/recipes/java/migrate/net/migratehttpurlconnectionhttpservererrortohttpinternalerror.md index 7903fbf601..b0641cb6d3 100644 --- a/docs/recipes/java/migrate/net/migratehttpurlconnectionhttpservererrortohttpinternalerror.md +++ b/docs/recipes/java/migrate/net/migratehttpurlconnectionhttpservererrortohttpinternalerror.md @@ -17,12 +17,17 @@ _Use `java.net.HttpURLConnection.HTTP_INTERNAL_ERROR` instead of the deprecated ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/MigrateHttpURLConnectionHttpServerErrorToHttpInternalError.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/MigrateHttpURLConnectionHttpServerErrorToHttpInternalError.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/net/migratemulticastsocketgetttltogettimetolive.md b/docs/recipes/java/migrate/net/migratemulticastsocketgetttltogettimetolive.md index 522adc2d36..09faf20d20 100644 --- a/docs/recipes/java/migrate/net/migratemulticastsocketgetttltogettimetolive.md +++ b/docs/recipes/java/migrate/net/migratemulticastsocketgetttltogettimetolive.md @@ -13,7 +13,12 @@ _Use `java.net.MulticastSocket#getTimeToLive()` instead of the deprecated `java. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-net-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-net-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/net/migratemulticastsocketsetttltosettimetolive.md b/docs/recipes/java/migrate/net/migratemulticastsocketsetttltosettimetolive.md index 0629ad3e81..61ab41a5f3 100644 --- a/docs/recipes/java/migrate/net/migratemulticastsocketsetttltosettimetolive.md +++ b/docs/recipes/java/migrate/net/migratemulticastsocketsetttltosettimetolive.md @@ -17,12 +17,17 @@ _Use `java.net.MulticastSocket#setTimeToLive(int)` instead of the deprecated `ja ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/MigrateMulticastSocketSetTTLToSetTimeToLive.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/MigrateMulticastSocketSetTTLToSetTimeToLive.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/net/migrateurldecoderdecode.md b/docs/recipes/java/migrate/net/migrateurldecoderdecode.md index fc238066e7..661c7e1578 100644 --- a/docs/recipes/java/migrate/net/migrateurldecoderdecode.md +++ b/docs/recipes/java/migrate/net/migrateurldecoderdecode.md @@ -17,12 +17,17 @@ _Use `java.net.URLDecoder#decode(String, StandardCharsets.UTF_8)` instead of the ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/MigrateURLDecoderDecode.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/MigrateURLDecoderDecode.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/net/migrateurlencoderencode.md b/docs/recipes/java/migrate/net/migrateurlencoderencode.md index 0b6fdc3d7b..26cdc2a90d 100644 --- a/docs/recipes/java/migrate/net/migrateurlencoderencode.md +++ b/docs/recipes/java/migrate/net/migrateurlencoderencode.md @@ -17,12 +17,17 @@ _Use `java.net.URLEncoder#encode(String, StandardCharsets.UTF_8)` instead of the ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/MigrateURLEncoderEncode.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/MigrateURLEncoderEncode.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlfourargumentconstructorrecipe.md b/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlfourargumentconstructorrecipe.md index 23be9e742e..0a2b23c64b 100644 --- a/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlfourargumentconstructorrecipe.md +++ b/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlfourargumentconstructorrecipe.md @@ -13,12 +13,17 @@ _Converts `new URL(String, String, int, String)` constructors to `new URI(...).t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlsingleargumentconstructorrecipe.md b/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlsingleargumentconstructorrecipe.md index cca8764259..3c13eba5fe 100644 --- a/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlsingleargumentconstructorrecipe.md +++ b/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlsingleargumentconstructorrecipe.md @@ -13,12 +13,17 @@ _Converts `new URL(String)` constructors to `URI.create(String).toURL()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlthreeargumentconstructorrecipe.md b/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlthreeargumentconstructorrecipe.md index 4bc02040fd..06b73cd311 100644 --- a/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlthreeargumentconstructorrecipe.md +++ b/docs/recipes/java/migrate/net/urlconstructorstourirecipes$urlthreeargumentconstructorrecipe.md @@ -13,12 +13,17 @@ _Converts `new URL(String, String, String)` constructors to `new URI(...).toURL( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/net/urlconstructorstourirecipes.md b/docs/recipes/java/migrate/net/urlconstructorstourirecipes.md index d147c6eca5..725695f484 100644 --- a/docs/recipes/java/migrate/net/urlconstructorstourirecipes.md +++ b/docs/recipes/java/migrate/net/urlconstructorstourirecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `org.openrewrite.java.migrate.net.URLConstructors ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/nio/file/pathsgettopathof.md b/docs/recipes/java/migrate/nio/file/pathsgettopathof.md index 45a3f4acef..1a3a34fa7e 100644 --- a/docs/recipes/java/migrate/nio/file/pathsgettopathof.md +++ b/docs/recipes/java/migrate/nio/file/pathsgettopathof.md @@ -17,11 +17,16 @@ _The `java.nio.file.Paths.get` method was introduced in Java SE 7. The `java.nio ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/referenceclonemethod.md b/docs/recipes/java/migrate/referenceclonemethod.md index c2acd96de6..06dd7f36d1 100644 --- a/docs/recipes/java/migrate/referenceclonemethod.md +++ b/docs/recipes/java/migrate/referenceclonemethod.md @@ -13,12 +13,17 @@ _The recipe replaces any clone calls that may resolve to a `java.lang.ref.Refere ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ReferenceCloneMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ReferenceCloneMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedfileiofinalizemethods.md b/docs/recipes/java/migrate/removedfileiofinalizemethods.md index f065e3a434..a6ca34655b 100644 --- a/docs/recipes/java/migrate/removedfileiofinalizemethods.md +++ b/docs/recipes/java/migrate/removedfileiofinalizemethods.md @@ -17,11 +17,16 @@ _The `finalize` method in `java.io.FileInputStream` and `java.io.FileOutputStrea ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedjavaxmlwsmoduleprovided.md b/docs/recipes/java/migrate/removedjavaxmlwsmoduleprovided.md index fe02adc0fa..0b4a56d8cc 100644 --- a/docs/recipes/java/migrate/removedjavaxmlwsmoduleprovided.md +++ b/docs/recipes/java/migrate/removedjavaxmlwsmoduleprovided.md @@ -17,7 +17,12 @@ _The `java.xml.ws` module was removed in Java11. Websphere Liberty provides its ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedjaxbmoduleprovided.md b/docs/recipes/java/migrate/removedjaxbmoduleprovided.md index 34e951e85b..8538fd9b90 100644 --- a/docs/recipes/java/migrate/removedjaxbmoduleprovided.md +++ b/docs/recipes/java/migrate/removedjaxbmoduleprovided.md @@ -17,11 +17,16 @@ _The `java.xml.bind` and `java.activation` modules were removed in Java11. Websp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/ibm-java.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedlegacysunjsseprovidername.md b/docs/recipes/java/migrate/removedlegacysunjsseprovidername.md index 8595c5baa7..0b8c5d01df 100644 --- a/docs/recipes/java/migrate/removedlegacysunjsseprovidername.md +++ b/docs/recipes/java/migrate/removedlegacysunjsseprovidername.md @@ -17,7 +17,12 @@ _The `com.sun.net.ssl.internal.ssl.Provider` provider name was removed._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedmodifierandconstantbootstrapsconstructors.md b/docs/recipes/java/migrate/removedmodifierandconstantbootstrapsconstructors.md index 7e42634465..9063a6d9f1 100644 --- a/docs/recipes/java/migrate/removedmodifierandconstantbootstrapsconstructors.md +++ b/docs/recipes/java/migrate/removedmodifierandconstantbootstrapsconstructors.md @@ -13,11 +13,16 @@ _The `java.lang.reflect.Modifier()` and `java.lang.invoke.ConstantBootstraps()` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedpolicy.md b/docs/recipes/java/migrate/removedpolicy.md index fcb92a78c4..4ccb2a1de8 100644 --- a/docs/recipes/java/migrate/removedpolicy.md +++ b/docs/recipes/java/migrate/removedpolicy.md @@ -17,7 +17,12 @@ _The `javax.security.auth.Policy` class is not available from Java SE 11 onwards ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedrmiconnectorservercredentialtypesconstant.md b/docs/recipes/java/migrate/removedrmiconnectorservercredentialtypesconstant.md index bd00d91a4d..40959d0a75 100644 --- a/docs/recipes/java/migrate/removedrmiconnectorservercredentialtypesconstant.md +++ b/docs/recipes/java/migrate/removedrmiconnectorservercredentialtypesconstant.md @@ -17,7 +17,12 @@ _This recipe replaces the `RMIConnectorServer.CREDENTIAL_TYPES` constant with th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedruntimetracemethods.md b/docs/recipes/java/migrate/removedruntimetracemethods.md index cfc9aa3fe8..06a05136b7 100644 --- a/docs/recipes/java/migrate/removedruntimetracemethods.md +++ b/docs/recipes/java/migrate/removedruntimetracemethods.md @@ -17,11 +17,16 @@ _The `traceInstructions` and `traceMethodCalls` methods in `java.lang.Runtime` w ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedsecuritymanagermethods.md b/docs/recipes/java/migrate/removedsecuritymanagermethods.md index bd9053f2ad..6c7828af04 100644 --- a/docs/recipes/java/migrate/removedsecuritymanagermethods.md +++ b/docs/recipes/java/migrate/removedsecuritymanagermethods.md @@ -13,12 +13,17 @@ _Replace `SecurityManager` methods `checkAwtEventQueueAccess()`, `checkSystemCli ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/RemovedSecurityManagerMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/RemovedSecurityManagerMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedsslsessiongetpeercertificatechainmethodimpl.md b/docs/recipes/java/migrate/removedsslsessiongetpeercertificatechainmethodimpl.md index c767b20a20..e01396715b 100644 --- a/docs/recipes/java/migrate/removedsslsessiongetpeercertificatechainmethodimpl.md +++ b/docs/recipes/java/migrate/removedsslsessiongetpeercertificatechainmethodimpl.md @@ -17,7 +17,12 @@ _The `javax.net.ssl.SSLSession.getPeerCertificateChain()` method implementation ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedsubjectmethods.md b/docs/recipes/java/migrate/removedsubjectmethods.md index a091a8314f..4a8ea2154f 100644 --- a/docs/recipes/java/migrate/removedsubjectmethods.md +++ b/docs/recipes/java/migrate/removedsubjectmethods.md @@ -17,11 +17,16 @@ _Replaces the `javax.security.auth.Subject.getSubject()` and `javax.security.aut ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedtoolproviderconstructor.md b/docs/recipes/java/migrate/removedtoolproviderconstructor.md index 35cd9904c9..819daca3c8 100644 --- a/docs/recipes/java/migrate/removedtoolproviderconstructor.md +++ b/docs/recipes/java/migrate/removedtoolproviderconstructor.md @@ -13,7 +13,12 @@ _The `javax.tools.ToolProvider()` constructor has been removed in Java SE 16 sin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removedzipfinalizemethods.md b/docs/recipes/java/migrate/removedzipfinalizemethods.md index 26a6c5953a..3530994a74 100644 --- a/docs/recipes/java/migrate/removedzipfinalizemethods.md +++ b/docs/recipes/java/migrate/removedzipfinalizemethods.md @@ -17,11 +17,16 @@ _The `finalize` method in `java.util.zip.ZipFile` is replaced with the `close` m ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/removeillegalsemicolons.md b/docs/recipes/java/migrate/removeillegalsemicolons.md index 939feb9b6a..21a1fcaa30 100644 --- a/docs/recipes/java/migrate/removeillegalsemicolons.md +++ b/docs/recipes/java/migrate/removeillegalsemicolons.md @@ -13,12 +13,17 @@ _Remove semicolons after package declarations and imports, no longer accepted in ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/RemoveIllegalSemicolons.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/RemoveIllegalSemicolons.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/replaceawtgetpeermethod.md b/docs/recipes/java/migrate/replaceawtgetpeermethod.md index 2ba2fee696..c913022f83 100644 --- a/docs/recipes/java/migrate/replaceawtgetpeermethod.md +++ b/docs/recipes/java/migrate/replaceawtgetpeermethod.md @@ -13,8 +13,9 @@ _This recipe replaces the use of `getPeer()` method in `java.awt.*` classes. `co ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _This recipe replaces the use of `getPeer()` method in `java.awt.*` classes. `co | `String` | getPeerMethodPattern | *Optional*. The [method pattern](/reference/method-patterns) to match and replace. | `java.awt.* getPeer()` | | `String` | lightweightPeerFQCN | *Optional*. The fully qualified class name of the LightweightPeer interface to replace in `instanceof`. | `java.awt.peer.LightweightPeer` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md b/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md index ba2e8b38f2..2c9ab91af2 100644 --- a/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md +++ b/docs/recipes/java/migrate/replacecomsunawtutilitiesmethods.md @@ -13,8 +13,9 @@ _This recipe replaces several static calls in `com.sun.awt.AWTUtilities` with t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ReplaceComSunAWTUtilitiesMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ReplaceComSunAWTUtilitiesMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | @@ -27,10 +28,14 @@ _This recipe replaces several static calls in `com.sun.awt.AWTUtilities` with t | `String` | getWindowShapePattern | *Optional*. The [method pattern](/reference/method-patterns) to match and replace. | `com.test.AWTUtilitiesTest getWindowShape(java.awt.Window)` | | `String` | setComponentMixingCutoutShapePattern | *Optional*. The [method pattern](/reference/method-patterns) to match and replace. | `com.test.AWTUtilities setComponentMixingCutoutShape(java.awt.Component,java.awt.Shape)` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/replacelocalizedstreammethods.md b/docs/recipes/java/migrate/replacelocalizedstreammethods.md index 39df27ae8b..6ff1f9e5ad 100644 --- a/docs/recipes/java/migrate/replacelocalizedstreammethods.md +++ b/docs/recipes/java/migrate/replacelocalizedstreammethods.md @@ -13,8 +13,9 @@ _Replaces `Runtime.getLocalizedInputStream(InputStream)` and `Runtime.getLocaliz ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ReplaceLocalizedStreamMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ReplaceLocalizedStreamMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Replaces `Runtime.getLocalizedInputStream(InputStream)` and `Runtime.getLocaliz | `String` | localizedInputStreamMethodMatcher | *Optional*. The [method pattern](/reference/method-patterns) to match and replace. | `java.lang.Runtime getLocalizedInputStream(java.io.InputStream)` | | `String` | localizedOutputStreamMethodMatcher | *Optional*. The [method pattern](/reference/method-patterns) to match and replace. | `java.lang.Runtime getLocalizedOutputStream(java.io.OutputStream)` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/replacestringliteralvalue.md b/docs/recipes/java/migrate/replacestringliteralvalue.md index 477c53d566..f738a27cbd 100644 --- a/docs/recipes/java/migrate/replacestringliteralvalue.md +++ b/docs/recipes/java/migrate/replacestringliteralvalue.md @@ -13,8 +13,9 @@ _Replace the value of a complete `String` literal._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ReplaceStringLiteralValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/ReplaceStringLiteralValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Replace the value of a complete `String` literal._ | `String` | oldLiteralValue | The `String` value to replace. | `apple` | | `String` | newLiteralValue | The `String` value to replace with. | `orange` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceStringLiteralValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceStringLiteralValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ReplaceStringLiteralValueExample displayName: Replace `String` literal example recipeList: - - org.openrewrite.java.migrate.ReplaceStringLiteralValue: - oldLiteralValue: apple + - org.openrewrite.java.migrate.ReplaceStringLiteralValue: oldLiteralValue: apple newLiteralValue: orange ``` diff --git a/docs/recipes/java/migrate/search/aboutjavaversion.md b/docs/recipes/java/migrate/search/aboutjavaversion.md index 4d241bcfa7..d720c2f7d2 100644 --- a/docs/recipes/java/migrate/search/aboutjavaversion.md +++ b/docs/recipes/java/migrate/search/aboutjavaversion.md @@ -13,18 +13,23 @@ _A diagnostic for studying the distribution of Java language version levels (bot ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/AboutJavaVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/AboutJavaVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | whenUsesType | *Optional*. Only mark the Java version when this type is in use. | `lombok.val` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/search/finddatausedondto.md b/docs/recipes/java/migrate/search/finddatausedondto.md index e1946f73ef..c4d871c3f6 100644 --- a/docs/recipes/java/migrate/search/finddatausedondto.md +++ b/docs/recipes/java/migrate/search/finddatausedondto.md @@ -13,18 +13,23 @@ _Find data elements used on DTOs. This is useful to provide information where da ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/FindDataUsedOnDto.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/FindDataUsedOnDto.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | dtoType | The fully qualified name of the DTO. | `com.example.dto.*` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindDataUsedOnDtoExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindDataUsedOnDtoExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindDataUsedOnDtoExample displayName: Find data used on DTOs example recipeList: - - org.openrewrite.java.migrate.search.FindDataUsedOnDto: - dtoType: com.example.dto.* + - org.openrewrite.java.migrate.search.FindDataUsedOnDto: dtoType: com.example.dto.* ``` Now that `com.yourorg.FindDataUsedOnDtoExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_REWRITE_MIGRATE_JAVA}}` in your build file: diff --git a/docs/recipes/java/migrate/search/finddtooverfetching.md b/docs/recipes/java/migrate/search/finddtooverfetching.md index b3171dcd12..08de182a27 100644 --- a/docs/recipes/java/migrate/search/finddtooverfetching.md +++ b/docs/recipes/java/migrate/search/finddtooverfetching.md @@ -13,18 +13,23 @@ _Find methods that have 'opportunities' for improvement._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/FindDtoOverfetching.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/FindDtoOverfetching.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | dtoType | The fully qualified name of the DTO. | `com.example.dto.*` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindDtoOverfetchingExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindDtoOverfetchingExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindDtoOverfetchingExample displayName: Find methods that only use one DTO data element example recipeList: - - org.openrewrite.java.migrate.search.FindDtoOverfetching: - dtoType: com.example.dto.* + - org.openrewrite.java.migrate.search.FindDtoOverfetching: dtoType: com.example.dto.* ``` Now that `com.yourorg.FindDtoOverfetchingExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_REWRITE_MIGRATE_JAVA}}` in your build file: diff --git a/docs/recipes/java/migrate/search/findinternaljavaxapis.md b/docs/recipes/java/migrate/search/findinternaljavaxapis.md index 773ab5b6f0..d427e340e4 100644 --- a/docs/recipes/java/migrate/search/findinternaljavaxapis.md +++ b/docs/recipes/java/migrate/search/findinternaljavaxapis.md @@ -13,18 +13,23 @@ _The libraries that define these APIs will have to be migrated before any of the ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/FindInternalJavaxApis.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/FindInternalJavaxApis.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | methodPattern | *Optional*. Optionally limit the search to declarations that match the provided [method pattern](/reference/method-patterns). | `java.util.List add(..)` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/search/findjavaversion.md b/docs/recipes/java/migrate/search/findjavaversion.md index 9c0b9b87f6..1190bc8d04 100644 --- a/docs/recipes/java/migrate/search/findjavaversion.md +++ b/docs/recipes/java/migrate/search/findjavaversion.md @@ -13,12 +13,17 @@ _Finds Java versions in use._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/FindJavaVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/FindJavaVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/search/planjavamigration.md b/docs/recipes/java/migrate/search/planjavamigration.md index 994e1299d7..b0880a3e8c 100644 --- a/docs/recipes/java/migrate/search/planjavamigration.md +++ b/docs/recipes/java/migrate/search/planjavamigration.md @@ -13,12 +13,17 @@ _Study the set of Java versions and associated tools in use across many reposito ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/PlanJavaMigration.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/search/PlanJavaMigration.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/sql/javasqlapis.md b/docs/recipes/java/migrate/sql/javasqlapis.md index 77c4e21b45..71d269599c 100644 --- a/docs/recipes/java/migrate/sql/javasqlapis.md +++ b/docs/recipes/java/migrate/sql/javasqlapis.md @@ -13,7 +13,12 @@ _Certain Java sql APIs have become deprecated and their usages changed, necessit ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-sql-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-sql-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -41,7 +46,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/sql/migratedrivermanagersetlogstream.md b/docs/recipes/java/migrate/sql/migratedrivermanagersetlogstream.md index c173b708e6..b9546b7a1e 100644 --- a/docs/recipes/java/migrate/sql/migratedrivermanagersetlogstream.md +++ b/docs/recipes/java/migrate/sql/migratedrivermanagersetlogstream.md @@ -17,12 +17,17 @@ _Use `DriverManager#setLogWriter(java.io.PrintWriter)` instead of the deprecated ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/sql/MigrateDriverManagerSetLogStream.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/sql/MigrateDriverManagerSetLogStream.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/sunnetsslpackageunavailable.md b/docs/recipes/java/migrate/sunnetsslpackageunavailable.md index 634062c9bb..f7d741871c 100644 --- a/docs/recipes/java/migrate/sunnetsslpackageunavailable.md +++ b/docs/recipes/java/migrate/sunnetsslpackageunavailable.md @@ -17,7 +17,12 @@ _The internal API `com.sun.net.ssl` is removed. The package was intended for int ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/threadstopdestroy.md b/docs/recipes/java/migrate/threadstopdestroy.md index a94f857ecb..cdf0d115a1 100644 --- a/docs/recipes/java/migrate/threadstopdestroy.md +++ b/docs/recipes/java/migrate/threadstopdestroy.md @@ -17,11 +17,16 @@ _The `java.lang.Thread.destroy()` method was never implemented, and the `java.la ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradebuildtojava11.md b/docs/recipes/java/migrate/upgradebuildtojava11.md index dbb1ef5ceb..6d695a2707 100644 --- a/docs/recipes/java/migrate/upgradebuildtojava11.md +++ b/docs/recipes/java/migrate/upgradebuildtojava11.md @@ -17,7 +17,12 @@ _Updates build files to use Java 11 as the target/source._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradebuildtojava17.md b/docs/recipes/java/migrate/upgradebuildtojava17.md index 88cbaa94a6..ec53f569d4 100644 --- a/docs/recipes/java/migrate/upgradebuildtojava17.md +++ b/docs/recipes/java/migrate/upgradebuildtojava17.md @@ -17,7 +17,12 @@ _Updates build files to use Java 17 as the target/source._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradebuildtojava21.md b/docs/recipes/java/migrate/upgradebuildtojava21.md index b2ebfd4910..6f9f94189b 100644 --- a/docs/recipes/java/migrate/upgradebuildtojava21.md +++ b/docs/recipes/java/migrate/upgradebuildtojava21.md @@ -17,7 +17,12 @@ _Updates build files to use Java 21 as the target/source._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradejavaversion.md b/docs/recipes/java/migrate/upgradejavaversion.md index 04c175c395..5a4a98f563 100644 --- a/docs/recipes/java/migrate/upgradejavaversion.md +++ b/docs/recipes/java/migrate/upgradejavaversion.md @@ -13,8 +13,9 @@ _Upgrade build plugin configuration to use the specified Java version. This reci ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/UpgradeJavaVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/UpgradeJavaVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: @@ -24,6 +25,10 @@ This recipe is composed of more than one recipe. If you want to customize the se | -- | -- | -- | -- | | `Integer` | version | The Java version to upgrade to. | `11` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -59,7 +64,7 @@ recipeList: ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeJavaVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeJavaVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -67,8 +72,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeJavaVersionExample displayName: Upgrade Java version example recipeList: - - org.openrewrite.java.migrate.UpgradeJavaVersion: - version: 11 + - org.openrewrite.java.migrate.UpgradeJavaVersion: version: 11 ``` Now that `com.yourorg.UpgradeJavaVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_REWRITE_MIGRATE_JAVA}}` in your build file: diff --git a/docs/recipes/java/migrate/upgradepluginsforjava11.md b/docs/recipes/java/migrate/upgradepluginsforjava11.md index 563daadc51..ed9fa2cb07 100644 --- a/docs/recipes/java/migrate/upgradepluginsforjava11.md +++ b/docs/recipes/java/migrate/upgradepluginsforjava11.md @@ -17,11 +17,16 @@ _Updates plugins to version compatible with Java 11._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-11.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradepluginsforjava17.md b/docs/recipes/java/migrate/upgradepluginsforjava17.md index 74e3b55fe2..59e9611958 100644 --- a/docs/recipes/java/migrate/upgradepluginsforjava17.md +++ b/docs/recipes/java/migrate/upgradepluginsforjava17.md @@ -17,11 +17,16 @@ _Updates plugins to version compatible with Java 17._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -98,7 +103,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradepluginsforjava21.md b/docs/recipes/java/migrate/upgradepluginsforjava21.md index 550c930f1b..4320875b9e 100644 --- a/docs/recipes/java/migrate/upgradepluginsforjava21.md +++ b/docs/recipes/java/migrate/upgradepluginsforjava21.md @@ -17,11 +17,16 @@ _Updates plugins and dependencies to version compatible with Java 21._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -88,7 +93,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradetojava17.md b/docs/recipes/java/migrate/upgradetojava17.md index 3f243c7573..f389018cea 100644 --- a/docs/recipes/java/migrate/upgradetojava17.md +++ b/docs/recipes/java/migrate/upgradetojava17.md @@ -17,11 +17,16 @@ _This recipe will apply changes commonly needed when migrating to Java 17. Speci ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-17.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -112,7 +117,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradetojava21.md b/docs/recipes/java/migrate/upgradetojava21.md index 9827340c5d..6df9e36474 100644 --- a/docs/recipes/java/migrate/upgradetojava21.md +++ b/docs/recipes/java/migrate/upgradetojava21.md @@ -17,11 +17,16 @@ _This recipe will apply changes commonly needed when migrating to Java 21. This ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradetojava6.md b/docs/recipes/java/migrate/upgradetojava6.md index b61f158e97..7744e84b68 100644 --- a/docs/recipes/java/migrate/upgradetojava6.md +++ b/docs/recipes/java/migrate/upgradetojava6.md @@ -17,7 +17,12 @@ _This recipe will apply changes commonly needed when upgrading to Java 6. This r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-6.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradetojava7.md b/docs/recipes/java/migrate/upgradetojava7.md index a7042ab561..7093f631dd 100644 --- a/docs/recipes/java/migrate/upgradetojava7.md +++ b/docs/recipes/java/migrate/upgradetojava7.md @@ -17,11 +17,16 @@ _This recipe will apply changes commonly needed when upgrading to Java 7. This r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-7.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-7.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/upgradetojava8.md b/docs/recipes/java/migrate/upgradetojava8.md index d1315c9915..57ae48d7c4 100644 --- a/docs/recipes/java/migrate/upgradetojava8.md +++ b/docs/recipes/java/migrate/upgradetojava8.md @@ -17,11 +17,16 @@ _This recipe will apply changes commonly needed when upgrading to Java 8. This r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-8.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-8.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/usejavautilbase64.md b/docs/recipes/java/migrate/usejavautilbase64.md index b4f89a3a24..bfcaa610ca 100644 --- a/docs/recipes/java/migrate/usejavautilbase64.md +++ b/docs/recipes/java/migrate/usejavautilbase64.md @@ -13,18 +13,23 @@ _Prefer `java.util.Base64` instead of using `sun.misc` in Java 8 or higher. `sun ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/UseJavaUtilBase64.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/UseJavaUtilBase64.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `boolean` | useMimeCoder | *Optional*. Use `Base64.getMimeEncoder()/getMimeDecoder()` instead of `Base64.getEncoder()/getDecoder()`. | `false` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/usetabsorspaces.md b/docs/recipes/java/migrate/usetabsorspaces.md index 4f42e52852..c1ba405b79 100644 --- a/docs/recipes/java/migrate/usetabsorspaces.md +++ b/docs/recipes/java/migrate/usetabsorspaces.md @@ -13,18 +13,23 @@ _This is useful for one-off migrations of a codebase that has mixed indentation ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/UseTabsOrSpaces.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/UseTabsOrSpaces.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `boolean` | useTabs | Whether to use tabs for indentation. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseTabsOrSpacesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseTabsOrSpacesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UseTabsOrSpacesExample displayName: Force indentation to either tabs or spaces example recipeList: - - org.openrewrite.java.migrate.UseTabsOrSpaces: - useTabs: false + - org.openrewrite.java.migrate.UseTabsOrSpaces: useTabs: false ``` Now that `com.yourorg.UseTabsOrSpacesExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-migrate-java:{{VERSION_REWRITE_MIGRATE_JAVA}}` in your build file: diff --git a/docs/recipes/java/migrate/util/iteratornext.md b/docs/recipes/java/migrate/util/iteratornext.md index 849c3d1174..17c8f0bd70 100644 --- a/docs/recipes/java/migrate/util/iteratornext.md +++ b/docs/recipes/java/migrate/util/iteratornext.md @@ -13,12 +13,17 @@ _Replace `SequencedCollection.iterator().next()` with `getFirst()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/IteratorNext.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/IteratorNext.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/javautilapis.md b/docs/recipes/java/migrate/util/javautilapis.md index f3eb11de7c..013bab718a 100644 --- a/docs/recipes/java/migrate/util/javautilapis.md +++ b/docs/recipes/java/migrate/util/javautilapis.md @@ -13,11 +13,16 @@ _Certain java util APIs have been introduced and are favored over previous APIs. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-util-apis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-util-apis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/listfirstandlast.md b/docs/recipes/java/migrate/util/listfirstandlast.md index 5eb87ae588..581b68ec1e 100644 --- a/docs/recipes/java/migrate/util/listfirstandlast.md +++ b/docs/recipes/java/migrate/util/listfirstandlast.md @@ -13,12 +13,17 @@ _Replace `list.get(0)` with `list.getFirst()`, `list.get(list.size() - 1)` with ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/ListFirstAndLast.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/ListFirstAndLast.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/migratecollectionssingletonlist.md b/docs/recipes/java/migrate/util/migratecollectionssingletonlist.md index 68a36c057d..adf7d4c98d 100644 --- a/docs/recipes/java/migrate/util/migratecollectionssingletonlist.md +++ b/docs/recipes/java/migrate/util/migratecollectionssingletonlist.md @@ -13,12 +13,17 @@ _Prefer `List.of(..)` instead of using `Collections.singletonList()` in Java 9 o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonList.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/migratecollectionssingletonmap.md b/docs/recipes/java/migrate/util/migratecollectionssingletonmap.md index 6e661a88ad..742e0b748a 100644 --- a/docs/recipes/java/migrate/util/migratecollectionssingletonmap.md +++ b/docs/recipes/java/migrate/util/migratecollectionssingletonmap.md @@ -13,12 +13,17 @@ _Prefer `Map.Of(..)` instead of using `Collections.singletonMap()` in Java 9 or ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonMap.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonMap.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/migratecollectionssingletonset.md b/docs/recipes/java/migrate/util/migratecollectionssingletonset.md index b5beafc041..adca42989f 100644 --- a/docs/recipes/java/migrate/util/migratecollectionssingletonset.md +++ b/docs/recipes/java/migrate/util/migratecollectionssingletonset.md @@ -13,12 +13,17 @@ _Prefer `Set.Of(..)` instead of using `Collections.singleton()` in Java 9 or hig ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonSet.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonSet.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/migratecollectionsunmodifiablelist.md b/docs/recipes/java/migrate/util/migratecollectionsunmodifiablelist.md index d86db74eea..5baf9cc349 100644 --- a/docs/recipes/java/migrate/util/migratecollectionsunmodifiablelist.md +++ b/docs/recipes/java/migrate/util/migratecollectionsunmodifiablelist.md @@ -16,12 +16,17 @@ Prefer `List.Of(..)` instead of using `unmodifiableList(java.util.Arrays asList( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableList.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/migratecollectionsunmodifiableset.md b/docs/recipes/java/migrate/util/migratecollectionsunmodifiableset.md index daadf0824b..930c682e50 100644 --- a/docs/recipes/java/migrate/util/migratecollectionsunmodifiableset.md +++ b/docs/recipes/java/migrate/util/migratecollectionsunmodifiableset.md @@ -16,12 +16,17 @@ Prefer `Set.Of(..)` instead of using `unmodifiableSet(java.util.Set(java.util.Ar ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableSet.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableSet.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/optionalnotemptytoispresent.md b/docs/recipes/java/migrate/util/optionalnotemptytoispresent.md index 7b7ac727f6..4a887f98ae 100644 --- a/docs/recipes/java/migrate/util/optionalnotemptytoispresent.md +++ b/docs/recipes/java/migrate/util/optionalnotemptytoispresent.md @@ -13,12 +13,17 @@ _Prefer `Optional.isPresent()` instead of using `!Optional.isEmpty()` in Java 11 ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/OptionalNotEmptyToIsPresent.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/OptionalNotEmptyToIsPresent.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/optionalnotpresenttoisempty.md b/docs/recipes/java/migrate/util/optionalnotpresenttoisempty.md index 0aa79a8fd6..e04dc02aa2 100644 --- a/docs/recipes/java/migrate/util/optionalnotpresenttoisempty.md +++ b/docs/recipes/java/migrate/util/optionalnotpresenttoisempty.md @@ -13,12 +13,17 @@ _Prefer `Optional.isEmpty()` instead of using `!Optional.isPresent()` in Java 11 ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/OptionalNotPresentToIsEmpty.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/OptionalNotPresentToIsEmpty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/optionalstreamrecipe.md b/docs/recipes/java/migrate/util/optionalstreamrecipe.md index d89bc9911c..5f7d58613e 100644 --- a/docs/recipes/java/migrate/util/optionalstreamrecipe.md +++ b/docs/recipes/java/migrate/util/optionalstreamrecipe.md @@ -16,12 +16,17 @@ Migrate Java 8 `Optional.filter(Optional::isPresent).map(Optional::get)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/OptionalStreamRecipe.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/OptionalStreamRecipe.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/removefinalizerfromzip.md b/docs/recipes/java/migrate/util/removefinalizerfromzip.md index 6da62ac25a..d94f884e67 100644 --- a/docs/recipes/java/migrate/util/removefinalizerfromzip.md +++ b/docs/recipes/java/migrate/util/removefinalizerfromzip.md @@ -13,12 +13,17 @@ _Remove invocations of finalize() deprecated invocations from Deflater, Inflater ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/RemoveFinalizerFromZip.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/RemoveFinalizerFromZip.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/replacemathrandomwiththreadlocalrandomrecipe.md b/docs/recipes/java/migrate/util/replacemathrandomwiththreadlocalrandomrecipe.md index 3d4c7d19e0..f80ac0a0ac 100644 --- a/docs/recipes/java/migrate/util/replacemathrandomwiththreadlocalrandomrecipe.md +++ b/docs/recipes/java/migrate/util/replacemathrandomwiththreadlocalrandomrecipe.md @@ -13,12 +13,17 @@ _Replace `java.lang.Math random()` with `ThreadLocalRandom nextDouble()` to redu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/ReplaceMathRandomWithThreadLocalRandom.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/ReplaceMathRandomWithThreadLocalRandom.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/replacestreamcollectwithtolist.md b/docs/recipes/java/migrate/util/replacestreamcollectwithtolist.md index 12fc5f6a96..db705567eb 100644 --- a/docs/recipes/java/migrate/util/replacestreamcollectwithtolist.md +++ b/docs/recipes/java/migrate/util/replacestreamcollectwithtolist.md @@ -17,18 +17,23 @@ _Replace `Stream.collect(Collectors.toUnmodifiableList())` with Java 16+ `Stream ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/ReplaceStreamCollectWithToList.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/ReplaceStreamCollectWithToList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | convertToList | *Optional*. Also replace `Stream.collect(Collectors.toList())` with `Stream.toList()`. *BEWARE*: Attempts to modify the returned list, result in an `UnsupportedOperationException`! | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/sequencedcollection.md b/docs/recipes/java/migrate/util/sequencedcollection.md index ff7974c167..45a1d0e0b4 100644 --- a/docs/recipes/java/migrate/util/sequencedcollection.md +++ b/docs/recipes/java/migrate/util/sequencedcollection.md @@ -18,11 +18,16 @@ _Replace older code patterns with `SequencedCollection` methods, as per https:// ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) - +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/java-version-21.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -74,7 +79,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/streamfindfirst.md b/docs/recipes/java/migrate/util/streamfindfirst.md index 970c943f6a..31ae81daaa 100644 --- a/docs/recipes/java/migrate/util/streamfindfirst.md +++ b/docs/recipes/java/migrate/util/streamfindfirst.md @@ -13,12 +13,17 @@ _For SequencedCollections, use `collection.getFirst()` instead of `collection.st ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/StreamFindFirst.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/StreamFindFirst.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/useenumsetof.md b/docs/recipes/java/migrate/util/useenumsetof.md index df6b1a2233..03740e24a6 100644 --- a/docs/recipes/java/migrate/util/useenumsetof.md +++ b/docs/recipes/java/migrate/util/useenumsetof.md @@ -13,12 +13,17 @@ _Prefer `EnumSet of(..)` instead of using `Set of(..)` when the arguments are en ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/UseEnumSetOf.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/UseEnumSetOf.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/uselocaleof.md b/docs/recipes/java/migrate/util/uselocaleof.md index 0363a4ab96..e9dcf0bbc2 100644 --- a/docs/recipes/java/migrate/util/uselocaleof.md +++ b/docs/recipes/java/migrate/util/uselocaleof.md @@ -13,12 +13,17 @@ _Prefer `Locale.of(..)` over `new Locale(..)` in Java 19 or higher._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/UseLocaleOf.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/UseLocaleOf.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/migrate/util/usemapof.md b/docs/recipes/java/migrate/util/usemapof.md index 477233f32f..85439fdd07 100644 --- a/docs/recipes/java/migrate/util/usemapof.md +++ b/docs/recipes/java/migrate/util/usemapof.md @@ -13,12 +13,17 @@ _Prefer `Map.of(..)` instead of using `java.util.Map#put(..)` in Java 10 or high ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/UseMapOf.java), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/java/org/openrewrite/java/migrate/util/UseMapOf.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/nostaticimport.md b/docs/recipes/java/nostaticimport.md index bae07561f4..17f54d0402 100644 --- a/docs/recipes/java/nostaticimport.md +++ b/docs/recipes/java/nostaticimport.md @@ -13,18 +13,23 @@ _Removes static imports and replaces them with qualified references. For example ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/NoStaticImport.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/NoStaticImport.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | methodPattern | A [method pattern](/reference/method-patterns) that is used to find matching method invocations. | `java.util.Collections emptyList()` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.NoStaticImportExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.NoStaticImportExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.NoStaticImportExample displayName: Remove static import example recipeList: - - org.openrewrite.java.NoStaticImport: - methodPattern: java.util.Collections emptyList() + - org.openrewrite.java.NoStaticImport: methodPattern: java.util.Collections emptyList() ``` Now that `com.yourorg.NoStaticImportExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/orderimports.md b/docs/recipes/java/orderimports.md index c2dcc0b7fc..4433589f86 100644 --- a/docs/recipes/java/orderimports.md +++ b/docs/recipes/java/orderimports.md @@ -13,14 +13,19 @@ _Groups and orders import statements. If a [style has been defined](https://docs ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/OrderImports.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/OrderImports.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | removeUnused | *Optional*. Remove unnecessary imports. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/java/randomizeid.md b/docs/recipes/java/randomizeid.md index 380cbca00f..50763624b7 100644 --- a/docs/recipes/java/randomizeid.md +++ b/docs/recipes/java/randomizeid.md @@ -13,7 +13,12 @@ _Scramble the IDs. This was intended as a utility to test _en masse_ different t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RandomizeId.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RandomizeId.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipemarkupdemonstration.md b/docs/recipes/java/recipemarkupdemonstration.md index c9c7a0597d..7a473e2fe8 100644 --- a/docs/recipes/java/recipemarkupdemonstration.md +++ b/docs/recipes/java/recipemarkupdemonstration.md @@ -13,18 +13,23 @@ _Tooling may decide to elide or display differently markup of different levels._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RecipeMarkupDemonstration.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RecipeMarkupDemonstration.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | level | The `Markup#Level` to add. Valid options: `debug`, `info`, `warning`, `error` | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RecipeMarkupDemonstrationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RecipeMarkupDemonstrationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RecipeMarkupDemonstrationExample displayName: Demonstrate rendering of `Markup` markers example recipeList: - - org.openrewrite.java.RecipeMarkupDemonstration: - level: null + - org.openrewrite.java.RecipeMarkupDemonstration: level: null ``` Now that `com.yourorg.RecipeMarkupDemonstrationExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/recipes/blanklinesaroundfieldswithannotations.md b/docs/recipes/java/recipes/blanklinesaroundfieldswithannotations.md index 5bbfb59cee..bfb8ec4efd 100644 --- a/docs/recipes/java/recipes/blanklinesaroundfieldswithannotations.md +++ b/docs/recipes/java/recipes/blanklinesaroundfieldswithannotations.md @@ -13,7 +13,12 @@ _Fields with annotations should have a blank line before them to clearly separat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/BlankLinesAroundFieldsWithAnnotations.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/BlankLinesAroundFieldsWithAnnotations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipes/executioncontextparametername.md b/docs/recipes/java/recipes/executioncontextparametername.md index 323d14e507..c6a515818b 100644 --- a/docs/recipes/java/recipes/executioncontextparametername.md +++ b/docs/recipes/java/recipes/executioncontextparametername.md @@ -13,7 +13,12 @@ _Visitors that are parameterized with `ExecutionContext` should use the paramete ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/ExecutionContextParameterName.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/ExecutionContextParameterName.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipes/findrecipes.md b/docs/recipes/java/recipes/findrecipes.md index 5e2ced163f..291cb69edb 100644 --- a/docs/recipes/java/recipes/findrecipes.md +++ b/docs/recipes/java/recipes/findrecipes.md @@ -13,7 +13,12 @@ _This recipe finds all OpenRewrite recipes, primarily to produce a data table th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/FindRecipes.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/FindRecipes.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipes/missingoptionexample.md b/docs/recipes/java/recipes/missingoptionexample.md index f6431d4d55..1b1712d671 100644 --- a/docs/recipes/java/recipes/missingoptionexample.md +++ b/docs/recipes/java/recipes/missingoptionexample.md @@ -13,7 +13,12 @@ _Find `@Option` annotations that are missing `example` values for documentation. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/MissingOptionExample.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/MissingOptionExample.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipes/nomutablestaticfieldsinrecipes.md b/docs/recipes/java/recipes/nomutablestaticfieldsinrecipes.md index cddff0140a..2640e0c2fe 100644 --- a/docs/recipes/java/recipes/nomutablestaticfieldsinrecipes.md +++ b/docs/recipes/java/recipes/nomutablestaticfieldsinrecipes.md @@ -13,7 +13,12 @@ _Remove mutable static fields from Recipe classes to discourage their use._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/NoMutableStaticFieldsInRecipes.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/NoMutableStaticFieldsInRecipes.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipes/recipeequalsandhashcodecallsuper.md b/docs/recipes/java/recipes/recipeequalsandhashcodecallsuper.md index a15cd34a4b..19a035342f 100644 --- a/docs/recipes/java/recipes/recipeequalsandhashcodecallsuper.md +++ b/docs/recipes/java/recipes/recipeequalsandhashcodecallsuper.md @@ -13,7 +13,12 @@ _Recipes are value objects, so should use `@EqualsAndHashCode(callSuper = false) ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/RecipeEqualsAndHashCodeCallSuper.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/RecipeEqualsAndHashCodeCallSuper.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipes/rewritetestclassesshouldnotbepublic.md b/docs/recipes/java/recipes/rewritetestclassesshouldnotbepublic.md index af11bf1582..7eb80bf02e 100644 --- a/docs/recipes/java/recipes/rewritetestclassesshouldnotbepublic.md +++ b/docs/recipes/java/recipes/rewritetestclassesshouldnotbepublic.md @@ -13,7 +13,12 @@ _Remove the public modifier from classes that implement RewriteTest._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/RewriteTestClassesShouldNotBePublic.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/RewriteTestClassesShouldNotBePublic.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipes/selectrecipeexamples.md b/docs/recipes/java/recipes/selectrecipeexamples.md index 34c061fdf1..d6efab378b 100644 --- a/docs/recipes/java/recipes/selectrecipeexamples.md +++ b/docs/recipes/java/recipes/selectrecipeexamples.md @@ -13,7 +13,12 @@ _Add `@DocumentExample` to the first non-issue and not a disabled unit test of a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/SelectRecipeExamples.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/SelectRecipeExamples.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipes/setdefaultestimatedeffortperoccurrence.md b/docs/recipes/java/recipes/setdefaultestimatedeffortperoccurrence.md index fa1fa0a987..548216a095 100644 --- a/docs/recipes/java/recipes/setdefaultestimatedeffortperoccurrence.md +++ b/docs/recipes/java/recipes/setdefaultestimatedeffortperoccurrence.md @@ -13,7 +13,12 @@ _Retrofit recipes with a default estimated effort per occurrence._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/SetDefaultEstimatedEffortPerOccurrence.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/SetDefaultEstimatedEffortPerOccurrence.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipes/sourcespectextblockindentation.md b/docs/recipes/java/recipes/sourcespectextblockindentation.md index 1ba30b47ca..ba17c0fca0 100644 --- a/docs/recipes/java/recipes/sourcespectextblockindentation.md +++ b/docs/recipes/java/recipes/sourcespectextblockindentation.md @@ -13,7 +13,12 @@ _Text blocks that assert before and after source code should have minimal indent ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/SourceSpecTextBlockIndentation.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/SourceSpecTextBlockIndentation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/recipes/usetreerandomid.md b/docs/recipes/java/recipes/usetreerandomid.md index 872f4b7058..615471dd5f 100644 --- a/docs/recipes/java/recipes/usetreerandomid.md +++ b/docs/recipes/java/recipes/usetreerandomid.md @@ -13,7 +13,12 @@ _Replaces occurrences of `UUID.randomUUID()` with `Tree.randomId()` when passed ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/UseTreeRandomId.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/recipes/UseTreeRandomId.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/removeannotation.md b/docs/recipes/java/removeannotation.md index 50e9bc7c93..c87a4d8922 100644 --- a/docs/recipes/java/removeannotation.md +++ b/docs/recipes/java/removeannotation.md @@ -13,18 +13,23 @@ _Remove matching annotations wherever they occur._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | annotationPattern | An annotation pattern, expressed as a [method pattern](/reference/method-patterns). | `@java.lang.SuppressWarnings("deprecation")` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveAnnotationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveAnnotationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveAnnotationExample displayName: Remove annotation example recipeList: - - org.openrewrite.java.RemoveAnnotation: - annotationPattern: '@java.lang.SuppressWarnings("deprecation")' + - org.openrewrite.java.RemoveAnnotation: annotationPattern: '@java.lang.SuppressWarnings("deprecation")' ``` Now that `com.yourorg.RemoveAnnotationExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/removeannotationattribute.md b/docs/recipes/java/removeannotationattribute.md index cab9b6d45e..ba6af617b4 100644 --- a/docs/recipes/java/removeannotationattribute.md +++ b/docs/recipes/java/removeannotationattribute.md @@ -13,8 +13,9 @@ _Some annotations accept arguments. This recipe removes an existing attribute._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveAnnotationAttribute.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveAnnotationAttribute.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Some annotations accept arguments. This recipe removes an existing attribute._ | `String` | annotationType | The fully qualified name of the annotation. | `org.junit.Test` | | `String` | attributeName | The name of attribute to remove. | `timeout` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveAnnotationAttributeExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveAnnotationAttributeExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveAnnotationAttributeExample displayName: Remove annotation attribute example recipeList: - - org.openrewrite.java.RemoveAnnotationAttribute: - annotationType: org.junit.Test + - org.openrewrite.java.RemoveAnnotationAttribute: annotationType: org.junit.Test attributeName: timeout ``` diff --git a/docs/recipes/java/removeimplements.md b/docs/recipes/java/removeimplements.md index aecd0e1814..eade2ac371 100644 --- a/docs/recipes/java/removeimplements.md +++ b/docs/recipes/java/removeimplements.md @@ -13,8 +13,9 @@ _Removes `implements` clauses from classes implementing the specified interface. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveImplements.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveImplements.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Removes `implements` clauses from classes implementing the specified interface. | `String` | interfaceType | The fully qualified name of the interface to remove. | `java.io.Serializable` | | `String` | filter | *Optional*. Only apply the interface removal to classes with fully qualified names that begin with this filter. `null` or empty matches all classes. | `com.yourorg.` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveImplementsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveImplementsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveImplementsExample displayName: Remove interface implementations example recipeList: - - org.openrewrite.java.RemoveImplements: - interfaceType: java.io.Serializable + - org.openrewrite.java.RemoveImplements: interfaceType: java.io.Serializable filter: com.yourorg. ``` diff --git a/docs/recipes/java/removemethodinvocations.md b/docs/recipes/java/removemethodinvocations.md index ec01a3a8ea..2356985b3e 100644 --- a/docs/recipes/java/removemethodinvocations.md +++ b/docs/recipes/java/removemethodinvocations.md @@ -13,18 +13,23 @@ _Remove method invocations if syntactically safe._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveMethodInvocations.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveMethodInvocations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | methodPattern | A pattern to match method invocations for removal. | `java.lang.StringBuilder append(java.lang.String)` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveMethodInvocationsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveMethodInvocationsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveMethodInvocationsExample displayName: Remove method invocations example recipeList: - - org.openrewrite.java.RemoveMethodInvocations: - methodPattern: java.lang.StringBuilder append(java.lang.String) + - org.openrewrite.java.RemoveMethodInvocations: methodPattern: java.lang.StringBuilder append(java.lang.String) ``` Now that `com.yourorg.RemoveMethodInvocationsExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/removeobjectsisnull.md b/docs/recipes/java/removeobjectsisnull.md index 8fe51667a1..26e6628e52 100644 --- a/docs/recipes/java/removeobjectsisnull.md +++ b/docs/recipes/java/removeobjectsisnull.md @@ -13,7 +13,12 @@ _Replace calls to `Objects.isNull(..)` and `Objects.nonNull(..)` with a simple n ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveObjectsIsNull.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveObjectsIsNull.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/removeunusedimports.md b/docs/recipes/java/removeunusedimports.md index 56e2f517f6..6196e97b65 100644 --- a/docs/recipes/java/removeunusedimports.md +++ b/docs/recipes/java/removeunusedimports.md @@ -17,7 +17,12 @@ _Remove imports for types that are not referenced. As a precaution against incor ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveUnusedImports.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/RemoveUnusedImports.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/reordermethodarguments.md b/docs/recipes/java/reordermethodarguments.md index 00b9f32609..4bfec9be85 100644 --- a/docs/recipes/java/reordermethodarguments.md +++ b/docs/recipes/java/reordermethodarguments.md @@ -13,8 +13,9 @@ _Reorder method arguments into the specified order._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ReorderMethodArguments.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ReorderMethodArguments.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Reorder method arguments into the specified order._ | `Boolean` | ignoreDefinition | *Optional*. When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it. | | | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReorderMethodArgumentsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReorderMethodArgumentsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ReorderMethodArgumentsExample displayName: Reorder method arguments example recipeList: - - org.openrewrite.java.ReorderMethodArguments: - methodPattern: com.yourorg.A foo(String, Integer, Integer) + - org.openrewrite.java.ReorderMethodArguments: methodPattern: com.yourorg.A foo(String, Integer, Integer) newParameterNames: [foo, bar, baz] oldParameterNames: [baz, bar, foo] ``` diff --git a/docs/recipes/java/replaceannotation.md b/docs/recipes/java/replaceannotation.md index 57525db595..29c873c17d 100644 --- a/docs/recipes/java/replaceannotation.md +++ b/docs/recipes/java/replaceannotation.md @@ -13,8 +13,9 @@ _Replace an Annotation with another one if the annotation pattern matches. Only ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ReplaceAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ReplaceAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Replace an Annotation with another one if the annotation pattern matches. Only | `String` | annotationTemplateToInsert | An annotation template to add instead of original one, will be parsed with `JavaTemplate`. | `@org.jetbrains.annotations.NotNull("Null not permitted")` | | `String` | classpathResourceName | *Optional*. If the annotation's type is defined by a jar within the META-INF/rewrite/classpath directory provide its name here so that it can be loaded. When this parameter is not passed the runtime classpath of the recipe is provided to the parser producing the new annotation. This is necessary when the annotation is not on the runtime classpath of the recipe and isn't in the Java standard library. | `annotations` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceAnnotationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceAnnotationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ReplaceAnnotationExample displayName: Replace annotation example recipeList: - - org.openrewrite.java.ReplaceAnnotation: - annotationPatternToReplace: '@org.jetbrains.annotations.NotNull("Test")' + - org.openrewrite.java.ReplaceAnnotation: annotationPatternToReplace: '@org.jetbrains.annotations.NotNull("Test")' annotationTemplateToInsert: '@org.jetbrains.annotations.NotNull("Null not permitted")' classpathResourceName: annotations ``` diff --git a/docs/recipes/java/replaceconstant.md b/docs/recipes/java/replaceconstant.md index fbffb3cc9a..8b6fd9c341 100644 --- a/docs/recipes/java/replaceconstant.md +++ b/docs/recipes/java/replaceconstant.md @@ -13,8 +13,9 @@ _Replace a named constant with a literal value when you wish to remove the old c ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ReplaceConstant.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ReplaceConstant.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Replace a named constant with a literal value when you wish to remove the old c | `String` | constantName | The name of the constant field to replace. | `UTF_8` | | `String` | literalValue | The literal value to replace. | `UTF_8` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceConstantExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceConstantExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ReplaceConstantExample displayName: Replace constant with literal value example recipeList: - - org.openrewrite.java.ReplaceConstant: - owningType: com.google.common.base.Charsets + - org.openrewrite.java.ReplaceConstant: owningType: com.google.common.base.Charsets constantName: UTF_8 literalValue: UTF_8 ``` diff --git a/docs/recipes/java/replaceconstantwithanotherconstant.md b/docs/recipes/java/replaceconstantwithanotherconstant.md index e1023edddf..85794a0bf9 100644 --- a/docs/recipes/java/replaceconstantwithanotherconstant.md +++ b/docs/recipes/java/replaceconstantwithanotherconstant.md @@ -13,8 +13,9 @@ _Replace a constant with another constant, adding/removing import on class if ne ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ReplaceConstantWithAnotherConstant.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ReplaceConstantWithAnotherConstant.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Replace a constant with another constant, adding/removing import on class if ne | `String` | existingFullyQualifiedConstantName | | `org.springframework.http.MediaType.APPLICATION_JSON_VALUE` | | `String` | fullyQualifiedConstantName | | `org.springframework.http.MediaType.APPLICATION_JSON_VALUE` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceConstantWithAnotherConstantExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceConstantWithAnotherConstantExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ReplaceConstantWithAnotherConstantExample displayName: Replace constant with another constant example recipeList: - - org.openrewrite.java.ReplaceConstantWithAnotherConstant: - existingFullyQualifiedConstantName: org.springframework.http.MediaType.APPLICATION_JSON_VALUE + - org.openrewrite.java.ReplaceConstantWithAnotherConstant: existingFullyQualifiedConstantName: org.springframework.http.MediaType.APPLICATION_JSON_VALUE fullyQualifiedConstantName: org.springframework.http.MediaType.APPLICATION_JSON_VALUE ``` diff --git a/docs/recipes/java/replacestringliteralwithconstant.md b/docs/recipes/java/replacestringliteralwithconstant.md index 80b515c688..7e2b570408 100644 --- a/docs/recipes/java/replacestringliteralwithconstant.md +++ b/docs/recipes/java/replacestringliteralwithconstant.md @@ -13,8 +13,9 @@ _Replace String literal with constant, adding import on class if needed._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ReplaceStringLiteralWithConstant.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ReplaceStringLiteralWithConstant.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Replace String literal with constant, adding import on class if needed._ | `String` | literalValue | *Optional*. The literal that is to be replaced. If not configured, the value of the specified constant will be used by default. | `application/json` | | `String` | fullyQualifiedConstantName | | `org.springframework.http.MediaType.APPLICATION_JSON_VALUE` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceStringLiteralWithConstantExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceStringLiteralWithConstantExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ReplaceStringLiteralWithConstantExample displayName: Replace String literal with constant example recipeList: - - org.openrewrite.java.ReplaceStringLiteralWithConstant: - literalValue: application/json + - org.openrewrite.java.ReplaceStringLiteralWithConstant: literalValue: application/json fullyQualifiedConstantName: org.springframework.http.MediaType.APPLICATION_JSON_VALUE ``` diff --git a/docs/recipes/java/search/classpathtypecounts.md b/docs/recipes/java/search/classpathtypecounts.md index 1c6cd2483c..c63e87431c 100644 --- a/docs/recipes/java/search/classpathtypecounts.md +++ b/docs/recipes/java/search/classpathtypecounts.md @@ -13,7 +13,12 @@ _Emit one data table row per source set in a project, with the number of types i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/ClasspathTypeCounts.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/ClasspathTypeCounts.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/search/doesnotusetype.md b/docs/recipes/java/search/doesnotusetype.md index 677be2a829..b153787cb3 100644 --- a/docs/recipes/java/search/doesnotusetype.md +++ b/docs/recipes/java/search/doesnotusetype.md @@ -13,8 +13,9 @@ _Useful as a precondition to skip over compilation units using the argument type ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/DoesNotUseType.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/DoesNotUseType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Useful as a precondition to skip over compilation units using the argument type | `String` | fullyQualifiedTypeName | A fully-qualified type name, that is used to find matching type references. Supports glob expressions. `java..*` finds every type from every subpackage of the `java` package. | `java.util.List` | | `Boolean` | includeImplicit | *Optional*. Whether to include implicit type references, such as those in method signatures. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DoesNotUseTypeExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DoesNotUseTypeExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DoesNotUseTypeExample displayName: Check whether a type is **not** in use example recipeList: - - org.openrewrite.java.search.DoesNotUseType: - fullyQualifiedTypeName: java.util.List + - org.openrewrite.java.search.DoesNotUseType: fullyQualifiedTypeName: java.util.List ``` Now that `com.yourorg.DoesNotUseTypeExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/search/findannotations.md b/docs/recipes/java/search/findannotations.md index 2eea03c015..648db26c9b 100644 --- a/docs/recipes/java/search/findannotations.md +++ b/docs/recipes/java/search/findannotations.md @@ -13,8 +13,9 @@ _Find all annotations matching the annotation pattern._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindAnnotations.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindAnnotations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Find all annotations matching the annotation pattern._ | `String` | annotationPattern | An annotation pattern, expressed as a [method pattern](/reference/method-patterns). | `@java.lang.SuppressWarnings("deprecation")` | | `Boolean` | matchMetaAnnotations | *Optional*. When enabled, matches on meta annotations of the annotation pattern. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindAnnotationsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindAnnotationsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindAnnotationsExample displayName: Find annotations example recipeList: - - org.openrewrite.java.search.FindAnnotations: - annotationPattern: '@java.lang.SuppressWarnings("deprecation")' + - org.openrewrite.java.search.FindAnnotations: annotationPattern: '@java.lang.SuppressWarnings("deprecation")' ``` Now that `com.yourorg.FindAnnotationsExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/search/findclasshierarchy.md b/docs/recipes/java/search/findclasshierarchy.md index 83ced538ec..29217b71e0 100644 --- a/docs/recipes/java/search/findclasshierarchy.md +++ b/docs/recipes/java/search/findclasshierarchy.md @@ -13,7 +13,12 @@ _Discovers all class declarations within a project, recording which files they a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindClassHierarchy.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindClassHierarchy.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/search/findcomments.md b/docs/recipes/java/search/findcomments.md index 1ca3604ab0..9b81f20491 100644 --- a/docs/recipes/java/search/findcomments.md +++ b/docs/recipes/java/search/findcomments.md @@ -13,18 +13,23 @@ _Find regular expression matches within comments and literals. "Literals" includ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindComments.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindComments.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `List` | patterns | A list of regular expressions to search for. | `-----BEGIN RSA PRIVATE KEY-----` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindCommentsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindCommentsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindCommentsExample displayName: Find within comments and literals example recipeList: - - org.openrewrite.java.search.FindComments: - patterns: -----BEGIN RSA PRIVATE KEY----- + - org.openrewrite.java.search.FindComments: patterns: -----BEGIN RSA PRIVATE KEY----- ``` Now that `com.yourorg.FindCommentsExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/search/finddeprecatedclasses.md b/docs/recipes/java/search/finddeprecatedclasses.md index 7d3cebbd78..1f4789a4d8 100644 --- a/docs/recipes/java/search/finddeprecatedclasses.md +++ b/docs/recipes/java/search/finddeprecatedclasses.md @@ -13,8 +13,9 @@ _Find uses of deprecated classes, optionally ignoring those classes that are ins ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindDeprecatedClasses.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindDeprecatedClasses.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,6 +24,10 @@ _Find uses of deprecated classes, optionally ignoring those classes that are ins | `Boolean` | matchInherited | *Optional*. When enabled, find types that inherit from a deprecated type. | | | `Boolean` | ignoreDeprecatedScopes | *Optional*. When a deprecated type is used in a deprecated method or class, ignore it. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/java/search/finddeprecatedfields.md b/docs/recipes/java/search/finddeprecatedfields.md index 62e73bded7..89ab15518e 100644 --- a/docs/recipes/java/search/finddeprecatedfields.md +++ b/docs/recipes/java/search/finddeprecatedfields.md @@ -13,8 +13,9 @@ _Find uses of deprecated fields in any API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindDeprecatedFields.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindDeprecatedFields.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,6 +24,10 @@ _Find uses of deprecated fields in any API._ | `Boolean` | matchInherited | *Optional*. When enabled, find types that inherit from a deprecated type. | | | `Boolean` | ignoreDeprecatedScopes | *Optional*. When a deprecated method is used in a deprecated method or class, ignore it. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/java/search/finddeprecatedmethods.md b/docs/recipes/java/search/finddeprecatedmethods.md index 15d5c8b9c6..350f563e27 100644 --- a/docs/recipes/java/search/finddeprecatedmethods.md +++ b/docs/recipes/java/search/finddeprecatedmethods.md @@ -13,8 +13,9 @@ _Find uses of deprecated methods in any API._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindDeprecatedMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindDeprecatedMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,6 +23,10 @@ _Find uses of deprecated methods in any API._ | `String` | methodPattern | *Optional*. A [method pattern](/reference/method-patterns) that is used to find matching method invocations. | `java.util.List add(..)` | | `Boolean` | ignoreDeprecatedScopes | *Optional*. When set to `true` deprecated methods used within deprecated methods or classes will be ignored. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/java/search/finddeprecateduses.md b/docs/recipes/java/search/finddeprecateduses.md index b0cbd1bccc..617c35e512 100644 --- a/docs/recipes/java/search/finddeprecateduses.md +++ b/docs/recipes/java/search/finddeprecateduses.md @@ -13,8 +13,9 @@ _Find deprecated uses of methods, fields, and types. Optionally ignore those cla ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindDeprecatedUses.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindDeprecatedUses.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: @@ -26,6 +27,10 @@ This recipe is composed of more than one recipe. If you want to customize the se | `Boolean` | matchInherited | *Optional*. When enabled, find types that inherit from a deprecated type. | | | `Boolean` | ignoreDeprecatedScopes | *Optional*. When a deprecated type is used in a deprecated method or class, ignore it. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition diff --git a/docs/recipes/java/search/findemptyclasses.md b/docs/recipes/java/search/findemptyclasses.md index a8715e145e..287d6d7c64 100644 --- a/docs/recipes/java/search/findemptyclasses.md +++ b/docs/recipes/java/search/findemptyclasses.md @@ -17,7 +17,12 @@ _Find empty classes without annotations that do not implement an interface or ex ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindEmptyClasses.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindEmptyClasses.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/search/findemptymethods.md b/docs/recipes/java/search/findemptymethods.md index b38f40c0dd..198d7e9080 100644 --- a/docs/recipes/java/search/findemptymethods.md +++ b/docs/recipes/java/search/findemptymethods.md @@ -17,14 +17,19 @@ _Find methods with empty bodies and single public no arg constructors._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindEmptyMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindEmptyMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/java/search/findfields.md b/docs/recipes/java/search/findfields.md index 2d5b244e63..547e7cfc7e 100644 --- a/docs/recipes/java/search/findfields.md +++ b/docs/recipes/java/search/findfields.md @@ -13,8 +13,9 @@ _Find uses of a field._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindFields.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindFields.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Find uses of a field._ | `Boolean` | matchInherited | *Optional*. When enabled, find types that inherit from a deprecated type. | | | `String` | fieldName | The name of a field on the type. | `QUOTE_FIELD_NAMES` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindFieldsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindFieldsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindFieldsExample displayName: Find fields example recipeList: - - org.openrewrite.java.search.FindFields: - fullyQualifiedTypeName: com.fasterxml.jackson.core.json.JsonWriteFeature + - org.openrewrite.java.search.FindFields: fullyQualifiedTypeName: com.fasterxml.jackson.core.json.JsonWriteFeature fieldName: QUOTE_FIELD_NAMES ``` diff --git a/docs/recipes/java/search/findfieldsoftype.md b/docs/recipes/java/search/findfieldsoftype.md index 84591308e4..88bff8baba 100644 --- a/docs/recipes/java/search/findfieldsoftype.md +++ b/docs/recipes/java/search/findfieldsoftype.md @@ -13,8 +13,9 @@ _Finds declared fields matching a particular class name._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindFieldsOfType.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindFieldsOfType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Finds declared fields matching a particular class name._ | `String` | fullyQualifiedTypeName | A fully-qualified Java type name, that is used to find matching fields. | `org.slf4j.api.Logger` | | `Boolean` | matchInherited | *Optional*. When enabled, find types that inherit from a deprecated type. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindFieldsOfTypeExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindFieldsOfTypeExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindFieldsOfTypeExample displayName: Find fields of type example recipeList: - - org.openrewrite.java.search.FindFieldsOfType: - fullyQualifiedTypeName: org.slf4j.api.Logger + - org.openrewrite.java.search.FindFieldsOfType: fullyQualifiedTypeName: org.slf4j.api.Logger ``` Now that `com.yourorg.FindFieldsOfTypeExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/search/findimplementations.md b/docs/recipes/java/search/findimplementations.md index 2848275742..e23729a1b1 100644 --- a/docs/recipes/java/search/findimplementations.md +++ b/docs/recipes/java/search/findimplementations.md @@ -13,18 +13,23 @@ _Find class declarations which implement the specified type. If the specified ty ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindImplementations.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindImplementations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | typeName | The fully qualified name to search for. | `org.openrewrite.Recipe` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindImplementationsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindImplementationsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindImplementationsExample displayName: Find implementing classes example recipeList: - - org.openrewrite.java.search.FindImplementations: - typeName: org.openrewrite.Recipe + - org.openrewrite.java.search.FindImplementations: typeName: org.openrewrite.Recipe ``` Now that `com.yourorg.FindImplementationsExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/search/findimports.md b/docs/recipes/java/search/findimports.md index 541a0d1ffc..597375b1f8 100644 --- a/docs/recipes/java/search/findimports.md +++ b/docs/recipes/java/search/findimports.md @@ -13,8 +13,9 @@ _Locates source files that have imports matching the given type pattern, regardl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindImports.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindImports.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,6 +23,10 @@ _Locates source files that have imports matching the given type pattern, regardl | `String` | typePattern | *Optional*. A type pattern that is used to find matching field uses. | `org.springframework..*` | | `Boolean` | matchInherited | *Optional*. When enabled, find types that inherit from a deprecated type. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/java/search/findliterals.md b/docs/recipes/java/search/findliterals.md index 02ddd19c81..f56dc6427b 100644 --- a/docs/recipes/java/search/findliterals.md +++ b/docs/recipes/java/search/findliterals.md @@ -13,18 +13,23 @@ _Find literals matching a pattern._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindLiterals.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindLiterals.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | pattern | A regular expression pattern to match literals against. | `file://` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindLiteralsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindLiteralsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindLiteralsExample displayName: Find literals example recipeList: - - org.openrewrite.java.search.FindLiterals: - pattern: file:// + - org.openrewrite.java.search.FindLiterals: pattern: file:// ``` Now that `com.yourorg.FindLiteralsExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/search/findmethoddeclaration.md b/docs/recipes/java/search/findmethoddeclaration.md index 3a27aeacd2..09a1f4e5d6 100644 --- a/docs/recipes/java/search/findmethoddeclaration.md +++ b/docs/recipes/java/search/findmethoddeclaration.md @@ -13,8 +13,9 @@ _Locates the declaration of a method._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindMethodDeclaration.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindMethodDeclaration.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Locates the declaration of a method._ | `String` | methodPattern | A [method pattern](/reference/method-patterns) that is used to find matching method invocations. | `java.util.List add(..)` | | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMethodDeclarationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMethodDeclarationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindMethodDeclarationExample displayName: Find method declaration example recipeList: - - org.openrewrite.java.search.FindMethodDeclaration: - methodPattern: java.util.List add(..) + - org.openrewrite.java.search.FindMethodDeclaration: methodPattern: java.util.List add(..) ``` Now that `com.yourorg.FindMethodDeclarationExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/search/findmethods.md b/docs/recipes/java/search/findmethods.md index 45818c7ef7..dad29c1a75 100644 --- a/docs/recipes/java/search/findmethods.md +++ b/docs/recipes/java/search/findmethods.md @@ -13,8 +13,9 @@ _Find method calls by pattern._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Find method calls by pattern._ | `String` | methodPattern | A [method pattern](/reference/method-patterns) that is used to find matching method invocations. | `java.util.List add(..)` | | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMethodsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMethodsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindMethodsExample displayName: Find method usages example recipeList: - - org.openrewrite.java.search.FindMethods: - methodPattern: java.util.List add(..) + - org.openrewrite.java.search.FindMethods: methodPattern: java.util.List add(..) ``` Now that `com.yourorg.FindMethodsExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/search/findmissingtypes.md b/docs/recipes/java/search/findmissingtypes.md index ac3ccd75f2..71bbb4a9ec 100644 --- a/docs/recipes/java/search/findmissingtypes.md +++ b/docs/recipes/java/search/findmissingtypes.md @@ -13,7 +13,12 @@ _This is a diagnostic recipe to highlight where ASTs are missing type attributio ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindMissingTypes.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindMissingTypes.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/search/findrepeatableannotations.md b/docs/recipes/java/search/findrepeatableannotations.md index 060aa4c554..eca7c85f50 100644 --- a/docs/recipes/java/search/findrepeatableannotations.md +++ b/docs/recipes/java/search/findrepeatableannotations.md @@ -13,7 +13,12 @@ _Java 8 introduced the concept of `@Repeatable` annotations._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindRepeatableAnnotations.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindRepeatableAnnotations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/search/findsecrets.md b/docs/recipes/java/search/findsecrets.md index 19acb17b71..45aaa82421 100644 --- a/docs/recipes/java/search/findsecrets.md +++ b/docs/recipes/java/search/findsecrets.md @@ -17,7 +17,12 @@ _Find secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/resources/META-INF/rewrite/find-plaintext-secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/resources/META-INF/rewrite/find-plaintext-secrets.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition diff --git a/docs/recipes/java/search/findtypemappings.md b/docs/recipes/java/search/findtypemappings.md index 9c766c978b..b9d14aac19 100644 --- a/docs/recipes/java/search/findtypemappings.md +++ b/docs/recipes/java/search/findtypemappings.md @@ -13,7 +13,12 @@ _Study the frequency of `J` types and their `JavaType` type attribution._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindTypeMappings.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindTypeMappings.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/search/findtypes.md b/docs/recipes/java/search/findtypes.md index cc561aa13f..ef43f1c716 100644 --- a/docs/recipes/java/search/findtypes.md +++ b/docs/recipes/java/search/findtypes.md @@ -13,8 +13,9 @@ _Find type references by name._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindTypes.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/FindTypes.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Find type references by name._ | `String` | fullyQualifiedTypeName | A fully-qualified type name, that is used to find matching type references. Supports glob expressions. `java..*` finds every type from every subpackage of the `java` package. | `java.util.List` | | `Boolean` | checkAssignability | *Optional*. When enabled, find type references that are assignable to the provided type. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindTypesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindTypesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindTypesExample displayName: Find types example recipeList: - - org.openrewrite.java.search.FindTypes: - fullyQualifiedTypeName: java.util.List + - org.openrewrite.java.search.FindTypes: fullyQualifiedTypeName: java.util.List ``` Now that `com.yourorg.FindTypesExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/search/hasbuildtoolversion.md b/docs/recipes/java/search/hasbuildtoolversion.md index 4b92574d4a..015a4eac76 100644 --- a/docs/recipes/java/search/hasbuildtoolversion.md +++ b/docs/recipes/java/search/hasbuildtoolversion.md @@ -13,8 +13,9 @@ _Finds Java source files built with a particular build tool. This is useful espe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/HasBuildToolVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/HasBuildToolVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Finds Java source files built with a particular build tool. This is useful espe | `Type` | type | The build tool to search for. | `Maven` | | `String` | version | An exact version number or node-style semver selector used to select the version number. | `3.6.0-9999` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.HasBuildToolVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.HasBuildToolVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.HasBuildToolVersionExample displayName: Find files with a particular build tool version example recipeList: - - org.openrewrite.java.search.HasBuildToolVersion: - type: Maven + - org.openrewrite.java.search.HasBuildToolVersion: type: Maven version: 3.6.0-9999 ``` diff --git a/docs/recipes/java/search/hasjavaversion.md b/docs/recipes/java/search/hasjavaversion.md index 4c0d9aa80d..e4a3520134 100644 --- a/docs/recipes/java/search/hasjavaversion.md +++ b/docs/recipes/java/search/hasjavaversion.md @@ -13,8 +13,9 @@ _Finds Java source files matching a particular language level. This is useful es ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/HasJavaVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/HasJavaVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Finds Java source files matching a particular language level. This is useful es | `String` | version | An exact version number or node-style semver selector used to select the version number. | `17.X` | | `Boolean` | checkTargetCompatibility | *Optional*. The source and target compatibility versions can be different. This option allows you to check against the target compatibility version instead of the source compatibility version. | `17.X` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.HasJavaVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.HasJavaVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.HasJavaVersionExample displayName: Find files compiled at a specific Java version example recipeList: - - org.openrewrite.java.search.HasJavaVersion: - version: 17.X + - org.openrewrite.java.search.HasJavaVersion: version: 17.X checkTargetCompatibility: 17.X ``` diff --git a/docs/recipes/java/search/hasminimumjavaversion.md b/docs/recipes/java/search/hasminimumjavaversion.md index 71c380c55f..1e929a9816 100644 --- a/docs/recipes/java/search/hasminimumjavaversion.md +++ b/docs/recipes/java/search/hasminimumjavaversion.md @@ -13,8 +13,9 @@ _The oldest Java version in use is the lowest Java version in use in any source ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/HasMinimumJavaVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/HasMinimumJavaVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _The oldest Java version in use is the lowest Java version in use in any source | `String` | version | An exact version number or node-style semver selector used to select the version number. | `17.X` | | `Boolean` | checkTargetCompatibility | *Optional*. The source and target compatibility versions can be different. This option allows you to check against the target compatibility version instead of the source compatibility version. | `17.X` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.HasMinimumJavaVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.HasMinimumJavaVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.HasMinimumJavaVersionExample displayName: Find the oldest Java version in use example recipeList: - - org.openrewrite.java.search.HasMinimumJavaVersion: - version: 17.X + - org.openrewrite.java.search.HasMinimumJavaVersion: version: 17.X checkTargetCompatibility: 17.X ``` diff --git a/docs/recipes/java/search/hassourceset.md b/docs/recipes/java/search/hassourceset.md index 2071a7c418..9680de195d 100644 --- a/docs/recipes/java/search/hassourceset.md +++ b/docs/recipes/java/search/hassourceset.md @@ -13,18 +13,23 @@ _Source sets are a way to organize your source code into logical groups. For exa ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/HasSourceSet.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/HasSourceSet.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | sourceSet | The source set to search for. | `main` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.HasSourceSetExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.HasSourceSetExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.HasSourceSetExample displayName: Find files in a source set example recipeList: - - org.openrewrite.java.search.HasSourceSet: - sourceSet: main + - org.openrewrite.java.search.HasSourceSet: sourceSet: main ``` Now that `com.yourorg.HasSourceSetExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/search/islikelynottest.md b/docs/recipes/java/search/islikelynottest.md index 061170fc7d..ca8c88bdcc 100644 --- a/docs/recipes/java/search/islikelynottest.md +++ b/docs/recipes/java/search/islikelynottest.md @@ -13,7 +13,12 @@ _Sources that do not contain indicators of being, or being exclusively for the u ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/IsLikelyNotTest.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/IsLikelyNotTest.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/search/islikelytest.md b/docs/recipes/java/search/islikelytest.md index 2e5752e02e..ce2b75258e 100644 --- a/docs/recipes/java/search/islikelytest.md +++ b/docs/recipes/java/search/islikelytest.md @@ -13,7 +13,12 @@ _Sources that contain indicators of being, or being exclusively for the use in t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/IsLikelyTest.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/IsLikelyTest.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/search/resultofmethodcallignored.md b/docs/recipes/java/search/resultofmethodcallignored.md index 077fcc16b1..0ad637520b 100644 --- a/docs/recipes/java/search/resultofmethodcallignored.md +++ b/docs/recipes/java/search/resultofmethodcallignored.md @@ -13,8 +13,9 @@ _Find locations where the result of the method call is being ignored._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/ResultOfMethodCallIgnored.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/search/ResultOfMethodCallIgnored.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Find locations where the result of the method call is being ignored._ | `String` | methodPattern | A [method pattern](/reference/method-patterns) that is used to find matching method invocations. | `java.io.File mkdir*()` | | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ResultOfMethodCallIgnoredExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ResultOfMethodCallIgnoredExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ResultOfMethodCallIgnoredExample displayName: Result of method call ignored example recipeList: - - org.openrewrite.java.search.ResultOfMethodCallIgnored: - methodPattern: java.io.File mkdir*() + - org.openrewrite.java.search.ResultOfMethodCallIgnored: methodPattern: java.io.File mkdir*() ``` Now that `com.yourorg.ResultOfMethodCallIgnoredExample` has been defined, activate it in your build file: diff --git a/docs/recipes/java/security/findtextdirectionchanges.md b/docs/recipes/java/security/findtextdirectionchanges.md index 89a9e59258..0d656a3308 100644 --- a/docs/recipes/java/security/findtextdirectionchanges.md +++ b/docs/recipes/java/security/findtextdirectionchanges.md @@ -17,12 +17,16 @@ _Finds unicode control characters which can change the direction text is display ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/FindTextDirectionChanges.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/fixcwe338.md b/docs/recipes/java/security/fixcwe338.md index 4a01fa1cbc..e3caa87887 100644 --- a/docs/recipes/java/security/fixcwe338.md +++ b/docs/recipes/java/security/fixcwe338.md @@ -17,12 +17,16 @@ _Use a cryptographically strong pseudo-random number generator (PRNG)._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/FixCwe338.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/improperprivilegemanagement.md b/docs/recipes/java/security/improperprivilegemanagement.md index 6fee27359c..ec4ff6c0d4 100644 --- a/docs/recipes/java/security/improperprivilegemanagement.md +++ b/docs/recipes/java/security/improperprivilegemanagement.md @@ -17,12 +17,16 @@ _Marking code as privileged enables a piece of trusted code to temporarily enabl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/ImproperPrivilegeManagement.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/javasecuritybestpractices.md b/docs/recipes/java/security/javasecuritybestpractices.md index 0f54a9029f..5f74adf6d1 100644 --- a/docs/recipes/java/security/javasecuritybestpractices.md +++ b/docs/recipes/java/security/javasecuritybestpractices.md @@ -17,15 +17,16 @@ _Applies security best practices to Java code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/security-bugs.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/marshalling/insecurejmsdeserialization.md b/docs/recipes/java/security/marshalling/insecurejmsdeserialization.md index d23bd0f482..517aef5203 100644 --- a/docs/recipes/java/security/marshalling/insecurejmsdeserialization.md +++ b/docs/recipes/java/security/marshalling/insecurejmsdeserialization.md @@ -17,12 +17,16 @@ _JMS `Object` messages depend on Java Serialization for marshalling/unmarshallin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/marshalling/InsecureJmsDeserialization.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/marshalling/securejacksondefaulttyping.md b/docs/recipes/java/security/marshalling/securejacksondefaulttyping.md index 94d3fb69d0..898e6310ec 100644 --- a/docs/recipes/java/security/marshalling/securejacksondefaulttyping.md +++ b/docs/recipes/java/security/marshalling/securejacksondefaulttyping.md @@ -18,12 +18,16 @@ _See the [blog post](https://cowtowncoder.medium.com/on-jackson-cves-dont-panic- ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/marshalling/SecureJacksonDefaultTyping.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/marshalling/securesnakeyamlconstructor.md b/docs/recipes/java/security/marshalling/securesnakeyamlconstructor.md index 5fc701111c..14710d1cf3 100644 --- a/docs/recipes/java/security/marshalling/securesnakeyamlconstructor.md +++ b/docs/recipes/java/security/marshalling/securesnakeyamlconstructor.md @@ -18,12 +18,16 @@ _See the [paper](https://github.com/mbechler/marshalsec) on this subject._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/marshalling/SecureSnakeYamlConstructor.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/owaspa01.md b/docs/recipes/java/security/owaspa01.md index 74561bf205..dc159ac9e1 100644 --- a/docs/recipes/java/security/owaspa01.md +++ b/docs/recipes/java/security/owaspa01.md @@ -13,15 +13,16 @@ _OWASP [A01:2021](https://owasp.org/Top10/A01_2021-Broken_Access_Control/) descr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/owasp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/owaspa02.md b/docs/recipes/java/security/owaspa02.md index 802fd10c16..d607533643 100644 --- a/docs/recipes/java/security/owaspa02.md +++ b/docs/recipes/java/security/owaspa02.md @@ -13,15 +13,16 @@ _OWASP [A02:2021](https://owasp.org/Top10/A02_2021-Cryptographic_Failures/) desc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/owasp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/owaspa03.md b/docs/recipes/java/security/owaspa03.md index 803650e6f3..92593d9f1e 100644 --- a/docs/recipes/java/security/owaspa03.md +++ b/docs/recipes/java/security/owaspa03.md @@ -13,15 +13,16 @@ _OWASP [A03:2021](https://owasp.org/Top10/A03_2021-Injection/) describes failure ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/owasp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/owaspa05.md b/docs/recipes/java/security/owaspa05.md index 2850c17f54..44143aaa46 100644 --- a/docs/recipes/java/security/owaspa05.md +++ b/docs/recipes/java/security/owaspa05.md @@ -13,12 +13,16 @@ _OWASP [A05:2021](https://owasp.org/Top10/A05_2021-Security_Misconfiguration/) d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/owasp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/owaspa06.md b/docs/recipes/java/security/owaspa06.md index e3677d49f6..a123f7ce99 100644 --- a/docs/recipes/java/security/owaspa06.md +++ b/docs/recipes/java/security/owaspa06.md @@ -13,12 +13,16 @@ _OWASP [A06:2021](https://owasp.org/Top10/A06_2021-Vulnerable_and_Outdated_Compo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/owasp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/owaspa08.md b/docs/recipes/java/security/owaspa08.md index 11d8d4bba0..b0a6b60ca3 100644 --- a/docs/recipes/java/security/owaspa08.md +++ b/docs/recipes/java/security/owaspa08.md @@ -13,15 +13,16 @@ _OWASP [A08:2021](https://owasp.org/Top10/A08_2021-Software_and_Data_Integrity_F ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/owasp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/owasptopten.md b/docs/recipes/java/security/owasptopten.md index fba98c005e..d6d72741d1 100644 --- a/docs/recipes/java/security/owasptopten.md +++ b/docs/recipes/java/security/owasptopten.md @@ -13,15 +13,16 @@ _[OWASP](https://owasp.org) publishes a list of the most impactful common securi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/owasp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/partialpathtraversalvulnerability.md b/docs/recipes/java/security/partialpathtraversalvulnerability.md index acfad0fea7..3d11c8b632 100644 --- a/docs/recipes/java/security/partialpathtraversalvulnerability.md +++ b/docs/recipes/java/security/partialpathtraversalvulnerability.md @@ -17,12 +17,16 @@ _Replaces `dir.getCanonicalPath().startsWith(parent.getCanonicalPath()`, which i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/PartialPathTraversalVulnerability.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/regularexpressiondenialofservice.md b/docs/recipes/java/security/regularexpressiondenialofservice.md index 1d0cadb089..c8b8aeaabb 100644 --- a/docs/recipes/java/security/regularexpressiondenialofservice.md +++ b/docs/recipes/java/security/regularexpressiondenialofservice.md @@ -13,12 +13,16 @@ _ReDoS is a Denial of Service attack that exploits the fact that most Regular Ex ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/RegularExpressionDenialOfService.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/search/findjacksondefaulttypemapping.md b/docs/recipes/java/security/search/findjacksondefaulttypemapping.md index 1eb1790d83..18273bf38d 100644 --- a/docs/recipes/java/security/search/findjacksondefaulttypemapping.md +++ b/docs/recipes/java/security/search/findjacksondefaulttypemapping.md @@ -13,12 +13,16 @@ _`ObjectMapper#enableTypeMapping(..)` can lead to vulnerable deserialization._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/jackson.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/search/findsensitiveapiendpoints.md b/docs/recipes/java/security/search/findsensitiveapiendpoints.md index 8e7b8a3378..b7d0c2e4d0 100644 --- a/docs/recipes/java/security/search/findsensitiveapiendpoints.md +++ b/docs/recipes/java/security/search/findsensitiveapiendpoints.md @@ -13,7 +13,7 @@ _Find data models exposed by REST APIs that contain sensitive information like P ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/search/FindSensitiveApiEndpoints.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,25 +22,28 @@ _Find data models exposed by REST APIs that contain sensitive information like P | `List` | fieldNames | Field names to search for. | `password,dateOfBirth,dob,ssn` | | `Boolean` | transitive | *Optional*. Find model objects that contain other model objects that contain sensitive data. | | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindSensitiveApiEndpointsExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindSensitiveApiEndpointsExample displayName: Find sensitive API endpoints example recipeList: - - org.openrewrite.java.security.search.FindSensitiveApiEndpoints: + - org.openrewrite.java.security.search.FindSensitiveApiEndpoints: fieldNames: password,dateOfBirth,dob,ssn ``` -Now that `com.yourorg.FindSensitiveApiEndpointsExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-java-security:{{VERSION_REWRITE_JAVA_SECURITY}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/java/security/search/findvulnerablejacksonjsontypeinfo.md b/docs/recipes/java/security/search/findvulnerablejacksonjsontypeinfo.md index b10e9800f0..a4d3f66a7e 100644 --- a/docs/recipes/java/security/search/findvulnerablejacksonjsontypeinfo.md +++ b/docs/recipes/java/security/search/findvulnerablejacksonjsontypeinfo.md @@ -13,15 +13,16 @@ _Identify where attackers can deserialize gadgets into a target field._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/jackson.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findartifactorysecrets.md b/docs/recipes/java/security/secrets/findartifactorysecrets.md index 7d0dd27ddf..9a412190c1 100644 --- a/docs/recipes/java/security/secrets/findartifactorysecrets.md +++ b/docs/recipes/java/security/secrets/findartifactorysecrets.md @@ -17,15 +17,16 @@ _Locates Artifactory secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findawssecrets.md b/docs/recipes/java/security/secrets/findawssecrets.md index 1b2e643138..695fa760ad 100644 --- a/docs/recipes/java/security/secrets/findawssecrets.md +++ b/docs/recipes/java/security/secrets/findawssecrets.md @@ -17,15 +17,16 @@ _Locates AWS secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findazuresecrets.md b/docs/recipes/java/security/secrets/findazuresecrets.md index afb3a6bc24..3204477368 100644 --- a/docs/recipes/java/security/secrets/findazuresecrets.md +++ b/docs/recipes/java/security/secrets/findazuresecrets.md @@ -17,12 +17,16 @@ _Locates Azure secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/finddiscordsecrets.md b/docs/recipes/java/security/secrets/finddiscordsecrets.md index 7385fbd748..7e85bbb138 100644 --- a/docs/recipes/java/security/secrets/finddiscordsecrets.md +++ b/docs/recipes/java/security/secrets/finddiscordsecrets.md @@ -17,12 +17,16 @@ _Locates Discord secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findgenericsecrets.md b/docs/recipes/java/security/secrets/findgenericsecrets.md index 678924cd2e..d7db3bc29e 100644 --- a/docs/recipes/java/security/secrets/findgenericsecrets.md +++ b/docs/recipes/java/security/secrets/findgenericsecrets.md @@ -17,15 +17,16 @@ _Locates generic secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findgithubsecrets.md b/docs/recipes/java/security/secrets/findgithubsecrets.md index 25f7d60686..43e5781d02 100644 --- a/docs/recipes/java/security/secrets/findgithubsecrets.md +++ b/docs/recipes/java/security/secrets/findgithubsecrets.md @@ -17,15 +17,16 @@ _Locates GitHub secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findgooglesecrets.md b/docs/recipes/java/security/secrets/findgooglesecrets.md index cb0c0af450..1ab8289545 100644 --- a/docs/recipes/java/security/secrets/findgooglesecrets.md +++ b/docs/recipes/java/security/secrets/findgooglesecrets.md @@ -17,15 +17,16 @@ _Locates Google secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findherokusecrets.md b/docs/recipes/java/security/secrets/findherokusecrets.md index 7bc4f16fb9..95dd82b761 100644 --- a/docs/recipes/java/security/secrets/findherokusecrets.md +++ b/docs/recipes/java/security/secrets/findherokusecrets.md @@ -17,12 +17,16 @@ _Locates Heroku secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findjwtsecrets.md b/docs/recipes/java/security/secrets/findjwtsecrets.md index 09a8013a3a..fcea2ec7fa 100644 --- a/docs/recipes/java/security/secrets/findjwtsecrets.md +++ b/docs/recipes/java/security/secrets/findjwtsecrets.md @@ -13,12 +13,16 @@ _Locates JWTs stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/secrets/FindJwtSecrets.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findmailchimpsecrets.md b/docs/recipes/java/security/secrets/findmailchimpsecrets.md index d085500dab..0927cc7839 100644 --- a/docs/recipes/java/security/secrets/findmailchimpsecrets.md +++ b/docs/recipes/java/security/secrets/findmailchimpsecrets.md @@ -17,15 +17,16 @@ _Locates MailChimp secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findmailgunsecrets.md b/docs/recipes/java/security/secrets/findmailgunsecrets.md index 91d3532a2b..b8d8f084f8 100644 --- a/docs/recipes/java/security/secrets/findmailgunsecrets.md +++ b/docs/recipes/java/security/secrets/findmailgunsecrets.md @@ -17,12 +17,16 @@ _Locates Mailgun secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findnpmsecrets.md b/docs/recipes/java/security/secrets/findnpmsecrets.md index b6657f5f50..051814970f 100644 --- a/docs/recipes/java/security/secrets/findnpmsecrets.md +++ b/docs/recipes/java/security/secrets/findnpmsecrets.md @@ -17,12 +17,16 @@ _Locates NPM secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findpasswordinurlsecrets.md b/docs/recipes/java/security/secrets/findpasswordinurlsecrets.md index 6769820730..845de76e9f 100644 --- a/docs/recipes/java/security/secrets/findpasswordinurlsecrets.md +++ b/docs/recipes/java/security/secrets/findpasswordinurlsecrets.md @@ -17,12 +17,16 @@ _Locates URLs that contain passwords in plain text._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findpaypalsecrets.md b/docs/recipes/java/security/secrets/findpaypalsecrets.md index 54413dba74..a38b019245 100644 --- a/docs/recipes/java/security/secrets/findpaypalsecrets.md +++ b/docs/recipes/java/security/secrets/findpaypalsecrets.md @@ -17,12 +17,16 @@ _Locates PayPal secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findpgpsecrets.md b/docs/recipes/java/security/secrets/findpgpsecrets.md index 33ab02276f..a240e5aa26 100644 --- a/docs/recipes/java/security/secrets/findpgpsecrets.md +++ b/docs/recipes/java/security/secrets/findpgpsecrets.md @@ -17,12 +17,16 @@ _Locates PGP secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findpicaticsecrets.md b/docs/recipes/java/security/secrets/findpicaticsecrets.md index f09be4c488..0adf02865a 100644 --- a/docs/recipes/java/security/secrets/findpicaticsecrets.md +++ b/docs/recipes/java/security/secrets/findpicaticsecrets.md @@ -17,12 +17,16 @@ _Locates Picatic secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findrsasecrets.md b/docs/recipes/java/security/secrets/findrsasecrets.md index e60b469e70..8975cf0b94 100644 --- a/docs/recipes/java/security/secrets/findrsasecrets.md +++ b/docs/recipes/java/security/secrets/findrsasecrets.md @@ -17,12 +17,16 @@ _Locates RSA private keys stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findsecrets.md b/docs/recipes/java/security/secrets/findsecrets.md index 7ab97a00d4..f1ce9d4551 100644 --- a/docs/recipes/java/security/secrets/findsecrets.md +++ b/docs/recipes/java/security/secrets/findsecrets.md @@ -17,15 +17,16 @@ _Locates secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findsecretsbypattern.md b/docs/recipes/java/security/secrets/findsecretsbypattern.md index 822fc26042..9bb0a6f575 100644 --- a/docs/recipes/java/security/secrets/findsecretsbypattern.md +++ b/docs/recipes/java/security/secrets/findsecretsbypattern.md @@ -13,7 +13,7 @@ _A secret is a literal that matches any one of the provided patterns._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/secrets/FindSecretsByPattern.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _A secret is a literal that matches any one of the provided patterns._ | `String` | keyPattern | *Optional*. A regular expression to match a 'key' against. For example, a key | `[a-zA-Z0-9+\/=]{88}` | | `String` | valuePattern | A regular expression to search for. | `[a-zA-Z0-9+\/=]{88}` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindSecretsByPatternExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindSecretsByPatternExample displayName: Find secrets with regular expressions example recipeList: - - org.openrewrite.java.security.secrets.FindSecretsByPattern: + - org.openrewrite.java.security.secrets.FindSecretsByPattern: secretName: AWS Access Key keyPattern: '[a-zA-Z0-9+\/=]{88}' valuePattern: '[a-zA-Z0-9+\/=]{88}' ``` -Now that `com.yourorg.FindSecretsByPatternExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-java-security:{{VERSION_REWRITE_JAVA_SECURITY}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/java/security/secrets/findsendgridsecrets.md b/docs/recipes/java/security/secrets/findsendgridsecrets.md index 44d52197c8..3f1c71a7a0 100644 --- a/docs/recipes/java/security/secrets/findsendgridsecrets.md +++ b/docs/recipes/java/security/secrets/findsendgridsecrets.md @@ -17,12 +17,16 @@ _Locates SendGrid secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findslacksecrets.md b/docs/recipes/java/security/secrets/findslacksecrets.md index 7e168c2f48..8fdfd8061c 100644 --- a/docs/recipes/java/security/secrets/findslacksecrets.md +++ b/docs/recipes/java/security/secrets/findslacksecrets.md @@ -13,12 +13,16 @@ _Locates Slack secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/secrets/FindSlackSecrets.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findsquaresecrets.md b/docs/recipes/java/security/secrets/findsquaresecrets.md index 71c3f957a4..5bd8ebad47 100644 --- a/docs/recipes/java/security/secrets/findsquaresecrets.md +++ b/docs/recipes/java/security/secrets/findsquaresecrets.md @@ -17,15 +17,16 @@ _Locates Square secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findsshsecrets.md b/docs/recipes/java/security/secrets/findsshsecrets.md index 3275f9cf11..44a9e85cd6 100644 --- a/docs/recipes/java/security/secrets/findsshsecrets.md +++ b/docs/recipes/java/security/secrets/findsshsecrets.md @@ -17,15 +17,16 @@ _Locates SSH secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findstripesecrets.md b/docs/recipes/java/security/secrets/findstripesecrets.md index 188d32201c..bc8c9e0102 100644 --- a/docs/recipes/java/security/secrets/findstripesecrets.md +++ b/docs/recipes/java/security/secrets/findstripesecrets.md @@ -17,12 +17,16 @@ _Locates Stripe secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findtelegramsecrets.md b/docs/recipes/java/security/secrets/findtelegramsecrets.md index 387c028eb9..b8ef539ab7 100644 --- a/docs/recipes/java/security/secrets/findtelegramsecrets.md +++ b/docs/recipes/java/security/secrets/findtelegramsecrets.md @@ -17,12 +17,16 @@ _Locates Telegram secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findtwiliosecrets.md b/docs/recipes/java/security/secrets/findtwiliosecrets.md index a829eb03e5..dbb77688d8 100644 --- a/docs/recipes/java/security/secrets/findtwiliosecrets.md +++ b/docs/recipes/java/security/secrets/findtwiliosecrets.md @@ -17,15 +17,16 @@ _Locates Twilio secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/secrets/findtwittersecrets.md b/docs/recipes/java/security/secrets/findtwittersecrets.md index ef04a610fc..8ab38925bf 100644 --- a/docs/recipes/java/security/secrets/findtwittersecrets.md +++ b/docs/recipes/java/security/secrets/findtwittersecrets.md @@ -17,15 +17,16 @@ _Locates Twitter secrets stored in plain text in code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/resources/META-INF/rewrite/secrets.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/securerandom.md b/docs/recipes/java/security/securerandom.md index 6a95065a63..ec4dc57ebe 100644 --- a/docs/recipes/java/security/securerandom.md +++ b/docs/recipes/java/security/securerandom.md @@ -17,12 +17,16 @@ _Use cryptographically secure Pseudo Random Number Generation in the "main" sour ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/SecureRandom.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/securerandomprefersdefaultseed.md b/docs/recipes/java/security/securerandomprefersdefaultseed.md index 6376563283..8a5e2acdd7 100644 --- a/docs/recipes/java/security/securerandomprefersdefaultseed.md +++ b/docs/recipes/java/security/securerandomprefersdefaultseed.md @@ -17,12 +17,16 @@ _Remove `SecureRandom#setSeed(*)` method invocations having constant or predicta ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/SecureRandomPrefersDefaultSeed.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/securetempfilecreation.md b/docs/recipes/java/security/securetempfilecreation.md index b88d4a1804..86d1abc169 100644 --- a/docs/recipes/java/security/securetempfilecreation.md +++ b/docs/recipes/java/security/securetempfilecreation.md @@ -17,12 +17,16 @@ _`java.io.File.createTempFile()` has exploitable default file permissions. This ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/SecureTempFileCreation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/servlet/cookiesetsecure.md b/docs/recipes/java/security/servlet/cookiesetsecure.md index c0d3dc50ba..cdd7862e31 100644 --- a/docs/recipes/java/security/servlet/cookiesetsecure.md +++ b/docs/recipes/java/security/servlet/cookiesetsecure.md @@ -17,12 +17,16 @@ _Check for use of insecure cookies. Cookies should be marked as secure. This ens ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/servlet/CookieSetSecure.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/spring/csrfprotection.md b/docs/recipes/java/security/spring/csrfprotection.md index 4e69a49e42..708db3813a 100644 --- a/docs/recipes/java/security/spring/csrfprotection.md +++ b/docs/recipes/java/security/spring/csrfprotection.md @@ -17,7 +17,7 @@ _Cross-Site Request Forgery (CSRF) is a type of attack that occurs when a malici ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/spring/CsrfProtection.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -25,10 +25,14 @@ _Cross-Site Request Forgery (CSRF) is a type of attack that occurs when a malici | -- | -- | -- | -- | | `Boolean` | onlyIfSecurityConfig | *Optional*. Only patch existing implementations of `WebSecurityConfigurerAdapter`. | | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/spring/insecurespringserviceexporter.md b/docs/recipes/java/security/spring/insecurespringserviceexporter.md index 16dd192afc..9682b2e06d 100644 --- a/docs/recipes/java/security/spring/insecurespringserviceexporter.md +++ b/docs/recipes/java/security/spring/insecurespringserviceexporter.md @@ -17,12 +17,16 @@ _The default Java deserialization mechanism is available via `ObjectInputStream` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/spring/InsecureSpringServiceExporter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/spring/preventclickjacking.md b/docs/recipes/java/security/spring/preventclickjacking.md index 53838901b5..9a5fd2a861 100644 --- a/docs/recipes/java/security/spring/preventclickjacking.md +++ b/docs/recipes/java/security/spring/preventclickjacking.md @@ -20,7 +20,7 @@ The `frame-ancestors` directive can be used in a Content-Security-Policy HTTP re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/spring/PreventClickjacking.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -28,10 +28,14 @@ The `frame-ancestors` directive can be used in a Content-Security-Policy HTTP re | -- | -- | -- | -- | | `Boolean` | onlyIfSecurityConfig | *Optional*. Only patch existing implementations of `WebSecurityConfigurerAdapter`. | | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/usefilescreatetempdirectory.md b/docs/recipes/java/security/usefilescreatetempdirectory.md index 8da20b87fa..e7ef48a903 100644 --- a/docs/recipes/java/security/usefilescreatetempdirectory.md +++ b/docs/recipes/java/security/usefilescreatetempdirectory.md @@ -22,12 +22,16 @@ Use `Files#createTempDirectory` when the sequence `File#createTempFile(..)`->`Fi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/UseFilesCreateTempDirectory.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/xmlparserxxevulnerability.md b/docs/recipes/java/security/xmlparserxxevulnerability.md index feabda5e77..b3c41444d8 100644 --- a/docs/recipes/java/security/xmlparserxxevulnerability.md +++ b/docs/recipes/java/security/xmlparserxxevulnerability.md @@ -17,12 +17,16 @@ _Avoid exposing dangerous features of the XML parser by updating certain factory ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/XmlParserXXEVulnerability.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/security/zipslip.md b/docs/recipes/java/security/zipslip.md index e8204dea12..89ed430636 100644 --- a/docs/recipes/java/security/zipslip.md +++ b/docs/recipes/java/security/zipslip.md @@ -17,12 +17,16 @@ _Zip slip is an arbitrary file overwrite critical vulnerability, which typically ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-java-security/blob/main/src/main/java/org/openrewrite/java/security/ZipSlip.java), [Issue Tracker](https://github.com/openrewrite/rewrite-java-security/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-java-security/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-java-security` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/java/shortenfullyqualifiedtypereferences.md b/docs/recipes/java/shortenfullyqualifiedtypereferences.md index 98608c5867..a7d85150f5 100644 --- a/docs/recipes/java/shortenfullyqualifiedtypereferences.md +++ b/docs/recipes/java/shortenfullyqualifiedtypereferences.md @@ -13,7 +13,12 @@ _Any fully qualified references to Java types will be replaced with correspondin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ShortenFullyQualifiedTypeReferences.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/ShortenFullyQualifiedTypeReferences.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/simplifymethodchain.md b/docs/recipes/java/simplifymethodchain.md index 18b9c44521..a4ffa718d1 100644 --- a/docs/recipes/java/simplifymethodchain.md +++ b/docs/recipes/java/simplifymethodchain.md @@ -13,8 +13,9 @@ _Simplify `a.b().c()` to `a.d()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/SimplifyMethodChain.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/SimplifyMethodChain.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Simplify `a.b().c()` to `a.d()`._ | `String` | newMethodName | The method name that will replace the existing name. The new method name target is assumed to have the same arguments as the last method in the chain. | `containsKey` | | `Boolean` | matchOverrides | *Optional*. When enabled, find methods that are overrides of the [method pattern](/reference/method-patterns). | `false` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.SimplifyMethodChainExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.SimplifyMethodChainExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.SimplifyMethodChainExample displayName: Simplify a call chain example recipeList: - - org.openrewrite.java.SimplifyMethodChain: - methodPatternChain: ['java.util.Map keySet()', 'java.util.Set contains(..)'] + - org.openrewrite.java.SimplifyMethodChain: methodPatternChain: ['java.util.Map keySet()', 'java.util.Set contains(..)'] newMethodName: containsKey matchOverrides: false ``` diff --git a/docs/recipes/java/spring/addspringproperty.md b/docs/recipes/java/spring/addspringproperty.md index f507d61f1d..d98fd23bfa 100644 --- a/docs/recipes/java/spring/addspringproperty.md +++ b/docs/recipes/java/spring/addspringproperty.md @@ -13,8 +13,9 @@ _Add a spring configuration property to a configuration file if it does not alre ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/AddSpringProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/AddSpringProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Add a spring configuration property to a configuration file if it does not alre | `String` | comment | *Optional*. A comment that will be added to the new property. | `This is a comment` | | `List` | pathExpressions | *Optional*. Each value in this list represents a glob expression that is used to match which files will be modified. If this value is not present, this recipe will query the execution context for reasonable defaults. ("**/application.yml", "**/application.yml", and "**/application.properties". | `["**/application.yml"]` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddSpringPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddSpringPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddSpringPropertyExample displayName: Add a spring configuration property example recipeList: - - org.openrewrite.java.spring.AddSpringProperty: - property: management.metrics.enable.process.files + - org.openrewrite.java.spring.AddSpringProperty: property: management.metrics.enable.process.files value: true comment: This is a comment pathExpressions: ["**/application.yml"] diff --git a/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md b/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md index 540afe0d6c..693824eeeb 100644 --- a/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md +++ b/docs/recipes/java/spring/amqp/usetlsamqpconnectionstring.md @@ -13,8 +13,9 @@ _Use TLS for AMQP connection strings._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/amqp/UseTlsAmqpConnectionString.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/amqp/UseTlsAmqpConnectionString.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Use TLS for AMQP connection strings._ | `String` | tlsPropertyKey | *Optional*. The Spring property key to enable default TLS mode against. If this value is specified, the specified property will be used when updating the default TLS mode, otherwise a default of `spring.rabbitmq.ssl.enabled` will be used instead. | `spring.rabbitmq.ssl.enabled` | | `List` | pathExpressions | *Optional*. Each value in this list represents a glob expression that is used to match which files will be modified. If this value is not present, this recipe will query the execution context for reasonable defaults. ("**/application.yml", "**/application.yaml", and "**/application.properties". | `**/application.yml` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseTlsAmqpConnectionStringExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseTlsAmqpConnectionStringExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UseTlsAmqpConnectionStringExample displayName: Use TLS for AMQP connection strings example recipeList: - - org.openrewrite.java.spring.amqp.UseTlsAmqpConnectionString: - propertyKey: spring.rabbitmq.addresses + - org.openrewrite.java.spring.amqp.UseTlsAmqpConnectionString: propertyKey: spring.rabbitmq.addresses oldPort: 1234 port: 1234 tlsPropertyKey: spring.rabbitmq.ssl.enabled diff --git a/docs/recipes/java/spring/batch/listenersupportclasstointerface.md b/docs/recipes/java/spring/batch/listenersupportclasstointerface.md index aa3ec400c5..d6f7d75176 100644 --- a/docs/recipes/java/spring/batch/listenersupportclasstointerface.md +++ b/docs/recipes/java/spring/batch/listenersupportclasstointerface.md @@ -13,11 +13,16 @@ _As of 5.0 `*Listener` interfaces default methods (made possible by a Java 8 bas ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/batch/migrateitemwriterwrite.md b/docs/recipes/java/spring/batch/migrateitemwriterwrite.md index 507eeaf342..d183a14a81 100644 --- a/docs/recipes/java/spring/batch/migrateitemwriterwrite.md +++ b/docs/recipes/java/spring/batch/migrateitemwriterwrite.md @@ -13,12 +13,17 @@ _`JobBuilderFactory` was deprecated in spring-batch 5.x: replaced by `JobBuilder ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/batch/MigrateItemWriterWrite.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/batch/MigrateItemWriterWrite.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/batch/migratejobbuilderfactory.md b/docs/recipes/java/spring/batch/migratejobbuilderfactory.md index 2f9afde6da..cd92ccaf02 100644 --- a/docs/recipes/java/spring/batch/migratejobbuilderfactory.md +++ b/docs/recipes/java/spring/batch/migratejobbuilderfactory.md @@ -13,12 +13,17 @@ _`JobBuilderFactory` was deprecated in spring-batch 5.x. It is replaced by `JobB ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/batch/MigrateJobBuilderFactory.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/batch/MigrateJobBuilderFactory.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/batch/migratestepbuilderfactory.md b/docs/recipes/java/spring/batch/migratestepbuilderfactory.md index 458a35447d..696d777824 100644 --- a/docs/recipes/java/spring/batch/migratestepbuilderfactory.md +++ b/docs/recipes/java/spring/batch/migratestepbuilderfactory.md @@ -13,12 +13,17 @@ _`StepBuilderFactory` was deprecated in spring-batch 5.x. It is replaced by `Ste ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/batch/MigrateStepBuilderFactory.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/batch/MigrateStepBuilderFactory.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/batch/removedefaultbatchconfigurer.md b/docs/recipes/java/spring/batch/removedefaultbatchconfigurer.md index 1b54cef0c5..1a42409917 100644 --- a/docs/recipes/java/spring/batch/removedefaultbatchconfigurer.md +++ b/docs/recipes/java/spring/batch/removedefaultbatchconfigurer.md @@ -13,12 +13,17 @@ _Remove `extends DefaultBatchConfigurer` and `@Override` from associated methods ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/batch/RemoveDefaultBatchConfigurer.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/batch/RemoveDefaultBatchConfigurer.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/batch/replacesupportclasswithitsinterface.md b/docs/recipes/java/spring/batch/replacesupportclasswithitsinterface.md index e9e9b53790..2eeb0a1adb 100644 --- a/docs/recipes/java/spring/batch/replacesupportclasswithitsinterface.md +++ b/docs/recipes/java/spring/batch/replacesupportclasswithitsinterface.md @@ -13,8 +13,9 @@ _As of spring-batch 5.x Listeners has default methods (made possible by a Java 8 ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/batch/ReplaceSupportClassWithItsInterface.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/batch/ReplaceSupportClassWithItsInterface.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _As of spring-batch 5.x Listeners has default methods (made possible by a Java 8 | `String` | fullyQualifiedClassName | A fully-qualified class name to be replaced. | `org.springframework.batch.core.listener.JobExecutionListenerSupport` | | `String` | fullyQualifiedInterfaceName | A fully-qualified Interface name to replace by. | `org.springframework.batch.core.JobExecutionListener` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceSupportClassWithItsInterfaceExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceSupportClassWithItsInterfaceExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ReplaceSupportClassWithItsInterfaceExample displayName: Transform classes that extend a given Class to implement the given Interface instead example recipeList: - - org.openrewrite.java.spring.batch.ReplaceSupportClassWithItsInterface: - fullyQualifiedClassName: org.springframework.batch.core.listener.JobExecutionListenerSupport + - org.openrewrite.java.spring.batch.ReplaceSupportClassWithItsInterface: fullyQualifiedClassName: org.springframework.batch.core.listener.JobExecutionListenerSupport fullyQualifiedInterfaceName: org.springframework.batch.core.JobExecutionListener ``` diff --git a/docs/recipes/java/spring/batch/springbatch4to5migration.md b/docs/recipes/java/spring/batch/springbatch4to5migration.md index d45fd2d56a..7db0dfb0a4 100644 --- a/docs/recipes/java/spring/batch/springbatch4to5migration.md +++ b/docs/recipes/java/spring/batch/springbatch4to5migration.md @@ -18,11 +18,16 @@ _Migrate applications built on Spring Batch 4.3 to the latest Spring Batch 5.0 r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -90,7 +95,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md b/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md index c8aaad2d11..fff643e96b 100644 --- a/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md +++ b/docs/recipes/java/spring/batch/upgradeskippolicyparametertype.md @@ -13,7 +13,12 @@ _The `skipCount` parameter in `org.springframework.batch.core.step.skip.SkipPoli ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/addconfigurationannotationifbeanspresent.md b/docs/recipes/java/spring/boot2/addconfigurationannotationifbeanspresent.md index 597d43473c..b2b692a3b0 100644 --- a/docs/recipes/java/spring/boot2/addconfigurationannotationifbeanspresent.md +++ b/docs/recipes/java/spring/boot2/addconfigurationannotationifbeanspresent.md @@ -13,12 +13,17 @@ _Class having `@Bean` annotation over any methods but missing `@Configuration` a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/AddConfigurationAnnotationIfBeansPresent.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/AddConfigurationAnnotationIfBeansPresent.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/changeembeddedservletcontainercustomizer.md b/docs/recipes/java/spring/boot2/changeembeddedservletcontainercustomizer.md index 812a34c83a..a477a6e64d 100644 --- a/docs/recipes/java/spring/boot2/changeembeddedservletcontainercustomizer.md +++ b/docs/recipes/java/spring/boot2/changeembeddedservletcontainercustomizer.md @@ -16,12 +16,17 @@ Find any classes implementing `EmbeddedServletContainerCustomizer` and change th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/ChangeEmbeddedServletContainerCustomizer.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/ChangeEmbeddedServletContainerCustomizer.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/conditionalonbeananynestedcondition.md b/docs/recipes/java/spring/boot2/conditionalonbeananynestedcondition.md index 085f7b847f..c3dc1b13af 100644 --- a/docs/recipes/java/spring/boot2/conditionalonbeananynestedcondition.md +++ b/docs/recipes/java/spring/boot2/conditionalonbeananynestedcondition.md @@ -13,12 +13,17 @@ _Migrate multi-condition `@ConditionalOnBean` annotations to `AnyNestedCondition ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/ConditionalOnBeanAnyNestedCondition.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/ConditionalOnBeanAnyNestedCondition.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/databasecomponentandbeaninitializationordering.md b/docs/recipes/java/spring/boot2/databasecomponentandbeaninitializationordering.md index 920a3728c9..d160caf504 100644 --- a/docs/recipes/java/spring/boot2/databasecomponentandbeaninitializationordering.md +++ b/docs/recipes/java/spring/boot2/databasecomponentandbeaninitializationordering.md @@ -13,12 +13,17 @@ _Beans of certain well-known types, such as `JdbcTemplate`, will be ordered so t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/DatabaseComponentAndBeanInitializationOrdering.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/DatabaseComponentAndBeanInitializationOrdering.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/geterrorattributes.md b/docs/recipes/java/spring/boot2/geterrorattributes.md index 15cd7ff213..83cc230f25 100644 --- a/docs/recipes/java/spring/boot2/geterrorattributes.md +++ b/docs/recipes/java/spring/boot2/geterrorattributes.md @@ -13,12 +13,17 @@ _`ErrorAttributes#getErrorAttributes(WebRequest, boolean)` was deprecated in Spr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/GetErrorAttributes.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/GetErrorAttributes.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/headersconfigurerlambdadsl.md b/docs/recipes/java/spring/boot2/headersconfigurerlambdadsl.md index 2d5a92ac47..3ad2eacdfa 100644 --- a/docs/recipes/java/spring/boot2/headersconfigurerlambdadsl.md +++ b/docs/recipes/java/spring/boot2/headersconfigurerlambdadsl.md @@ -13,12 +13,17 @@ _Converts `HeadersConfigurer` chained call from Spring Security pre 5.2.x into n ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/HeadersConfigurerLambdaDsl.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/HeadersConfigurerLambdaDsl.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/httpsecuritylambdadsl.md b/docs/recipes/java/spring/boot2/httpsecuritylambdadsl.md index e08ea252d6..7a30991445 100644 --- a/docs/recipes/java/spring/boot2/httpsecuritylambdadsl.md +++ b/docs/recipes/java/spring/boot2/httpsecuritylambdadsl.md @@ -13,12 +13,17 @@ _Converts `HttpSecurity` chained call from Spring Security pre 5.2.x into new la ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/maybeaddjavaxvalidationapi.md b/docs/recipes/java/spring/boot2/maybeaddjavaxvalidationapi.md index 130f08b06a..dcedcd26e1 100644 --- a/docs/recipes/java/spring/boot2/maybeaddjavaxvalidationapi.md +++ b/docs/recipes/java/spring/boot2/maybeaddjavaxvalidationapi.md @@ -13,11 +13,16 @@ _Conditional on the application using a version of Spring Boot which uses javax ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/mergebootstrapyamlwithapplicationyaml.md b/docs/recipes/java/spring/boot2/mergebootstrapyamlwithapplicationyaml.md index b4c55b01ad..6d62bd2651 100644 --- a/docs/recipes/java/spring/boot2/mergebootstrapyamlwithapplicationyaml.md +++ b/docs/recipes/java/spring/boot2/mergebootstrapyamlwithapplicationyaml.md @@ -13,12 +13,17 @@ _In Spring Boot 2.4, support for `bootstrap.yml` was removed. It's properties sh ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MergeBootstrapYamlWithApplicationYaml.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MergeBootstrapYamlWithApplicationYaml.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migrateactuatormediatypetoapiversion.md b/docs/recipes/java/spring/boot2/migrateactuatormediatypetoapiversion.md index 3715440473..38bee97c8a 100644 --- a/docs/recipes/java/spring/boot2/migrateactuatormediatypetoapiversion.md +++ b/docs/recipes/java/spring/boot2/migrateactuatormediatypetoapiversion.md @@ -13,12 +13,17 @@ _Spring Boot `ActuatorMediaType` was deprecated in 2.5 in favor of `ApiVersion#g ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateActuatorMediaTypeToApiVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateActuatorMediaTypeToApiVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migrateapplicationhealthindicatortopinghealthindicator.md b/docs/recipes/java/spring/boot2/migrateapplicationhealthindicatortopinghealthindicator.md index 61689a124e..beedeead51 100644 --- a/docs/recipes/java/spring/boot2/migrateapplicationhealthindicatortopinghealthindicator.md +++ b/docs/recipes/java/spring/boot2/migrateapplicationhealthindicatortopinghealthindicator.md @@ -13,7 +13,12 @@ _`org.springframework.boot.actuate.health.ApplicationHealthIndicator` was deprec ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-22.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-22.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migrateconfigurationpropertiesbindingpostprocessorvalidatorbeanname.md b/docs/recipes/java/spring/boot2/migrateconfigurationpropertiesbindingpostprocessorvalidatorbeanname.md index 33f720a70f..3803edff45 100644 --- a/docs/recipes/java/spring/boot2/migrateconfigurationpropertiesbindingpostprocessorvalidatorbeanname.md +++ b/docs/recipes/java/spring/boot2/migrateconfigurationpropertiesbindingpostprocessorvalidatorbeanname.md @@ -13,12 +13,17 @@ _Replaces field and static access of `ConfigurationPropertiesBindingPostProcesso ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateConfigurationPropertiesBindingPostProcessorValidatorBeanName.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateConfigurationPropertiesBindingPostProcessorValidatorBeanName.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migratedatabasecredentials.md b/docs/recipes/java/spring/boot2/migratedatabasecredentials.md index 48ce716379..9949040376 100644 --- a/docs/recipes/java/spring/boot2/migratedatabasecredentials.md +++ b/docs/recipes/java/spring/boot2/migratedatabasecredentials.md @@ -13,11 +13,16 @@ _If you currently define a `spring.flyway.url` or `spring.liquibase.url` you may ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateDatabaseCredentials.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateDatabaseCredentials.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migratediskspacehealthindicatorconstructor.md b/docs/recipes/java/spring/boot2/migratediskspacehealthindicatorconstructor.md index 3742cd560d..accdce2ea2 100644 --- a/docs/recipes/java/spring/boot2/migratediskspacehealthindicatorconstructor.md +++ b/docs/recipes/java/spring/boot2/migratediskspacehealthindicatorconstructor.md @@ -13,12 +13,17 @@ _`DiskSpaceHealthIndicator(File, long)` was deprecated in Spring Data 2.1 for re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateDiskSpaceHealthIndicatorConstructor.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateDiskSpaceHealthIndicatorConstructor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migrateerrorcontrollerpackagename.md b/docs/recipes/java/spring/boot2/migrateerrorcontrollerpackagename.md index 7195e6d764..fb62e79a41 100644 --- a/docs/recipes/java/spring/boot2/migrateerrorcontrollerpackagename.md +++ b/docs/recipes/java/spring/boot2/migrateerrorcontrollerpackagename.md @@ -13,7 +13,12 @@ _Use `org.springframework.boot.web.servlet.error.ErrorController` instead of the ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migrateerrorpropertiesincludestacktraceconstants.md b/docs/recipes/java/spring/boot2/migrateerrorpropertiesincludestacktraceconstants.md index 1c8922203d..fa9cd2fa0e 100644 --- a/docs/recipes/java/spring/boot2/migrateerrorpropertiesincludestacktraceconstants.md +++ b/docs/recipes/java/spring/boot2/migrateerrorpropertiesincludestacktraceconstants.md @@ -13,12 +13,17 @@ _`ErrorProperties#IncludeStacktrace.ON_TRACE_PARAM` was deprecated in 2.3.x and ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateErrorPropertiesIncludeStackTraceConstants.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateErrorPropertiesIncludeStackTraceConstants.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migratehibernateconstraintstojavax.md b/docs/recipes/java/spring/boot2/migratehibernateconstraintstojavax.md index ec6b0ecefa..e6b0a34087 100644 --- a/docs/recipes/java/spring/boot2/migratehibernateconstraintstojavax.md +++ b/docs/recipes/java/spring/boot2/migratehibernateconstraintstojavax.md @@ -13,11 +13,16 @@ _Use `javax.validation.constraints` instead of the deprecated `org.hibernate.val ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migratehsqlembeddeddatabaseconnection.md b/docs/recipes/java/spring/boot2/migratehsqlembeddeddatabaseconnection.md index 12222fdbad..04dd076e0a 100644 --- a/docs/recipes/java/spring/boot2/migratehsqlembeddeddatabaseconnection.md +++ b/docs/recipes/java/spring/boot2/migratehsqlembeddeddatabaseconnection.md @@ -13,12 +13,17 @@ _Spring-Boot `EmbeddedDatabaseConnection.HSQL` was deprecated in favor of `Embed ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateHsqlEmbeddedDatabaseConnection.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateHsqlEmbeddedDatabaseConnection.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migratehttpmessageconverterspackagename.md b/docs/recipes/java/spring/boot2/migratehttpmessageconverterspackagename.md index 187e648621..3bba41305d 100644 --- a/docs/recipes/java/spring/boot2/migratehttpmessageconverterspackagename.md +++ b/docs/recipes/java/spring/boot2/migratehttpmessageconverterspackagename.md @@ -13,7 +13,12 @@ _Use `org.springframework.boot.autoconfigure.http.HttpMessageConverters` instead ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migratelocalserverportannotation.md b/docs/recipes/java/spring/boot2/migratelocalserverportannotation.md index c77a34a115..a605124443 100644 --- a/docs/recipes/java/spring/boot2/migratelocalserverportannotation.md +++ b/docs/recipes/java/spring/boot2/migratelocalserverportannotation.md @@ -13,7 +13,12 @@ _Updates the package and adds the necessary dependency if `LocalServerPort` is i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateLocalServerPortAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateLocalServerPortAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migrateloggingsystempropertyconstants.md b/docs/recipes/java/spring/boot2/migrateloggingsystempropertyconstants.md index ae205f4d23..8dc099d201 100644 --- a/docs/recipes/java/spring/boot2/migrateloggingsystempropertyconstants.md +++ b/docs/recipes/java/spring/boot2/migrateloggingsystempropertyconstants.md @@ -13,12 +13,17 @@ _Replaces field and static access of deprecated fields in `LoggingSystemProperti ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateLoggingSystemPropertyConstants.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateLoggingSystemPropertyConstants.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migratemultipartconfigfactory.md b/docs/recipes/java/spring/boot2/migratemultipartconfigfactory.md index 18e018a537..90461eca75 100644 --- a/docs/recipes/java/spring/boot2/migratemultipartconfigfactory.md +++ b/docs/recipes/java/spring/boot2/migratemultipartconfigfactory.md @@ -13,12 +13,17 @@ _Methods to set `DataSize` with primitive arguments were deprecated in 2.1 and r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateMultipartConfigFactory.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateMultipartConfigFactory.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migraterestclientbuildercustomizerpackagename.md b/docs/recipes/java/spring/boot2/migraterestclientbuildercustomizerpackagename.md index e83adf5559..b271682870 100644 --- a/docs/recipes/java/spring/boot2/migraterestclientbuildercustomizerpackagename.md +++ b/docs/recipes/java/spring/boot2/migraterestclientbuildercustomizerpackagename.md @@ -13,7 +13,12 @@ _`org.springframework.boot.autoconfigure.elasticsearch.rest.RestClientBuilderCus ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-23.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-23.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migrateresttemplatebuilderbasicauthorization.md b/docs/recipes/java/spring/boot2/migrateresttemplatebuilderbasicauthorization.md index f309db32ff..82d7448451 100644 --- a/docs/recipes/java/spring/boot2/migrateresttemplatebuilderbasicauthorization.md +++ b/docs/recipes/java/spring/boot2/migrateresttemplatebuilderbasicauthorization.md @@ -13,7 +13,12 @@ _`RestTemplateBuilder#basicAuthorization` was deprecated in 2.1._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-21.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-21.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migrateresttemplatebuildertimeoutbyint.md b/docs/recipes/java/spring/boot2/migrateresttemplatebuildertimeoutbyint.md index de149672f1..5ef6ac0c24 100644 --- a/docs/recipes/java/spring/boot2/migrateresttemplatebuildertimeoutbyint.md +++ b/docs/recipes/java/spring/boot2/migrateresttemplatebuildertimeoutbyint.md @@ -13,12 +13,17 @@ _`RestTemplateBuilder#setConnectTimeout(int)` and `RestTemplateBuilder#setReadTi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateRestTemplateBuilderTimeoutByInt.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MigrateRestTemplateBuilderTimeoutByInt.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migratespringbootservletinitializerpackagename.md b/docs/recipes/java/spring/boot2/migratespringbootservletinitializerpackagename.md index 77d63a5b96..f2354eef67 100644 --- a/docs/recipes/java/spring/boot2/migratespringbootservletinitializerpackagename.md +++ b/docs/recipes/java/spring/boot2/migratespringbootservletinitializerpackagename.md @@ -13,7 +13,12 @@ _Use `org.springframework.boot.web.servlet.support.SpringBootServletInitializer` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migratetowebserverfactorycustomizer.md b/docs/recipes/java/spring/boot2/migratetowebserverfactorycustomizer.md index ac9f79f7a5..0c85b2951e 100644 --- a/docs/recipes/java/spring/boot2/migratetowebserverfactorycustomizer.md +++ b/docs/recipes/java/spring/boot2/migratetowebserverfactorycustomizer.md @@ -16,11 +16,16 @@ Use `WebServerFactoryCustomizer` instead of the deprecated `EmbeddedServletConta ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -71,7 +76,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryiseagerinitfilters.md b/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryiseagerinitfilters.md index c960fc5ed9..c022c37609 100644 --- a/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryiseagerinitfilters.md +++ b/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryiseagerinitfilters.md @@ -13,7 +13,12 @@ _`org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryseteagerinitfilters.md b/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryseteagerinitfilters.md index ef65249659..6f26633993 100644 --- a/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryseteagerinitfilters.md +++ b/docs/recipes/java/spring/boot2/migrateundertowservletwebserverfactoryseteagerinitfilters.md @@ -13,7 +13,12 @@ _`org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/migratewebtestclientbuildercustomizerpackagename.md b/docs/recipes/java/spring/boot2/migratewebtestclientbuildercustomizerpackagename.md index ea1aa20b3b..c267737436 100644 --- a/docs/recipes/java/spring/boot2/migratewebtestclientbuildercustomizerpackagename.md +++ b/docs/recipes/java/spring/boot2/migratewebtestclientbuildercustomizerpackagename.md @@ -13,7 +13,12 @@ _`org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientBuilderC ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-22.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-22.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/moveautoconfigurationtoimportsfile.md b/docs/recipes/java/spring/boot2/moveautoconfigurationtoimportsfile.md index b87b92a768..d81388c371 100644 --- a/docs/recipes/java/spring/boot2/moveautoconfigurationtoimportsfile.md +++ b/docs/recipes/java/spring/boot2/moveautoconfigurationtoimportsfile.md @@ -13,18 +13,23 @@ _Use `AutoConfiguration#imports` instead of the deprecated entry `EnableAutoConf ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MoveAutoConfigurationToImportsFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/MoveAutoConfigurationToImportsFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | preserveFactoriesFile | *Optional*. Don't delete the `spring.factories` for backward compatibility. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/outputcaptureextension.md b/docs/recipes/java/spring/boot2/outputcaptureextension.md index 1b6fc76e41..c7bc35b42a 100644 --- a/docs/recipes/java/spring/boot2/outputcaptureextension.md +++ b/docs/recipes/java/spring/boot2/outputcaptureextension.md @@ -13,12 +13,17 @@ _Use the JUnit Jupiter extension instead of JUnit 4 rule._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/OutputCaptureExtension.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/OutputCaptureExtension.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/removeobsoletespringrunners.md b/docs/recipes/java/spring/boot2/removeobsoletespringrunners.md index 32a4c60219..9e6732c1cb 100644 --- a/docs/recipes/java/spring/boot2/removeobsoletespringrunners.md +++ b/docs/recipes/java/spring/boot2/removeobsoletespringrunners.md @@ -13,7 +13,12 @@ _Remove obsolete classpath runners._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -43,7 +48,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/replacedeprecatedenvironmenttestutils.md b/docs/recipes/java/spring/boot2/replacedeprecatedenvironmenttestutils.md index 3947427351..9067a0a582 100644 --- a/docs/recipes/java/spring/boot2/replacedeprecatedenvironmenttestutils.md +++ b/docs/recipes/java/spring/boot2/replacedeprecatedenvironmenttestutils.md @@ -13,12 +13,17 @@ _Replaces any references to the deprecated `EnvironmentTestUtils` with `TestProp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/ReplaceDeprecatedEnvironmentTestUtils.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/ReplaceDeprecatedEnvironmentTestUtils.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/replaceextendwithandcontextconfiguration.md b/docs/recipes/java/spring/boot2/replaceextendwithandcontextconfiguration.md index 32cdab992c..8f8ef86201 100644 --- a/docs/recipes/java/spring/boot2/replaceextendwithandcontextconfiguration.md +++ b/docs/recipes/java/spring/boot2/replaceextendwithandcontextconfiguration.md @@ -13,12 +13,17 @@ _Replaces `@ExtendWith(SpringRunner.class)` and `@ContextConfiguration` with `@S ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/ReplaceExtendWithAndContextConfiguration.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/ReplaceExtendWithAndContextConfiguration.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/resttemplatebuilderrequestfactory.md b/docs/recipes/java/spring/boot2/resttemplatebuilderrequestfactory.md index 9112d38adf..66dfe4ebc9 100644 --- a/docs/recipes/java/spring/boot2/resttemplatebuilderrequestfactory.md +++ b/docs/recipes/java/spring/boot2/resttemplatebuilderrequestfactory.md @@ -13,12 +13,17 @@ _Migrate `RestTemplateBuilder#requestFactory` calls to use a `Supplier`. See the ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/RestTemplateBuilderRequestFactory.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/RestTemplateBuilderRequestFactory.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/samlrelyingpartypropertyapplicationpropertiesmove.md b/docs/recipes/java/spring/boot2/samlrelyingpartypropertyapplicationpropertiesmove.md index 4d1ea772fa..2a91ac58f3 100644 --- a/docs/recipes/java/spring/boot2/samlrelyingpartypropertyapplicationpropertiesmove.md +++ b/docs/recipes/java/spring/boot2/samlrelyingpartypropertyapplicationpropertiesmove.md @@ -13,12 +13,17 @@ _Renames spring.security.saml2.relyingparty.registration.(any).identityprovider ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/SamlRelyingPartyPropertyApplicationPropertiesMove.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/SamlRelyingPartyPropertyApplicationPropertiesMove.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/search/customizingjooqdefaultconfiguration.md b/docs/recipes/java/spring/boot2/search/customizingjooqdefaultconfiguration.md index 791688b4d4..96de13312f 100644 --- a/docs/recipes/java/spring/boot2/search/customizingjooqdefaultconfiguration.md +++ b/docs/recipes/java/spring/boot2/search/customizingjooqdefaultconfiguration.md @@ -13,12 +13,17 @@ _To streamline the customization of jOOQ’s `DefaultConfiguration`, a bean that ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/search/CustomizingJooqDefaultConfiguration.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/search/CustomizingJooqDefaultConfiguration.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/search/findupgraderequirementsspringboot_2_5.md b/docs/recipes/java/spring/boot2/search/findupgraderequirementsspringboot_2_5.md index 4d1a6018e6..1b8db50e5d 100644 --- a/docs/recipes/java/spring/boot2/search/findupgraderequirementsspringboot_2_5.md +++ b/docs/recipes/java/spring/boot2/search/findupgraderequirementsspringboot_2_5.md @@ -18,11 +18,16 @@ _Looks for a series of patterns that have not yet had auto-remediation recipes d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-25.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-25.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/search/integrationschedulerpoolrecipe.md b/docs/recipes/java/spring/boot2/search/integrationschedulerpoolrecipe.md index f0d5120430..98316d018d 100644 --- a/docs/recipes/java/spring/boot2/search/integrationschedulerpoolrecipe.md +++ b/docs/recipes/java/spring/boot2/search/integrationschedulerpoolrecipe.md @@ -13,12 +13,17 @@ _Spring Integration now reuses an available `TaskScheduler` rather than configur ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/search/IntegrationSchedulerPoolRecipe.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/search/IntegrationSchedulerPoolRecipe.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/search/loggingshutdownhooks.md b/docs/recipes/java/spring/boot2/search/loggingshutdownhooks.md index e42ffe06dd..5dabc9f6c7 100644 --- a/docs/recipes/java/spring/boot2/search/loggingshutdownhooks.md +++ b/docs/recipes/java/spring/boot2/search/loggingshutdownhooks.md @@ -13,12 +13,17 @@ _Spring Boot registers a logging shutdown hook by default for JAR-based applicat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/search/LoggingShutdownHooks.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/search/LoggingShutdownHooks.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/search/messagesinthedefaulterrorview.md b/docs/recipes/java/spring/boot2/search/messagesinthedefaulterrorview.md index 849ae701fc..d92da5c494 100644 --- a/docs/recipes/java/spring/boot2/search/messagesinthedefaulterrorview.md +++ b/docs/recipes/java/spring/boot2/search/messagesinthedefaulterrorview.md @@ -18,11 +18,16 @@ _As of Spring Boot 2.5 the `message` attribute in the default error view was rem ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-25.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-25.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/serverhttpsecuritylambdadsl.md b/docs/recipes/java/spring/boot2/serverhttpsecuritylambdadsl.md index 711c843968..e1db9ea81e 100644 --- a/docs/recipes/java/spring/boot2/serverhttpsecuritylambdadsl.md +++ b/docs/recipes/java/spring/boot2/serverhttpsecuritylambdadsl.md @@ -13,12 +13,17 @@ _Converts `ServerHttpSecurity` chained call from Spring Security pre 5.2.x into ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/ServerHttpSecurityLambdaDsl.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/ServerHttpSecurityLambdaDsl.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springboot2bestpractices.md b/docs/recipes/java/spring/boot2/springboot2bestpractices.md index a041a9b25c..7b182fab60 100644 --- a/docs/recipes/java/spring/boot2/springboot2bestpractices.md +++ b/docs/recipes/java/spring/boot2/springboot2bestpractices.md @@ -18,11 +18,16 @@ _Applies best practices to Spring Boot 2 applications._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md b/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md index 17279ef5b1..fd6156a4c0 100644 --- a/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md +++ b/docs/recipes/java/spring/boot2/springboot2junit4to5migration.md @@ -21,11 +21,16 @@ _This recipe will migrate a Spring Boot application's tests from JUnit 4 to JUni ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springbootmavenpluginmigrateagenttoagents.md b/docs/recipes/java/spring/boot2/springbootmavenpluginmigrateagenttoagents.md index 8e569259db..5387cb01fd 100644 --- a/docs/recipes/java/spring/boot2/springbootmavenpluginmigrateagenttoagents.md +++ b/docs/recipes/java/spring/boot2/springbootmavenpluginmigrateagenttoagents.md @@ -13,12 +13,17 @@ _Migrate the `spring-boot.run.agent` Maven plugin configuration key to `spring-b ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/SpringBootMavenPluginMigrateAgentToAgents.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/SpringBootMavenPluginMigrateAgentToAgents.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_0.md b/docs/recipes/java/spring/boot2/springbootproperties_2_0.md index 60043cd39a..9917983229 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_0.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_0.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -1736,7 +1741,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_1.md b/docs/recipes/java/spring/boot2/springbootproperties_2_1.md index 0fa7b43851..31b5495abd 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_1.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_1.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-21-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-21-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -392,7 +397,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_2.md b/docs/recipes/java/spring/boot2/springbootproperties_2_2.md index f54bfe7bce..6656b0be9d 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_2.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_2.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-22-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-22-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -304,7 +309,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_3.md b/docs/recipes/java/spring/boot2/springbootproperties_2_3.md index 595111bc49..d5db72fe51 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_3.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_3.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-23-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-23-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -572,7 +577,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_4.md b/docs/recipes/java/spring/boot2/springbootproperties_2_4.md index 14e1781704..f88f86dc93 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_4.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_4.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -304,7 +309,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_5.md b/docs/recipes/java/spring/boot2/springbootproperties_2_5.md index 964b03a0f0..d6f1bec8a6 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_5.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_5.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-25-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-25-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -458,7 +463,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_6.md b/docs/recipes/java/spring/boot2/springbootproperties_2_6.md index 92fe1229a0..dc4fe44590 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_6.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_6.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-26-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-26-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -218,7 +223,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/springbootproperties_2_7.md b/docs/recipes/java/spring/boot2/springbootproperties_2_7.md index bc11bd577c..fc50ee9c01 100644 --- a/docs/recipes/java/spring/boot2/springbootproperties_2_7.md +++ b/docs/recipes/java/spring/boot2/springbootproperties_2_7.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-27-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-27-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -122,7 +127,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/unnecessaryspringextension.md b/docs/recipes/java/spring/boot2/unnecessaryspringextension.md index 76f616c616..957c3daaf9 100644 --- a/docs/recipes/java/spring/boot2/unnecessaryspringextension.md +++ b/docs/recipes/java/spring/boot2/unnecessaryspringextension.md @@ -13,12 +13,17 @@ _`@SpringBootTest` and all test slice annotations already applies `@SpringExtens ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/UnnecessarySpringExtension.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot2/UnnecessarySpringExtension.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/unnecessaryspringrunwith.md b/docs/recipes/java/spring/boot2/unnecessaryspringrunwith.md index d813feac43..93b788145a 100644 --- a/docs/recipes/java/spring/boot2/unnecessaryspringrunwith.md +++ b/docs/recipes/java/spring/boot2/unnecessaryspringrunwith.md @@ -13,7 +13,12 @@ _Remove `@RunWith` annotations on Spring tests._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_0.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_0.md index 320561a2d0..ee596975ca 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_0.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_0.md @@ -18,11 +18,16 @@ _Migrate Spring Boot 1.x applications to the latest Spring Boot 2.0 release. Thi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-20.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -154,7 +159,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_1.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_1.md index f8a1f710c9..481fcbea53 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_1.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_1.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Boot 2.1 release. This recipe will mo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-21.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-21.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -104,7 +109,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_2.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_2.md index febf6c8495..1d2fca7f6f 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_2.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_2.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Boot 2.2 release. This recipe will mo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-22.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-22.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -122,7 +127,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_3.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_3.md index b48e27c577..ed8a556d38 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_3.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_3.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Boot 2.3 release. This recipe will mo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-23.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-23.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -120,7 +125,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md index cc315ae9c2..4c52d37142 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_4.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Boot 2.4 release. This recipe will mo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-24.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -130,7 +135,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md index f5519cd214..9af4bef5a0 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_5.md @@ -13,11 +13,16 @@ _Upgrade to Spring Boot 2.5 from any prior 2.x version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-25.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-25.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -122,7 +127,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md index e442a884c0..4c8a5e9a1b 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_6.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Boot 2.6 release. This recipe will mo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-26.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-26.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -106,7 +111,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md b/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md index 637e7fedf4..18f4dd77cc 100644 --- a/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md +++ b/docs/recipes/java/spring/boot2/upgradespringboot_2_7.md @@ -13,11 +13,16 @@ _Upgrade to Spring Boot 2.7._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-27.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-27.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -138,7 +143,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/actuatorendpointsanitization.md b/docs/recipes/java/spring/boot3/actuatorendpointsanitization.md index 1a976cc21c..31e33fe2a0 100644 --- a/docs/recipes/java/spring/boot3/actuatorendpointsanitization.md +++ b/docs/recipes/java/spring/boot3/actuatorendpointsanitization.md @@ -18,11 +18,16 @@ _Spring Boot 3.0 removed the key-based sanitization mechanism used in Spring Boo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/addroutetrailingslash.md b/docs/recipes/java/spring/boot3/addroutetrailingslash.md index 79a4cd0f39..a0c38771d9 100644 --- a/docs/recipes/java/spring/boot3/addroutetrailingslash.md +++ b/docs/recipes/java/spring/boot3/addroutetrailingslash.md @@ -13,12 +13,17 @@ _This is part of Spring MVC and WebFlux URL Matching Changes, as of Spring Frame ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/AddRouteTrailingSlash.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/AddRouteTrailingSlash.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/addsetusetrailingslashmatch.md b/docs/recipes/java/spring/boot3/addsetusetrailingslashmatch.md index 9d9d4dd673..c0cd2cbdbf 100644 --- a/docs/recipes/java/spring/boot3/addsetusetrailingslashmatch.md +++ b/docs/recipes/java/spring/boot3/addsetusetrailingslashmatch.md @@ -13,12 +13,17 @@ _This is part of Spring MVC and WebFlux URL Matching Changes, as of Spring Frame ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/AddSetUseTrailingSlashMatch.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/AddSetUseTrailingSlashMatch.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md b/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md index 2e565dcd94..230793b941 100644 --- a/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md +++ b/docs/recipes/java/spring/boot3/configurationoverenablesecurity.md @@ -13,18 +13,23 @@ _Prior to Spring Security 6, `@EnableXXXSecurity` implicitly had `@Configuration ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/ConfigurationOverEnableSecurity.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/ConfigurationOverEnableSecurity.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `boolean` | forceAddConfiguration | Force add `@Configuration` regardless current Boot version. | `true` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ConfigurationOverEnableSecurityExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ConfigurationOverEnableSecurityExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ConfigurationOverEnableSecurityExample displayName: Add `@Configuration` to classes with `@EnableXXXSecurity` annotations example recipeList: - - org.openrewrite.java.spring.boot3.ConfigurationOverEnableSecurity: - forceAddConfiguration: false + - org.openrewrite.java.spring.boot3.ConfigurationOverEnableSecurity: forceAddConfiguration: false ``` Now that `com.yourorg.ConfigurationOverEnableSecurityExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-spring:{{VERSION_REWRITE_SPRING}}` in your build file: diff --git a/docs/recipes/java/spring/boot3/downgradeservletapiwhenusingjetty.md b/docs/recipes/java/spring/boot3/downgradeservletapiwhenusingjetty.md index f3586d4fa1..8244d45589 100644 --- a/docs/recipes/java/spring/boot3/downgradeservletapiwhenusingjetty.md +++ b/docs/recipes/java/spring/boot3/downgradeservletapiwhenusingjetty.md @@ -19,12 +19,17 @@ _Jetty does not yet support Servlet 6.0. This recipe will detect the presence of ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/DowngradeServletApiWhenUsingJetty.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/DowngradeServletApiWhenUsingJetty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/enablevirtualthreads.md b/docs/recipes/java/spring/boot3/enablevirtualthreads.md index 21b0ba6f3c..c7a1e2fc72 100644 --- a/docs/recipes/java/spring/boot3/enablevirtualthreads.md +++ b/docs/recipes/java/spring/boot3/enablevirtualthreads.md @@ -13,11 +13,16 @@ _Set `spring.threads.virtual.enabled` to `true` in `application.properties` or ` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/maintaintrailingslashurlmappings.md b/docs/recipes/java/spring/boot3/maintaintrailingslashurlmappings.md index f7ea8ba15c..5327b2d9e9 100644 --- a/docs/recipes/java/spring/boot3/maintaintrailingslashurlmappings.md +++ b/docs/recipes/java/spring/boot3/maintaintrailingslashurlmappings.md @@ -13,12 +13,17 @@ _This is part of Spring MVC and WebFlux URL Matching Changes, as of Spring Frame ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/MaintainTrailingSlashURLMappings.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/MaintainTrailingSlashURLMappings.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/migratedropwizarddependencies.md b/docs/recipes/java/spring/boot3/migratedropwizarddependencies.md index 3b792f74a4..a5490749af 100644 --- a/docs/recipes/java/spring/boot3/migratedropwizarddependencies.md +++ b/docs/recipes/java/spring/boot3/migratedropwizarddependencies.md @@ -19,11 +19,16 @@ _Migrate dropWizard dependencies to the new artifactId, since these are changed ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -84,7 +89,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/migratemaxhttpheadersize.md b/docs/recipes/java/spring/boot3/migratemaxhttpheadersize.md index eafe375ba7..08e3161e69 100644 --- a/docs/recipes/java/spring/boot3/migratemaxhttpheadersize.md +++ b/docs/recipes/java/spring/boot3/migratemaxhttpheadersize.md @@ -18,7 +18,12 @@ _Previously, the server.max-http-header-size was treated inconsistently across t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/migratesapcfjavaloggingsupport.md b/docs/recipes/java/spring/boot3/migratesapcfjavaloggingsupport.md index 1f6335d5ef..4e4b769f83 100644 --- a/docs/recipes/java/spring/boot3/migratesapcfjavaloggingsupport.md +++ b/docs/recipes/java/spring/boot3/migratesapcfjavaloggingsupport.md @@ -21,7 +21,12 @@ _Migrate SAP cloud foundry logging support from `cf-java-logging-support-servlet ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -63,7 +68,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/migratethymeleafdependencies.md b/docs/recipes/java/spring/boot3/migratethymeleafdependencies.md index 79c3558029..0479a42ae1 100644 --- a/docs/recipes/java/spring/boot3/migratethymeleafdependencies.md +++ b/docs/recipes/java/spring/boot3/migratethymeleafdependencies.md @@ -19,11 +19,16 @@ _Migrate thymeleaf dependencies to the new artifactId, since these are changed w ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -76,7 +81,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/migratewebmvctagstoobservationconvention.md b/docs/recipes/java/spring/boot3/migratewebmvctagstoobservationconvention.md index 7f53ebb990..2e6c929d00 100644 --- a/docs/recipes/java/spring/boot3/migratewebmvctagstoobservationconvention.md +++ b/docs/recipes/java/spring/boot3/migratewebmvctagstoobservationconvention.md @@ -13,12 +13,17 @@ _Migrate `WebMvcTagsProvider` to `DefaultServerRequestObservationConvention` as ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/MigrateWebMvcTagsToObservationConvention.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/MigrateWebMvcTagsToObservationConvention.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/precisebeantype.md b/docs/recipes/java/spring/boot3/precisebeantype.md index 72bfd5e9d4..8ae68cc0cc 100644 --- a/docs/recipes/java/spring/boot3/precisebeantype.md +++ b/docs/recipes/java/spring/boot3/precisebeantype.md @@ -13,12 +13,17 @@ _Replace Bean method return types with concrete types being returned. This is re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/PreciseBeanType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/PreciseBeanType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/relocatelauncherclasses.md b/docs/recipes/java/spring/boot3/relocatelauncherclasses.md index bfda7e08d2..68f45ca7d5 100644 --- a/docs/recipes/java/spring/boot3/relocatelauncherclasses.md +++ b/docs/recipes/java/spring/boot3/relocatelauncherclasses.md @@ -13,11 +13,16 @@ _Relocate classes that have been moved to different packages in Spring Boot 3.2. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-32.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-32.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/removeconstructorbindingannotation.md b/docs/recipes/java/spring/boot3/removeconstructorbindingannotation.md index 025c20dbd6..17193e9c48 100644 --- a/docs/recipes/java/spring/boot3/removeconstructorbindingannotation.md +++ b/docs/recipes/java/spring/boot3/removeconstructorbindingannotation.md @@ -13,12 +13,17 @@ _As of Boot 3.0 `@ConstructorBinding` is no longer needed at the type level on ` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/RemoveConstructorBindingAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/RemoveConstructorBindingAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/removeenablebatchprocessing.md b/docs/recipes/java/spring/boot3/removeenablebatchprocessing.md index 1e8b531ec7..2a9a71ea94 100644 --- a/docs/recipes/java/spring/boot3/removeenablebatchprocessing.md +++ b/docs/recipes/java/spring/boot3/removeenablebatchprocessing.md @@ -13,12 +13,17 @@ _Add or remove the `@EnableBatchProcessing` annotation from a Spring Boot applic ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/RemoveEnableBatchProcessing.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/RemoveEnableBatchProcessing.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/removesolrautoconfigurationexclude.md b/docs/recipes/java/spring/boot3/removesolrautoconfigurationexclude.md index 64babb4781..22ebde795c 100644 --- a/docs/recipes/java/spring/boot3/removesolrautoconfigurationexclude.md +++ b/docs/recipes/java/spring/boot3/removesolrautoconfigurationexclude.md @@ -13,12 +13,17 @@ _`SolrAutoConfiguration` was removed in Spring Boot 3; remove references to it f ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/RemoveSolrAutoConfigurationExclude.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/boot3/RemoveSolrAutoConfigurationExclude.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/springboot3bestpractices.md b/docs/recipes/java/spring/boot3/springboot3bestpractices.md index 8cf57cb537..16b6782665 100644 --- a/docs/recipes/java/spring/boot3/springboot3bestpractices.md +++ b/docs/recipes/java/spring/boot3/springboot3bestpractices.md @@ -18,11 +18,16 @@ _Applies best practices to Spring Boot 3 applications._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/springbootproperties_3_0.md b/docs/recipes/java/spring/boot3/springbootproperties_3_0.md index 12e78b0967..ea41dcefd7 100644 --- a/docs/recipes/java/spring/boot3/springbootproperties_3_0.md +++ b/docs/recipes/java/spring/boot3/springbootproperties_3_0.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -1748,7 +1753,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/springbootproperties_3_1.md b/docs/recipes/java/spring/boot3/springbootproperties_3_1.md index 03fb5830a2..8954be93e6 100644 --- a/docs/recipes/java/spring/boot3/springbootproperties_3_1.md +++ b/docs/recipes/java/spring/boot3/springbootproperties_3_1.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-31-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-31-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -86,7 +91,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/springbootproperties_3_2.md b/docs/recipes/java/spring/boot3/springbootproperties_3_2.md index 18bb10d498..341be7b73f 100644 --- a/docs/recipes/java/spring/boot3/springbootproperties_3_2.md +++ b/docs/recipes/java/spring/boot3/springbootproperties_3_2.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-32-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-32-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -194,7 +199,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/springbootproperties_3_3.md b/docs/recipes/java/spring/boot3/springbootproperties_3_3.md index ea81ef58ed..6d573bac32 100644 --- a/docs/recipes/java/spring/boot3/springbootproperties_3_3.md +++ b/docs/recipes/java/spring/boot3/springbootproperties_3_3.md @@ -18,11 +18,16 @@ _Migrate properties found in `application.properties` and `application.yml`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-33-properties.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-33-properties.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -86,7 +91,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md index c0093f9b96..f526fe6231 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_0.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Boot 3.0 release. This recipe will mo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-30.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -154,7 +159,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md index 9dc1c69c72..a1b83ba6fc 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_1.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Boot 3.1 release. This recipe will mo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-31.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-31.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -102,7 +107,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md index d44954a7cb..b4342b2556 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_2.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Boot 3.2 release. This recipe will mo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-32.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-32.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -152,7 +157,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md b/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md index b82172c405..e0d74074a8 100644 --- a/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md +++ b/docs/recipes/java/spring/boot3/upgradespringboot_3_3.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Boot 3.3 release. This recipe will mo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-33.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-boot-33.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -120,7 +125,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/changemethodparameter.md b/docs/recipes/java/spring/changemethodparameter.md index 8275505f13..167e18565a 100644 --- a/docs/recipes/java/spring/changemethodparameter.md +++ b/docs/recipes/java/spring/changemethodparameter.md @@ -13,8 +13,9 @@ _Change parameter type for a method declaration, identified by a method pattern. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/ChangeMethodParameter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/ChangeMethodParameter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Change parameter type for a method declaration, identified by a method pattern. | `String` | parameterType | The new type of the parameter that gets updated. | `java.lang.String` | | `Integer` | parameterIndex | A zero-based index that indicates the position at which the parameter will be added. | `0` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodParameterExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeMethodParameterExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeMethodParameterExample displayName: Change parameter type for a method declaration example recipeList: - - org.openrewrite.java.spring.ChangeMethodParameter: - methodPattern: com.yourorg.A foo(int, int) + - org.openrewrite.java.spring.ChangeMethodParameter: methodPattern: com.yourorg.A foo(int, int) parameterType: java.lang.String parameterIndex: 0 ``` diff --git a/docs/recipes/java/spring/changespringpropertykey.md b/docs/recipes/java/spring/changespringpropertykey.md index 5fbfae8686..c6f7f12546 100644 --- a/docs/recipes/java/spring/changespringpropertykey.md +++ b/docs/recipes/java/spring/changespringpropertykey.md @@ -13,8 +13,9 @@ _Change spring application property keys existing in either Properties or Yaml f ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Change spring application property keys existing in either Properties or Yaml f | `String` | newPropertyKey | The new name for the property key. | `management.metrics.enable.process.files` | | `List` | except | *Optional*. Regex. If any of these property keys exist as direct children of `oldPropertyKey`, then they will not be moved to `newPropertyKey`. | `jvm` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeSpringPropertyKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeSpringPropertyKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeSpringPropertyKeyExample displayName: Change the key of a spring application property example recipeList: - - org.openrewrite.java.spring.ChangeSpringPropertyKey: - oldPropertyKey: management.metrics.binders.*.enabled + - org.openrewrite.java.spring.ChangeSpringPropertyKey: oldPropertyKey: management.metrics.binders.*.enabled newPropertyKey: management.metrics.enable.process.files except: jvm ``` diff --git a/docs/recipes/java/spring/changespringpropertyvalue.md b/docs/recipes/java/spring/changespringpropertyvalue.md index dacba02226..c75db2205d 100644 --- a/docs/recipes/java/spring/changespringpropertyvalue.md +++ b/docs/recipes/java/spring/changespringpropertyvalue.md @@ -13,8 +13,9 @@ _Change spring application property values existing in either Properties or Yaml ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Change spring application property values existing in either Properties or Yaml | `Boolean` | regex | *Optional*. Default false. If enabled, `oldValue` will be interpreted as a Regular Expression, and capture group contents will be available in `newValue` | | | `Boolean` | relaxedBinding | *Optional*. Whether to match the `propertyKey` using [relaxed binding](https://docs.spring.io/spring-boot/docs/2.5.6/reference/html/features.html#features.external-config.typesafe-configuration-properties.relaxed-binding) rules. Default is `true`. Set to `false` to use exact matching. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeSpringPropertyValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeSpringPropertyValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeSpringPropertyValueExample displayName: Change the value of a spring application property example recipeList: - - org.openrewrite.java.spring.ChangeSpringPropertyValue: - propertyKey: management.metrics.binders.files.enabled + - org.openrewrite.java.spring.ChangeSpringPropertyValue: propertyKey: management.metrics.binders.files.enabled newValue: management.metrics.enable.process.files oldValue: false ``` diff --git a/docs/recipes/java/spring/cloud2022/addloggingpatternlevelforsleuth.md b/docs/recipes/java/spring/cloud2022/addloggingpatternlevelforsleuth.md index 2441a12b00..df520b8900 100644 --- a/docs/recipes/java/spring/cloud2022/addloggingpatternlevelforsleuth.md +++ b/docs/recipes/java/spring/cloud2022/addloggingpatternlevelforsleuth.md @@ -13,12 +13,17 @@ _Add `logging.pattern.level` for traceId and spanId which was previously set by ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/cloud2022/AddLoggingPatternLevelForSleuth.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/cloud2022/AddLoggingPatternLevelForSleuth.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/cloud2022/dependencyupgrades.md b/docs/recipes/java/spring/cloud2022/dependencyupgrades.md index b9535666a4..d0a82a61dc 100644 --- a/docs/recipes/java/spring/cloud2022/dependencyupgrades.md +++ b/docs/recipes/java/spring/cloud2022/dependencyupgrades.md @@ -18,11 +18,16 @@ _Upgrade dependencies to Spring Cloud 2022 from prior 2021.x version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-cloud-2022.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-cloud-2022.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -146,7 +151,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/cloud2022/migratecloudsleuthtomicrometertracing.md b/docs/recipes/java/spring/cloud2022/migratecloudsleuthtomicrometertracing.md index 390999020c..34182fe75d 100644 --- a/docs/recipes/java/spring/cloud2022/migratecloudsleuthtomicrometertracing.md +++ b/docs/recipes/java/spring/cloud2022/migratecloudsleuthtomicrometertracing.md @@ -21,11 +21,16 @@ _Spring Cloud Sleuth has been discontinued and only compatible with Spring Boot ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-cloud-2022.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-cloud-2022.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -270,7 +275,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/cloud2022/upgradespringcloud_2022.md b/docs/recipes/java/spring/cloud2022/upgradespringcloud_2022.md index 2628b27bdd..2b8d7d18f4 100644 --- a/docs/recipes/java/spring/cloud2022/upgradespringcloud_2022.md +++ b/docs/recipes/java/spring/cloud2022/upgradespringcloud_2022.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Cloud 2022 (Kilburn) release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-cloud-2022.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-cloud-2022.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/cloud2023/dependencyupgrades.md b/docs/recipes/java/spring/cloud2023/dependencyupgrades.md index ad59814f4e..d45065c049 100644 --- a/docs/recipes/java/spring/cloud2023/dependencyupgrades.md +++ b/docs/recipes/java/spring/cloud2023/dependencyupgrades.md @@ -18,11 +18,16 @@ _Upgrade dependencies to Spring Cloud 2023 from prior 2022.x version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-cloud-2023.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-cloud-2023.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -138,7 +143,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/cloud2023/upgradespringcloud_2023.md b/docs/recipes/java/spring/cloud2023/upgradespringcloud_2023.md index 9a7508321c..93330996bc 100644 --- a/docs/recipes/java/spring/cloud2023/upgradespringcloud_2023.md +++ b/docs/recipes/java/spring/cloud2023/upgradespringcloud_2023.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Cloud 2023 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-cloud-2023.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-cloud-2023.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/commentoutspringpropertykey.md b/docs/recipes/java/spring/commentoutspringpropertykey.md index 9d7e875999..a453dbdf62 100644 --- a/docs/recipes/java/spring/commentoutspringpropertykey.md +++ b/docs/recipes/java/spring/commentoutspringpropertykey.md @@ -13,8 +13,9 @@ _Add comment to specified Spring properties, and comment out the property._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/CommentOutSpringPropertyKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/CommentOutSpringPropertyKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Add comment to specified Spring properties, and comment out the property._ | `String` | propertyKey | The name of the property key to comment out. | `management.metrics.binders.files.enabled` | | `String` | comment | Comment to replace the property key. | `This property is deprecated and no longer applicable starting from Spring Boot 3.0.x` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CommentOutSpringPropertyKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CommentOutSpringPropertyKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.CommentOutSpringPropertyKeyExample displayName: Comment out Spring properties example recipeList: - - org.openrewrite.java.spring.CommentOutSpringPropertyKey: - propertyKey: management.metrics.binders.files.enabled + - org.openrewrite.java.spring.CommentOutSpringPropertyKey: propertyKey: management.metrics.binders.files.enabled comment: This property is deprecated and no longer applicable starting from Spring Boot 3.0.x ``` diff --git a/docs/recipes/java/spring/data/migrateauditorawaretooptional.md b/docs/recipes/java/spring/data/migrateauditorawaretooptional.md index 8a1a198acf..46408b70f9 100644 --- a/docs/recipes/java/spring/data/migrateauditorawaretooptional.md +++ b/docs/recipes/java/spring/data/migrateauditorawaretooptional.md @@ -13,12 +13,17 @@ _As of Spring boot 2.0, the `AuditorAware.getCurrentAuditor` method should retur ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/MigrateAuditorAwareToOptional.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/MigrateAuditorAwareToOptional.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/data/migratejpasort.md b/docs/recipes/java/spring/data/migratejpasort.md index 44a10e9371..dd0c0d9b6b 100644 --- a/docs/recipes/java/spring/data/migratejpasort.md +++ b/docs/recipes/java/spring/data/migratejpasort.md @@ -13,12 +13,17 @@ _Equivalent constructors in `JpaSort` were deprecated in Spring Data 2.3._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/MigrateJpaSort.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/MigrateJpaSort.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/data/migratequerydsljparepository.md b/docs/recipes/java/spring/data/migratequerydsljparepository.md index 5b9b8c2940..efd4b00aa5 100644 --- a/docs/recipes/java/spring/data/migratequerydsljparepository.md +++ b/docs/recipes/java/spring/data/migratequerydsljparepository.md @@ -16,12 +16,17 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/MigrateQuerydslJpaRepository.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/MigrateQuerydslJpaRepository.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/data/refactorsimplemongodbfactory.md b/docs/recipes/java/spring/data/refactorsimplemongodbfactory.md index a9a980a184..aaca4df92c 100644 --- a/docs/recipes/java/spring/data/refactorsimplemongodbfactory.md +++ b/docs/recipes/java/spring/data/refactorsimplemongodbfactory.md @@ -13,12 +13,17 @@ _Replace usage of deprecated `new SimpleMongoDbFactory(new MongoClientURI(String ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/RefactorSimpleMongoDbFactory.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/RefactorSimpleMongoDbFactory.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/data/upgradespringdata_2_3.md b/docs/recipes/java/spring/data/upgradespringdata_2_3.md index 6c265a162c..fb42753925 100644 --- a/docs/recipes/java/spring/data/upgradespringdata_2_3.md +++ b/docs/recipes/java/spring/data/upgradespringdata_2_3.md @@ -13,11 +13,16 @@ _Migrate applications to the latest Spring Data 2.3 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-23.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-23.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/data/upgradespringdata_2_5.md b/docs/recipes/java/spring/data/upgradespringdata_2_5.md index 5f4284b10e..f878894eed 100644 --- a/docs/recipes/java/spring/data/upgradespringdata_2_5.md +++ b/docs/recipes/java/spring/data/upgradespringdata_2_5.md @@ -13,11 +13,16 @@ _Migrate applications to the latest Spring Data 2.5 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-25.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-25.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/data/upgradespringdata_2_7.md b/docs/recipes/java/spring/data/upgradespringdata_2_7.md index c9f9e54498..e6df5662cf 100644 --- a/docs/recipes/java/spring/data/upgradespringdata_2_7.md +++ b/docs/recipes/java/spring/data/upgradespringdata_2_7.md @@ -13,11 +13,16 @@ _Migrate applications to the latest Spring Data 2.7 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-27.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-27.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/data/usejparepositorydeleteallinbatch.md b/docs/recipes/java/spring/data/usejparepositorydeleteallinbatch.md index e1e8298968..1fd2c52c1d 100644 --- a/docs/recipes/java/spring/data/usejparepositorydeleteallinbatch.md +++ b/docs/recipes/java/spring/data/usejparepositorydeleteallinbatch.md @@ -13,7 +13,12 @@ _`JpaRepository#deleteInBatch(Iterable)` was deprecated in 2.5._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-25.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-25.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/data/usejparepositorygetbyid.md b/docs/recipes/java/spring/data/usejparepositorygetbyid.md index 0382e02527..cdffeb4a73 100644 --- a/docs/recipes/java/spring/data/usejparepositorygetbyid.md +++ b/docs/recipes/java/spring/data/usejparepositorygetbyid.md @@ -13,7 +13,12 @@ _`JpaRepository#getOne(ID)` was deprecated in 2.5._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-25.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-25.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/data/usejparepositorygetreferencebyid.md b/docs/recipes/java/spring/data/usejparepositorygetreferencebyid.md index 342177c240..0e36bc45c6 100644 --- a/docs/recipes/java/spring/data/usejparepositorygetreferencebyid.md +++ b/docs/recipes/java/spring/data/usejparepositorygetreferencebyid.md @@ -13,11 +13,16 @@ _`JpaRepository#getOne(ID)` was deprecated in 2.5 and `JpaRepository#getById(ID) ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-27.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-data-27.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md b/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md index 8897713ffd..6cbcbb0920 100644 --- a/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md +++ b/docs/recipes/java/spring/data/usetlsjdbcconnectionstring.md @@ -13,8 +13,9 @@ _Increasingly, for compliance reasons (e.g. [NACHA](https://www.nacha.org/sites/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/UseTlsJdbcConnectionString.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/data/UseTlsJdbcConnectionString.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Increasingly, for compliance reasons (e.g. [NACHA](https://www.nacha.org/sites/ | `Integer` | port | The TLS-enabled port to use. | `1234` | | `String` | attribute | A connection attribute, if any, indicating to the JDBC provider that this is a TLS connection. | `sslConnection=true` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseTlsJdbcConnectionStringExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseTlsJdbcConnectionStringExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UseTlsJdbcConnectionStringExample displayName: Use TLS for JDBC connection strings example recipeList: - - org.openrewrite.java.spring.data.UseTlsJdbcConnectionString: - propertyKey: spring.datasource.url + - org.openrewrite.java.spring.data.UseTlsJdbcConnectionString: propertyKey: spring.datasource.url oldPort: 1234 port: 1234 attribute: sslConnection=true diff --git a/docs/recipes/java/spring/deletespringproperty.md b/docs/recipes/java/spring/deletespringproperty.md index 61420fc1e7..21476d763a 100644 --- a/docs/recipes/java/spring/deletespringproperty.md +++ b/docs/recipes/java/spring/deletespringproperty.md @@ -13,18 +13,23 @@ _Delete a spring configuration property from any configuration file that contain ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/DeleteSpringProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/DeleteSpringProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | propertyKey | The property key to delete. Supports glob expressions | `management.endpoint.configprops.*` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteSpringPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteSpringPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DeleteSpringPropertyExample displayName: Delete a spring configuration property example recipeList: - - org.openrewrite.java.spring.DeleteSpringProperty: - propertyKey: management.endpoint.configprops.* + - org.openrewrite.java.spring.DeleteSpringProperty: propertyKey: management.endpoint.configprops.* ``` Now that `com.yourorg.DeleteSpringPropertyExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-spring:{{VERSION_REWRITE_SPRING}}` in your build file: diff --git a/docs/recipes/java/spring/expandproperties.md b/docs/recipes/java/spring/expandproperties.md index 2fd10c6ef0..8f6392f913 100644 --- a/docs/recipes/java/spring/expandproperties.md +++ b/docs/recipes/java/spring/expandproperties.md @@ -13,18 +13,23 @@ _Expand YAML properties to not use the dot syntax shortcut._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/ExpandProperties.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/ExpandProperties.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | sourceFileMask | *Optional*. An optional source file path mask use to restrict which YAML files will be expanded by this recipe. | `**/application*.yml` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/beanmethodreturnnull.md b/docs/recipes/java/spring/framework/beanmethodreturnnull.md index f7cd9a916a..a57d410622 100644 --- a/docs/recipes/java/spring/framework/beanmethodreturnnull.md +++ b/docs/recipes/java/spring/framework/beanmethodreturnnull.md @@ -13,12 +13,17 @@ _Make `@Bean` methods return `Object` instead of `void`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/BeanMethodReturnNull.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/BeanMethodReturnNull.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/beanmethodsnotpublic.md b/docs/recipes/java/spring/framework/beanmethodsnotpublic.md index 93ed03265d..9d98933bc5 100644 --- a/docs/recipes/java/spring/framework/beanmethodsnotpublic.md +++ b/docs/recipes/java/spring/framework/beanmethodsnotpublic.md @@ -13,12 +13,17 @@ _Remove public modifier from `@Bean` methods. They no longer have to be public v ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/BeanMethodsNotPublic.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/BeanMethodsNotPublic.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/environmentacceptsprofiles.md b/docs/recipes/java/spring/framework/environmentacceptsprofiles.md index c61e3ab15a..4d3631917f 100644 --- a/docs/recipes/java/spring/framework/environmentacceptsprofiles.md +++ b/docs/recipes/java/spring/framework/environmentacceptsprofiles.md @@ -13,12 +13,17 @@ _`Environment#acceptsProfiles(String...)` was deprecated in Spring Framework 5.1 ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/EnvironmentAcceptsProfiles.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/EnvironmentAcceptsProfiles.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/httpcomponentsclienthttprequestfactoryreadtimeout.md b/docs/recipes/java/spring/framework/httpcomponentsclienthttprequestfactoryreadtimeout.md index 29bd961275..7aa8c520da 100644 --- a/docs/recipes/java/spring/framework/httpcomponentsclienthttprequestfactoryreadtimeout.md +++ b/docs/recipes/java/spring/framework/httpcomponentsclienthttprequestfactoryreadtimeout.md @@ -13,12 +13,17 @@ _`setReadTimeout(..)` was removed in Spring Framework 6.1._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/HttpComponentsClientHttpRequestFactoryReadTimeout.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/HttpComponentsClientHttpRequestFactoryReadTimeout.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/jdbctemplateobjectarrayargtovarargs.md b/docs/recipes/java/spring/framework/jdbctemplateobjectarrayargtovarargs.md index 45e4c1919b..8f385c57f6 100644 --- a/docs/recipes/java/spring/framework/jdbctemplateobjectarrayargtovarargs.md +++ b/docs/recipes/java/spring/framework/jdbctemplateobjectarrayargtovarargs.md @@ -13,12 +13,17 @@ _`JdbcTemplate` signatures with `Object[]` arguments are deprecated, in favor of ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/JdbcTemplateObjectArrayArgToVarArgs.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/JdbcTemplateObjectArrayArgToVarArgs.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/migratehandlerinterceptor.md b/docs/recipes/java/spring/framework/migratehandlerinterceptor.md index 5f5943bbc7..7853e559a7 100644 --- a/docs/recipes/java/spring/framework/migratehandlerinterceptor.md +++ b/docs/recipes/java/spring/framework/migratehandlerinterceptor.md @@ -13,12 +13,17 @@ _Deprecated as of 5.3 in favor of implementing `HandlerInterceptor` and/or `Asyn ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateHandlerInterceptor.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateHandlerInterceptor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/migrateinstantiationawarebeanpostprocessoradapter.md b/docs/recipes/java/spring/framework/migrateinstantiationawarebeanpostprocessoradapter.md index 49cc9a4514..beb05d9f98 100644 --- a/docs/recipes/java/spring/framework/migrateinstantiationawarebeanpostprocessoradapter.md +++ b/docs/recipes/java/spring/framework/migrateinstantiationawarebeanpostprocessoradapter.md @@ -13,12 +13,17 @@ _As of Spring-Framework 5.3 `InstantiationAwareBeanPostProcessorAdapter` is depr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateInstantiationAwareBeanPostProcessorAdapter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateInstantiationAwareBeanPostProcessorAdapter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/migrateresponseentityexceptionhandlerhttpstatustohttpstatuscode.md b/docs/recipes/java/spring/framework/migrateresponseentityexceptionhandlerhttpstatustohttpstatuscode.md index b2b360ddab..23f8b53d1a 100644 --- a/docs/recipes/java/spring/framework/migrateresponseentityexceptionhandlerhttpstatustohttpstatuscode.md +++ b/docs/recipes/java/spring/framework/migrateresponseentityexceptionhandlerhttpstatustohttpstatuscode.md @@ -13,12 +13,17 @@ _With Spring 6 `HttpStatus` was replaced by `HttpStatusCode` in most method sign ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseEntityExceptionHandlerHttpStatusToHttpStatusCode.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseEntityExceptionHandlerHttpStatusToHttpStatusCode.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/migrateresponsestatusexception.md b/docs/recipes/java/spring/framework/migrateresponsestatusexception.md index 9966fd89ad..56f115b315 100644 --- a/docs/recipes/java/spring/framework/migrateresponsestatusexception.md +++ b/docs/recipes/java/spring/framework/migrateresponsestatusexception.md @@ -13,11 +13,16 @@ _Migrate Spring Framework 5.3's `ResponseStatusException` method `getRawStatusCo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-60.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-60.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetrawstatuscodemethod.md b/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetrawstatuscodemethod.md index 5b598d458a..e01ded3839 100644 --- a/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetrawstatuscodemethod.md +++ b/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetrawstatuscodemethod.md @@ -13,12 +13,17 @@ _Migrate Spring Framework 5.3's `ResponseStatusException` method `getRawStatusCo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetRawStatusCodeMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetRawStatusCodeMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetstatuscodemethod.md b/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetstatuscodemethod.md index 5736780c1b..a73faf79a7 100644 --- a/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetstatuscodemethod.md +++ b/docs/recipes/java/spring/framework/migrateresponsestatusexceptiongetstatuscodemethod.md @@ -13,12 +13,17 @@ _Migrate Spring Framework 5.3's `ResponseStatusException` method `getStatus()` t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetStatusCodeMethod.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetStatusCodeMethod.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/migratespringassert.md b/docs/recipes/java/spring/framework/migratespringassert.md index c79fc9739c..197954be55 100644 --- a/docs/recipes/java/spring/framework/migratespringassert.md +++ b/docs/recipes/java/spring/framework/migratespringassert.md @@ -13,11 +13,16 @@ _Assert methods without a message argument have been removed in Spring Framework ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-60.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-60.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -130,7 +135,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/migrateutf8mediatypes.md b/docs/recipes/java/spring/framework/migrateutf8mediatypes.md index d45bb23f55..1c1a1db632 100644 --- a/docs/recipes/java/spring/framework/migrateutf8mediatypes.md +++ b/docs/recipes/java/spring/framework/migrateutf8mediatypes.md @@ -13,12 +13,17 @@ _Spring Web `MediaType#APPLICATION_JSON_UTF8` and `MediaType#APPLICATION_PROBLEM ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateUtf8MediaTypes.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateUtf8MediaTypes.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/migratewebmvcconfigureradapter.md b/docs/recipes/java/spring/framework/migratewebmvcconfigureradapter.md index f0ffc5671c..99c5717c9e 100644 --- a/docs/recipes/java/spring/framework/migratewebmvcconfigureradapter.md +++ b/docs/recipes/java/spring/framework/migratewebmvcconfigureradapter.md @@ -13,12 +13,17 @@ _As of 5.0 `WebMvcConfigurer` has default methods (made possible by a Java 8 bas ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateWebMvcConfigurerAdapter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/framework/MigrateWebMvcConfigurerAdapter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/upgradespringframework_5_0.md b/docs/recipes/java/spring/framework/upgradespringframework_5_0.md index d112f5e1af..c1c17db9b5 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_5_0.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_5_0.md @@ -13,11 +13,16 @@ _Migrate applications to the latest Spring Framework 5.0 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-50.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-50.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/upgradespringframework_5_1.md b/docs/recipes/java/spring/framework/upgradespringframework_5_1.md index 9041d4fd2c..b14c487409 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_5_1.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_5_1.md @@ -13,11 +13,16 @@ _Migrate applications to the latest Spring Framework 5.1 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-51.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-51.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/upgradespringframework_5_2.md b/docs/recipes/java/spring/framework/upgradespringframework_5_2.md index 7cb46fd420..7885c67fce 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_5_2.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_5_2.md @@ -13,11 +13,16 @@ _Migrate applications to the latest Spring Framework 5.2 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-52.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-52.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/upgradespringframework_5_3.md b/docs/recipes/java/spring/framework/upgradespringframework_5_3.md index 079690f421..3336150271 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_5_3.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_5_3.md @@ -13,11 +13,16 @@ _Migrate applications to the latest Spring Framework 5.3 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-53.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-53.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -104,7 +109,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/upgradespringframework_6_0.md b/docs/recipes/java/spring/framework/upgradespringframework_6_0.md index 57b20be285..a95b70c402 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_6_0.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_6_0.md @@ -13,11 +13,16 @@ _Migrate applications to the latest Spring Framework 6.0 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-60.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-60.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/upgradespringframework_6_1.md b/docs/recipes/java/spring/framework/upgradespringframework_6_1.md index 384a6e2b85..220dfd181d 100644 --- a/docs/recipes/java/spring/framework/upgradespringframework_6_1.md +++ b/docs/recipes/java/spring/framework/upgradespringframework_6_1.md @@ -13,11 +13,16 @@ _Migrate applications to the latest Spring Framework 6.1 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-61.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-61.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/framework/useobjectutilsisempty.md b/docs/recipes/java/spring/framework/useobjectutilsisempty.md index a8134bfe35..9a934fca96 100644 --- a/docs/recipes/java/spring/framework/useobjectutilsisempty.md +++ b/docs/recipes/java/spring/framework/useobjectutilsisempty.md @@ -13,7 +13,12 @@ _`StringUtils#isEmpty(Object)` was deprecated in 5.3._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-53.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-framework-53.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/http/replacestringliteralswithhttpheadersconstants.md b/docs/recipes/java/spring/http/replacestringliteralswithhttpheadersconstants.md index 2b362c80eb..8e9ddef033 100644 --- a/docs/recipes/java/spring/http/replacestringliteralswithhttpheadersconstants.md +++ b/docs/recipes/java/spring/http/replacestringliteralswithhttpheadersconstants.md @@ -13,12 +13,17 @@ _Replace String literals with `org.springframework.http.HttpHeaders` constants._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithHttpHeadersConstants.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithHttpHeadersConstants.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/http/replacestringliteralswithmediatypeconstants.md b/docs/recipes/java/spring/http/replacestringliteralswithmediatypeconstants.md index cb7117fe47..d095b1497e 100644 --- a/docs/recipes/java/spring/http/replacestringliteralswithmediatypeconstants.md +++ b/docs/recipes/java/spring/http/replacestringliteralswithmediatypeconstants.md @@ -13,12 +13,17 @@ _Replace String literals with `org.springframework.http.MediaType` constants._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithMediaTypeConstants.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithMediaTypeConstants.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/http/simplifymediatypeparsecalls.md b/docs/recipes/java/spring/http/simplifymediatypeparsecalls.md index bec1db8870..4b32d52cc2 100644 --- a/docs/recipes/java/spring/http/simplifymediatypeparsecalls.md +++ b/docs/recipes/java/spring/http/simplifymediatypeparsecalls.md @@ -13,12 +13,17 @@ _Replaces `MediaType.parseMediaType("application/json")` and `MediaType.valueOf( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCalls.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCalls.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/http/simplifywebtestclientcalls.md b/docs/recipes/java/spring/http/simplifywebtestclientcalls.md index 804f0dbc5a..76b85171e9 100644 --- a/docs/recipes/java/spring/http/simplifywebtestclientcalls.md +++ b/docs/recipes/java/spring/http/simplifywebtestclientcalls.md @@ -13,12 +13,17 @@ _Simplifies various types of WebTestClient expressions to improve code readabili ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/http/SimplifyWebTestClientCalls.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/http/SimplifyWebTestClientCalls.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/http/springwebdependency.md b/docs/recipes/java/spring/http/springwebdependency.md index de685dd922..b5ba0761b8 100644 --- a/docs/recipes/java/spring/http/springwebdependency.md +++ b/docs/recipes/java/spring/http/springwebdependency.md @@ -13,11 +13,16 @@ _Find compile scoped Spring Web dependency for Maven and Gradle, both direct and ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-web-dependency.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-web-dependency.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/implicitwebannotationnames.md b/docs/recipes/java/spring/implicitwebannotationnames.md index 5afd59efe3..1dab3d8ccf 100644 --- a/docs/recipes/java/spring/implicitwebannotationnames.md +++ b/docs/recipes/java/spring/implicitwebannotationnames.md @@ -13,12 +13,17 @@ _Removes implicit web annotation names._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/ImplicitWebAnnotationNames.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/ImplicitWebAnnotationNames.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/kafka/kafkaoperationssendreturntype.md b/docs/recipes/java/spring/kafka/kafkaoperationssendreturntype.md index 6275c436f3..46cdaeb5c3 100644 --- a/docs/recipes/java/spring/kafka/kafkaoperationssendreturntype.md +++ b/docs/recipes/java/spring/kafka/kafkaoperationssendreturntype.md @@ -13,12 +13,17 @@ _Send operations used to return a `ListenableFuture` but as of 3.0 return a `Com ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/kafka/KafkaOperationsSendReturnType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/kafka/KafkaOperationsSendReturnType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/kafka/kafkatestutilsduration.md b/docs/recipes/java/spring/kafka/kafkatestutilsduration.md index 012545d2d7..51f2d78adc 100644 --- a/docs/recipes/java/spring/kafka/kafkatestutilsduration.md +++ b/docs/recipes/java/spring/kafka/kafkatestutilsduration.md @@ -13,12 +13,17 @@ _Replace `KafkaTestUtils` methods that take a `long` argument with methods that ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/kafka/KafkaTestUtilsDuration.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/kafka/KafkaTestUtilsDuration.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/kafka/removeusingcompletablefuture.md b/docs/recipes/java/spring/kafka/removeusingcompletablefuture.md index 40f429c6ca..244d691faa 100644 --- a/docs/recipes/java/spring/kafka/removeusingcompletablefuture.md +++ b/docs/recipes/java/spring/kafka/removeusingcompletablefuture.md @@ -13,12 +13,17 @@ _Remove the `KafkaOperations.usingCompletableFuture()` bridge during Spring Kafk ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/kafka/RemoveUsingCompletableFuture.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/kafka/RemoveUsingCompletableFuture.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/kafka/upgradespringkafka_3_0.md b/docs/recipes/java/spring/kafka/upgradespringkafka_3_0.md index bc4e2ef626..fbe920e7de 100644 --- a/docs/recipes/java/spring/kafka/upgradespringkafka_3_0.md +++ b/docs/recipes/java/spring/kafka/upgradespringkafka_3_0.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Kafka 3.0 release._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-kafka-30.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-kafka-30.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -86,7 +91,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/noautowiredonconstructor.md b/docs/recipes/java/spring/noautowiredonconstructor.md index e53c6f0414..263040422e 100644 --- a/docs/recipes/java/spring/noautowiredonconstructor.md +++ b/docs/recipes/java/spring/noautowiredonconstructor.md @@ -13,12 +13,17 @@ _Spring can infer an autowired constructor when there is a single constructor on ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/NoAutowiredOnConstructor.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/NoAutowiredOnConstructor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/norepoannotationonrepointerface.md b/docs/recipes/java/spring/norepoannotationonrepointerface.md index b4dcf0670c..03901004ac 100644 --- a/docs/recipes/java/spring/norepoannotationonrepointerface.md +++ b/docs/recipes/java/spring/norepoannotationonrepointerface.md @@ -13,12 +13,17 @@ _Removes superfluous `@Repository` annotation from Spring Data `Repository` sub- ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/NoRepoAnnotationOnRepoInterface.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/NoRepoAnnotationOnRepoInterface.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/norequestmappingannotation.md b/docs/recipes/java/spring/norequestmappingannotation.md index 5bbaea75b3..172458ff11 100644 --- a/docs/recipes/java/spring/norequestmappingannotation.md +++ b/docs/recipes/java/spring/norequestmappingannotation.md @@ -17,12 +17,17 @@ _Replace method declaration `@RequestMapping` annotations with `@GetMapping`, `@ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/NoRequestMappingAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/NoRequestMappingAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/propertiestokebabcase.md b/docs/recipes/java/spring/propertiestokebabcase.md index 2f4ea6bcd0..0c7f7810a4 100644 --- a/docs/recipes/java/spring/propertiestokebabcase.md +++ b/docs/recipes/java/spring/propertiestokebabcase.md @@ -16,11 +16,16 @@ Normalize Spring properties to use lowercase and hyphen-separated syntax. For ex ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/PropertiesToKebabCase.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/PropertiesToKebabCase.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/renamebean.md b/docs/recipes/java/spring/renamebean.md index 6bc00aee27..f932f7acb1 100644 --- a/docs/recipes/java/spring/renamebean.md +++ b/docs/recipes/java/spring/renamebean.md @@ -13,8 +13,9 @@ _Renames a Spring bean, both declaration and references._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/RenameBean.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/RenameBean.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Renames a Spring bean, both declaration and references._ | `String` | oldName | | `fooBean` | | `String` | newName | | `barBean` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RenameBeanExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RenameBeanExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RenameBeanExample displayName: Rename bean example recipeList: - - org.openrewrite.java.spring.RenameBean: - type: foo.MyType + - org.openrewrite.java.spring.RenameBean: type: foo.MyType oldName: fooBean newName: barBean ``` diff --git a/docs/recipes/java/spring/search/findapicalls.md b/docs/recipes/java/spring/search/findapicalls.md index a43948bf0a..ce64c38588 100644 --- a/docs/recipes/java/spring/search/findapicalls.md +++ b/docs/recipes/java/spring/search/findapicalls.md @@ -13,12 +13,17 @@ _Find outbound HTTP API calls made via Spring's `RestTemplate` class._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/search/FindApiCalls.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/search/FindApiCalls.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/search/findapiendpoints.md b/docs/recipes/java/spring/search/findapiendpoints.md index e2da7eb839..c4d2ef443e 100644 --- a/docs/recipes/java/spring/search/findapiendpoints.md +++ b/docs/recipes/java/spring/search/findapiendpoints.md @@ -13,12 +13,17 @@ _Find all HTTP API endpoints exposed by Spring applications. More specifically, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/search/FindApiEndpoints.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/search/FindApiEndpoints.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/search/findspringcomponents.md b/docs/recipes/java/spring/search/findspringcomponents.md index 58fed732ed..9d0ef0134a 100644 --- a/docs/recipes/java/spring/search/findspringcomponents.md +++ b/docs/recipes/java/spring/search/findspringcomponents.md @@ -13,12 +13,17 @@ _Find Spring components, including controllers, services, repositories, return t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/search/FindSpringComponents.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/search/FindSpringComponents.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/authorizehttprequests.md b/docs/recipes/java/spring/security5/authorizehttprequests.md index deb5fdce9c..03acb290e4 100644 --- a/docs/recipes/java/spring/security5/authorizehttprequests.md +++ b/docs/recipes/java/spring/security5/authorizehttprequests.md @@ -13,12 +13,17 @@ _Replace `HttpSecurity.authorizeRequests(...)` deprecated in Spring Security 6 w ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/AuthorizeHttpRequests.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/AuthorizeHttpRequests.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/renamenimbusdsjsonobjectpackagename.md b/docs/recipes/java/spring/security5/renamenimbusdsjsonobjectpackagename.md index df2b443172..8edc389724 100644 --- a/docs/recipes/java/spring/security5/renamenimbusdsjsonobjectpackagename.md +++ b/docs/recipes/java/spring/security5/renamenimbusdsjsonobjectpackagename.md @@ -18,11 +18,16 @@ _Rename the package name from `com.nimbusds.jose.shaded.json` to `net.minidev.js ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-58.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-58.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurity.md b/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurity.md index a1ca42409e..0755928bb6 100644 --- a/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurity.md +++ b/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurity.md @@ -16,12 +16,17 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/ReplaceGlobalMethodSecurityWithMethodSecurity.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/ReplaceGlobalMethodSecurityWithMethodSecurity.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurityxml.md b/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurityxml.md index 9e04a6a057..96836ccc47 100644 --- a/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurityxml.md +++ b/docs/recipes/java/spring/security5/replaceglobalmethodsecuritywithmethodsecurityxml.md @@ -21,11 +21,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-58.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-58.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -67,7 +72,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/search/findencryptorsqueryabletextuses.md b/docs/recipes/java/spring/security5/search/findencryptorsqueryabletextuses.md index 74461a6213..b27de31f4f 100644 --- a/docs/recipes/java/spring/security5/search/findencryptorsqueryabletextuses.md +++ b/docs/recipes/java/spring/security5/search/findencryptorsqueryabletextuses.md @@ -19,7 +19,12 @@ _`Encryptors.queryableText()` is insecure and is removed in Spring Security 6._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-58.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-58.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -55,7 +60,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/updateargon2passwordencoder.md b/docs/recipes/java/spring/security5/updateargon2passwordencoder.md index cff8e05ea7..e839ef5876 100644 --- a/docs/recipes/java/spring/security5/updateargon2passwordencoder.md +++ b/docs/recipes/java/spring/security5/updateargon2passwordencoder.md @@ -13,12 +13,17 @@ _In Spring Security 5.8 some `Argon2PasswordEncoder` constructors have been depr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/UpdateArgon2PasswordEncoder.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/UpdateArgon2PasswordEncoder.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/updatepbkdf2passwordencoder.md b/docs/recipes/java/spring/security5/updatepbkdf2passwordencoder.md index 7ada97ef1b..6c89efdb80 100644 --- a/docs/recipes/java/spring/security5/updatepbkdf2passwordencoder.md +++ b/docs/recipes/java/spring/security5/updatepbkdf2passwordencoder.md @@ -13,12 +13,17 @@ _In Spring Security 5.8 some `Pbkdf2PasswordEncoder` constructors have been depr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/UpdatePbkdf2PasswordEncoder.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/UpdatePbkdf2PasswordEncoder.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/updatescryptpasswordencoder.md b/docs/recipes/java/spring/security5/updatescryptpasswordencoder.md index bb800cf1e1..dbb88ae626 100644 --- a/docs/recipes/java/spring/security5/updatescryptpasswordencoder.md +++ b/docs/recipes/java/spring/security5/updatescryptpasswordencoder.md @@ -13,12 +13,17 @@ _In Spring Security 5.8 some `SCryptPasswordEncoder` constructors have been depr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/UpdateSCryptPasswordEncoder.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/UpdateSCryptPasswordEncoder.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/upgradespringsecurity_5_7.md b/docs/recipes/java/spring/security5/upgradespringsecurity_5_7.md index f463dbf7e3..9a1ab8a209 100644 --- a/docs/recipes/java/spring/security5/upgradespringsecurity_5_7.md +++ b/docs/recipes/java/spring/security5/upgradespringsecurity_5_7.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Security 5.7 release. This recipe wil ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-57.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-57.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md b/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md index 1183262763..dcfa3cd54e 100644 --- a/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md +++ b/docs/recipes/java/spring/security5/upgradespringsecurity_5_8.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Security 5.8 release. This recipe wil ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-58.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-58.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -84,7 +89,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/usenewrequestmatchers.md b/docs/recipes/java/spring/security5/usenewrequestmatchers.md index e8c29f4d87..c7ed629dba 100644 --- a/docs/recipes/java/spring/security5/usenewrequestmatchers.md +++ b/docs/recipes/java/spring/security5/usenewrequestmatchers.md @@ -13,12 +13,17 @@ _In Spring Security 5.8, the `antMatchers`, `mvcMatchers`, and `regexMatchers` m ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/UseNewRequestMatchers.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/UseNewRequestMatchers.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/usenewsecuritymatchers.md b/docs/recipes/java/spring/security5/usenewsecuritymatchers.md index f4ca4b2540..ddb0390add 100644 --- a/docs/recipes/java/spring/security5/usenewsecuritymatchers.md +++ b/docs/recipes/java/spring/security5/usenewsecuritymatchers.md @@ -13,12 +13,17 @@ _In Spring Security 5.8, the `HttpSecurity#antMatcher()`, `HttpSecurity#mvcMatch ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/UseNewSecurityMatchers.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/UseNewSecurityMatchers.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security5/websecurityconfigureradapter.md b/docs/recipes/java/spring/security5/websecurityconfigureradapter.md index 46686f441f..0b2a79d529 100644 --- a/docs/recipes/java/spring/security5/websecurityconfigureradapter.md +++ b/docs/recipes/java/spring/security5/websecurityconfigureradapter.md @@ -13,12 +13,17 @@ _The Spring Security `WebSecurityConfigurerAdapter` was deprecated 5.7, this rec ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/WebSecurityConfigurerAdapter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security5/WebSecurityConfigurerAdapter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/applytowithlambdadsl.md b/docs/recipes/java/spring/security6/applytowithlambdadsl.md index 52afeab52a..08523006de 100644 --- a/docs/recipes/java/spring/security6/applytowithlambdadsl.md +++ b/docs/recipes/java/spring/security6/applytowithlambdadsl.md @@ -13,12 +13,17 @@ _Converts `HttpSecurity::apply` chained call from Spring Security pre 6.2.x into ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/ApplyToWithLambdaDsl.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/ApplyToWithLambdaDsl.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md b/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md index 60f550986a..d1bb6ae5ed 100644 --- a/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md +++ b/docs/recipes/java/spring/security6/oauth2/client/oauth2clientlambdadsl.md @@ -13,12 +13,17 @@ _Converts `OAuth2ClientConfigurer` chained call from Spring Security pre 5.2.x i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2ClientLambdaDsl.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2ClientLambdaDsl.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md b/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md index 9344c550be..f3ac123aa0 100644 --- a/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md +++ b/docs/recipes/java/spring/security6/oauth2/client/oauth2loginlambdadsl.md @@ -13,12 +13,17 @@ _Converts `OAuth2LoginConfigurer` chained call from Spring Security pre 5.2.x in ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2LoginLambdaDsl.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2LoginLambdaDsl.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/oauth2/server/resource/oauth2resourceserverlambdadsl.md b/docs/recipes/java/spring/security6/oauth2/server/resource/oauth2resourceserverlambdadsl.md index c38d6f9ef3..113f798920 100644 --- a/docs/recipes/java/spring/security6/oauth2/server/resource/oauth2resourceserverlambdadsl.md +++ b/docs/recipes/java/spring/security6/oauth2/server/resource/oauth2resourceserverlambdadsl.md @@ -13,12 +13,17 @@ _Converts `OAuth2ResourceServerConfigurer` chained call from Spring Security pre ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/oauth2/server/resource/OAuth2ResourceServerLambdaDsl.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/oauth2/server/resource/OAuth2ResourceServerLambdaDsl.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/propagateauthenticationserviceexceptions.md b/docs/recipes/java/spring/security6/propagateauthenticationserviceexceptions.md index fac5d6b284..949a95e426 100644 --- a/docs/recipes/java/spring/security6/propagateauthenticationserviceexceptions.md +++ b/docs/recipes/java/spring/security6/propagateauthenticationserviceexceptions.md @@ -13,12 +13,17 @@ _Remove any calls matching `AuthenticationEntryPointFailureHandler.setRethrowAut ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/PropagateAuthenticationServiceExceptions.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/PropagateAuthenticationServiceExceptions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/removefiltersecurityinterceptoronceperrequest.md b/docs/recipes/java/spring/security6/removefiltersecurityinterceptoronceperrequest.md index b89d933da5..d6bcf474b5 100644 --- a/docs/recipes/java/spring/security6/removefiltersecurityinterceptoronceperrequest.md +++ b/docs/recipes/java/spring/security6/removefiltersecurityinterceptoronceperrequest.md @@ -16,12 +16,17 @@ In Spring Security 6.0, `` defaults `authorizeRequests#filterSecurityInter ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/RemoveFilterSecurityInterceptorOncePerRequest.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/RemoveFilterSecurityInterceptorOncePerRequest.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/removeoauth2loginconfig.md b/docs/recipes/java/spring/security6/removeoauth2loginconfig.md index 49853fbd93..d2d25a9535 100644 --- a/docs/recipes/java/spring/security6/removeoauth2loginconfig.md +++ b/docs/recipes/java/spring/security6/removeoauth2loginconfig.md @@ -13,12 +13,17 @@ _`oauth2Login()` is a Spring Security feature that allows users to authenticate ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/RemoveOauth2LoginConfig.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/RemoveOauth2LoginConfig.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/removeuseauthorizationmanager.md b/docs/recipes/java/spring/security6/removeuseauthorizationmanager.md index 343c96639d..76607613e1 100644 --- a/docs/recipes/java/spring/security6/removeuseauthorizationmanager.md +++ b/docs/recipes/java/spring/security6/removeuseauthorizationmanager.md @@ -21,7 +21,12 @@ In Spring Security 6, defaults use-authorization-mana ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-60.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-60.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/requireexplicitsavingofsecuritycontextrepository.md b/docs/recipes/java/spring/security6/requireexplicitsavingofsecuritycontextrepository.md index 857ab8e4be..8793bf3717 100644 --- a/docs/recipes/java/spring/security6/requireexplicitsavingofsecuritycontextrepository.md +++ b/docs/recipes/java/spring/security6/requireexplicitsavingofsecuritycontextrepository.md @@ -13,12 +13,17 @@ _Remove explicit `SecurityContextConfigurer.requireExplicitSave(true)` opt-in as ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/RequireExplicitSavingOfSecurityContextRepository.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/RequireExplicitSavingOfSecurityContextRepository.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/updateenablereactivemethodsecurity.md b/docs/recipes/java/spring/security6/updateenablereactivemethodsecurity.md index ae8409ec2b..d717125025 100644 --- a/docs/recipes/java/spring/security6/updateenablereactivemethodsecurity.md +++ b/docs/recipes/java/spring/security6/updateenablereactivemethodsecurity.md @@ -13,12 +13,17 @@ _In Spring security 6.0, `@EnableReactiveMethodSecurity` defaults `useAuthorizat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/UpdateEnableReactiveMethodSecurity.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/UpdateEnableReactiveMethodSecurity.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/updaterequestcache.md b/docs/recipes/java/spring/security6/updaterequestcache.md index a1c997ff58..37e37fc27d 100644 --- a/docs/recipes/java/spring/security6/updaterequestcache.md +++ b/docs/recipes/java/spring/security6/updaterequestcache.md @@ -13,12 +13,17 @@ _By default, Spring Security 5 queries the saved request on every request, which ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/UpdateRequestCache.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/UpdateRequestCache.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_0.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_0.md index 44c8bd29c1..8d94ca7a95 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_0.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_0.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Security 6.0 release. This recipe wil ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-60.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-60.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -76,7 +81,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md index 1827285209..59a7ede712 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_1.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Security 6.1 release. This recipe wil ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-61.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-61.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md b/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md index 6b286a7c3e..724bc02959 100644 --- a/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md +++ b/docs/recipes/java/spring/security6/upgradespringsecurity_6_2.md @@ -18,11 +18,16 @@ _Migrate applications to the latest Spring Security 6.2 release. This recipe wil ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-62.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/spring-security-62.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/security6/usesha256inrememberme.md b/docs/recipes/java/spring/security6/usesha256inrememberme.md index 82cc8dcd2c..1616d73d85 100644 --- a/docs/recipes/java/spring/security6/usesha256inrememberme.md +++ b/docs/recipes/java/spring/security6/usesha256inrememberme.md @@ -13,12 +13,17 @@ _As of Spring Security 6.0 the SHA-256 algorithm is the default for the encoding ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/UseSha256InRememberMe.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/security6/UseSha256InRememberMe.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/separateapplicationyamlbyprofile.md b/docs/recipes/java/spring/separateapplicationyamlbyprofile.md index e72d555704..9e97501c62 100644 --- a/docs/recipes/java/spring/separateapplicationyamlbyprofile.md +++ b/docs/recipes/java/spring/separateapplicationyamlbyprofile.md @@ -13,12 +13,17 @@ _The Spring team's recommendation is to separate profile properties into their o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/SeparateApplicationYamlByProfile.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/SeparateApplicationYamlByProfile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/test/springrulestojunitextension.md b/docs/recipes/java/spring/test/springrulestojunitextension.md index 53a9586ca2..3aef09362e 100644 --- a/docs/recipes/java/spring/test/springrulestojunitextension.md +++ b/docs/recipes/java/spring/test/springrulestojunitextension.md @@ -13,12 +13,17 @@ _Replace JUnit 4's `SpringClassRule` and `SpringMethodRule` with JUnit 5's `Spri ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/test/SpringRulesToJUnitExtension.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/test/SpringRulesToJUnitExtension.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/spring/updateapimanifest.md b/docs/recipes/java/spring/updateapimanifest.md index 7242d24a3d..938b5b6869 100644 --- a/docs/recipes/java/spring/updateapimanifest.md +++ b/docs/recipes/java/spring/updateapimanifest.md @@ -13,12 +13,17 @@ _Keep a consolidated manifest of the API endpoints that this application exposes ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/UpdateApiManifest.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/java/spring/UpdateApiManifest.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/springdoc/migratespringdoccommon.md b/docs/recipes/java/springdoc/migratespringdoccommon.md index 35eb0129a0..784f9e5fa9 100644 --- a/docs/recipes/java/springdoc/migratespringdoccommon.md +++ b/docs/recipes/java/springdoc/migratespringdoccommon.md @@ -18,11 +18,16 @@ _Migrate from springdoc-openapi-common to springdoc-openapi-starter-common._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/springdoc/replacespringfoxdependencies.md b/docs/recipes/java/springdoc/replacespringfoxdependencies.md index f2b886c31a..589139730e 100644 --- a/docs/recipes/java/springdoc/replacespringfoxdependencies.md +++ b/docs/recipes/java/springdoc/replacespringfoxdependencies.md @@ -18,11 +18,16 @@ _Replace SpringFox Dependencies._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/springdoc/springfoxtospringdoc.md b/docs/recipes/java/springdoc/springfoxtospringdoc.md index 6545c72b44..bcf05f34e3 100644 --- a/docs/recipes/java/springdoc/springfoxtospringdoc.md +++ b/docs/recipes/java/springdoc/springfoxtospringdoc.md @@ -20,11 +20,16 @@ _Migrate from SpringFox Swagger to SpringDoc and OpenAPI._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/springdoc/swaggertospringdoc.md b/docs/recipes/java/springdoc/swaggertospringdoc.md index 4bbf2eb861..c0c556c9c2 100644 --- a/docs/recipes/java/springdoc/swaggertospringdoc.md +++ b/docs/recipes/java/springdoc/swaggertospringdoc.md @@ -19,11 +19,16 @@ _Migrate from Swagger to SpringDoc and OpenAPI._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/springdoc/upgradespringdoc_2.md b/docs/recipes/java/springdoc/upgradespringdoc_2.md index 29c123352d..08d19f2204 100644 --- a/docs/recipes/java/springdoc/upgradespringdoc_2.md +++ b/docs/recipes/java/springdoc/upgradespringdoc_2.md @@ -17,11 +17,16 @@ _Upgrade to SpringDoc v2, as described in the [upgrade guide](https://springdoc. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/resources/META-INF/rewrite/springdoc.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -188,7 +193,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-spring` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/struts/migrate6/migrateawareinterfaces.md b/docs/recipes/java/struts/migrate6/migrateawareinterfaces.md index b47b40494b..9498ae41a1 100644 --- a/docs/recipes/java/struts/migrate6/migrateawareinterfaces.md +++ b/docs/recipes/java/struts/migrate6/migrateawareinterfaces.md @@ -13,11 +13,16 @@ _These types have moved to a new package in Struts 6.0._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/resources/META-INF/rewrite/struts6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) - +[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/resources/META-INF/rewrite/struts6.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -102,7 +107,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/struts/migrate6/migrateopensymphonyclasses.md b/docs/recipes/java/struts/migrate6/migrateopensymphonyclasses.md index 955b1a06f6..a983dee3c6 100644 --- a/docs/recipes/java/struts/migrate6/migrateopensymphonyclasses.md +++ b/docs/recipes/java/struts/migrate6/migrateopensymphonyclasses.md @@ -13,11 +13,16 @@ _Migrate classes from `com.opensymphony.xwork2` to their replacements in `org.ap ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/resources/META-INF/rewrite/struts6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) - +[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/resources/META-INF/rewrite/struts6.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/struts/migrate6/migratestruts6.md b/docs/recipes/java/struts/migrate6/migratestruts6.md index d89a70a079..242be5cb5b 100644 --- a/docs/recipes/java/struts/migrate6/migratestruts6.md +++ b/docs/recipes/java/struts/migrate6/migratestruts6.md @@ -13,11 +13,16 @@ _Migrate Struts 2.x to Struts 6.0_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/resources/META-INF/rewrite/struts6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) - +[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/resources/META-INF/rewrite/struts6.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/struts/migrate6/migratestruts6constants.md b/docs/recipes/java/struts/migrate6/migratestruts6constants.md index 196c57d469..ba29bd3863 100644 --- a/docs/recipes/java/struts/migrate6/migratestruts6constants.md +++ b/docs/recipes/java/struts/migrate6/migratestruts6constants.md @@ -13,11 +13,16 @@ _All Xwork constants had been already deprecated, with this version all of them ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/resources/META-INF/rewrite/struts6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) - +[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/resources/META-INF/rewrite/struts6.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -272,7 +277,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/struts/migrate6/upgradestruts6dependencies.md b/docs/recipes/java/struts/migrate6/upgradestruts6dependencies.md index 28abda1320..7d41acb1b0 100644 --- a/docs/recipes/java/struts/migrate6/upgradestruts6dependencies.md +++ b/docs/recipes/java/struts/migrate6/upgradestruts6dependencies.md @@ -13,11 +13,16 @@ _Upgrade Struts 2.x dependencies to Struts 6.0._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/resources/META-INF/rewrite/struts6.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) - +[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/resources/META-INF/rewrite/struts6.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/struts/migratestrutsdtd.md b/docs/recipes/java/struts/migratestrutsdtd.md index fd343c3b5a..12898c34b7 100644 --- a/docs/recipes/java/struts/migratestrutsdtd.md +++ b/docs/recipes/java/struts/migratestrutsdtd.md @@ -13,18 +13,23 @@ _Update Struts DTD to reflect the specified version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/java/org/openrewrite/java/struts/MigrateStrutsDtd.java), [Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) - +[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/java/org/openrewrite/java/struts/MigrateStrutsDtd.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | strutsVersion | The Struts version to migrate to. Valid options: `2.3`, `2.5`, `6.0` | `6.0` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.MigrateStrutsDtdExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.MigrateStrutsDtdExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.MigrateStrutsDtdExample displayName: Migrate DTD to a specific Struts version example recipeList: - - org.openrewrite.java.struts.MigrateStrutsDtd: - strutsVersion: 6.0 + - org.openrewrite.java.struts.MigrateStrutsDtd: strutsVersion: 6.0 ``` Now that `com.yourorg.MigrateStrutsDtdExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-struts:{{VERSION_REWRITE_STRUTS}}` in your build file: diff --git a/docs/recipes/java/struts/search/findstrutsactions.md b/docs/recipes/java/struts/search/findstrutsactions.md index 666298171c..a28b2a8252 100644 --- a/docs/recipes/java/struts/search/findstrutsactions.md +++ b/docs/recipes/java/struts/search/findstrutsactions.md @@ -13,12 +13,17 @@ _Find actions and their associated definitions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/java/org/openrewrite/java/struts/search/FindStrutsActions.java), [Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) +[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/java/org/openrewrite/java/struts/search/FindStrutsActions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/struts/search/findstrutsxml.md b/docs/recipes/java/struts/search/findstrutsxml.md index 77e901d940..c69931df68 100644 --- a/docs/recipes/java/struts/search/findstrutsxml.md +++ b/docs/recipes/java/struts/search/findstrutsxml.md @@ -13,12 +13,17 @@ _Struts XML files may have any name, and may be outside a resources directory, s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/java/org/openrewrite/java/struts/search/FindStrutsXml.java), [Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) +[GitHub](https://github.com/openrewrite/rewrite-struts/blob/main/src/main/java/org/openrewrite/java/struts/search/FindStrutsXml.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-struts/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-struts/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-struts` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/archunit/archunit0to1migration.md b/docs/recipes/java/testing/archunit/archunit0to1migration.md index 68d9df9e5d..bbde7123a8 100644 --- a/docs/recipes/java/testing/archunit/archunit0to1migration.md +++ b/docs/recipes/java/testing/archunit/archunit0to1migration.md @@ -13,11 +13,16 @@ _Upgrade ArchUnit from 0.x to 1.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/archunit.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/archunit.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -98,7 +103,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/adoptassertjdurationassertions.md b/docs/recipes/java/testing/assertj/adoptassertjdurationassertions.md index 66b156be43..3b0da0e9c1 100644 --- a/docs/recipes/java/testing/assertj/adoptassertjdurationassertions.md +++ b/docs/recipes/java/testing/assertj/adoptassertjdurationassertions.md @@ -13,12 +13,17 @@ _Adopt AssertJ `DurationAssert` assertions for more expressive messages._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/AdoptAssertJDurationAssertions.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/AdoptAssertJDurationAssertions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/assertj-best-practices.md b/docs/recipes/java/testing/assertj/assertj-best-practices.md index c0745ad872..e53496479c 100644 --- a/docs/recipes/java/testing/assertj/assertj-best-practices.md +++ b/docs/recipes/java/testing/assertj/assertj-best-practices.md @@ -18,11 +18,16 @@ _Migrates JUnit asserts to AssertJ and applies best practices to assertions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/assertj.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/assertj.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -94,7 +99,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/collapseconsecutiveassertthatstatements.md b/docs/recipes/java/testing/assertj/collapseconsecutiveassertthatstatements.md index 0e053efe59..f11214133d 100644 --- a/docs/recipes/java/testing/assertj/collapseconsecutiveassertthatstatements.md +++ b/docs/recipes/java/testing/assertj/collapseconsecutiveassertthatstatements.md @@ -13,12 +13,17 @@ _Collapse consecutive `assertThat` statements into single `assertThat` chained s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/CollapseConsecutiveAssertThatStatements.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/CollapseConsecutiveAssertThatStatements.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitassertarrayequalstoassertthat.md b/docs/recipes/java/testing/assertj/junitassertarrayequalstoassertthat.md index aa8656b8d5..df235c1574 100644 --- a/docs/recipes/java/testing/assertj/junitassertarrayequalstoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertarrayequalstoassertthat.md @@ -13,12 +13,17 @@ _Convert JUnit-style `assertArrayEquals()` to AssertJ's `assertThat().contains() ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertArrayEqualsToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertArrayEqualsToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitassertequalstoassertthat.md b/docs/recipes/java/testing/assertj/junitassertequalstoassertthat.md index 11a9cf53e3..8e69a6804f 100644 --- a/docs/recipes/java/testing/assertj/junitassertequalstoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertequalstoassertthat.md @@ -13,12 +13,17 @@ _Convert JUnit-style `assertEquals()` to AssertJ's `assertThat().isEqualTo()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertEqualsToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertEqualsToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitassertfalsetoassertthat.md b/docs/recipes/java/testing/assertj/junitassertfalsetoassertthat.md index 94c686b5f0..f1cac762ef 100644 --- a/docs/recipes/java/testing/assertj/junitassertfalsetoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertfalsetoassertthat.md @@ -13,12 +13,17 @@ _Convert JUnit-style `assertFalse()` to AssertJ's `assertThat().isFalse()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertFalseToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertFalseToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitassertinstanceoftoassertthat.md b/docs/recipes/java/testing/assertj/junitassertinstanceoftoassertthat.md index d027ba9edb..8856ce68ff 100644 --- a/docs/recipes/java/testing/assertj/junitassertinstanceoftoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertinstanceoftoassertthat.md @@ -13,12 +13,17 @@ _Convert JUnit-style `assertInstanceOf()` to AssertJ's `assertThat().isInstanceO ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertInstanceOfToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertInstanceOfToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitassertnotequalstoassertthat.md b/docs/recipes/java/testing/assertj/junitassertnotequalstoassertthat.md index c2e641fa29..5b1fa87f95 100644 --- a/docs/recipes/java/testing/assertj/junitassertnotequalstoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertnotequalstoassertthat.md @@ -13,12 +13,17 @@ _Convert JUnit-style `assertNotEquals()` to AssertJ's `assertThat().isNotEqualTo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertNotEqualsToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertNotEqualsToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitassertnotnulltoassertthat.md b/docs/recipes/java/testing/assertj/junitassertnotnulltoassertthat.md index 9ecf77b313..e3500b2f0b 100644 --- a/docs/recipes/java/testing/assertj/junitassertnotnulltoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertnotnulltoassertthat.md @@ -13,12 +13,17 @@ _Convert JUnit-style `assertNotNull()` to AssertJ's `assertThat().isNotNull()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertNotNullToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertNotNullToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitassertnulltoassertthat.md b/docs/recipes/java/testing/assertj/junitassertnulltoassertthat.md index a071311d15..c1b7bd0293 100644 --- a/docs/recipes/java/testing/assertj/junitassertnulltoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertnulltoassertthat.md @@ -13,12 +13,17 @@ _Convert JUnit-style `assertNull()` to AssertJ's `assertThat().isNull()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertNullToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertNullToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitassertsametoassertthat.md b/docs/recipes/java/testing/assertj/junitassertsametoassertthat.md index 89a7cf29aa..002f369640 100644 --- a/docs/recipes/java/testing/assertj/junitassertsametoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitassertsametoassertthat.md @@ -13,12 +13,17 @@ _Convert JUnit-style `assertSame()` to AssertJ's `assertThat().isSameAs()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertSameToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertSameToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitassertthrowstoassertexceptiontype.md b/docs/recipes/java/testing/assertj/junitassertthrowstoassertexceptiontype.md index e0b4e88dcc..79187b8fa1 100644 --- a/docs/recipes/java/testing/assertj/junitassertthrowstoassertexceptiontype.md +++ b/docs/recipes/java/testing/assertj/junitassertthrowstoassertexceptiontype.md @@ -13,12 +13,17 @@ _Convert `JUnit#AssertThrows` to `AssertJ#assertThatExceptionOfType` to allow fo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertThrowsToAssertExceptionType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertThrowsToAssertExceptionType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitasserttruetoassertthat.md b/docs/recipes/java/testing/assertj/junitasserttruetoassertthat.md index b1116d348a..97b05faa53 100644 --- a/docs/recipes/java/testing/assertj/junitasserttruetoassertthat.md +++ b/docs/recipes/java/testing/assertj/junitasserttruetoassertthat.md @@ -13,12 +13,17 @@ _Convert JUnit-style `assertTrue()` to AssertJ's `assertThat().isTrue()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertTrueToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitAssertTrueToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junitfailtoassertjfail.md b/docs/recipes/java/testing/assertj/junitfailtoassertjfail.md index 27ff5134a0..4f484b4443 100644 --- a/docs/recipes/java/testing/assertj/junitfailtoassertjfail.md +++ b/docs/recipes/java/testing/assertj/junitfailtoassertjfail.md @@ -13,12 +13,17 @@ _Convert JUnit-style `fail()` to AssertJ's `fail()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitFailToAssertJFail.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/JUnitFailToAssertJFail.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/junittoassertj.md b/docs/recipes/java/testing/assertj/junittoassertj.md index df8a1090d7..8db5de22da 100644 --- a/docs/recipes/java/testing/assertj/junittoassertj.md +++ b/docs/recipes/java/testing/assertj/junittoassertj.md @@ -18,11 +18,16 @@ _AssertJ provides a rich set of assertions, truly helpful error messages, improv ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/assertj.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/assertj.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -88,7 +93,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/simplifyassertjassertion.md b/docs/recipes/java/testing/assertj/simplifyassertjassertion.md index 6f5d8f97c7..ee822e965e 100644 --- a/docs/recipes/java/testing/assertj/simplifyassertjassertion.md +++ b/docs/recipes/java/testing/assertj/simplifyassertjassertion.md @@ -13,8 +13,9 @@ _Simplify AssertJ assertions by replacing them with more expressiove dedicated a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/SimplifyAssertJAssertion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/SimplifyAssertJAssertion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Simplify AssertJ assertions by replacing them with more expressiove dedicated a | `String` | dedicatedAssertion | The zero argument assertion to adopt instead. | `isEmpty` | | `String` | requiredType | The type of the actual assertion argument. | `java.lang.String` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.SimplifyAssertJAssertionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.SimplifyAssertJAssertionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.SimplifyAssertJAssertionExample displayName: Simplify AssertJ assertions with literal arguments example recipeList: - - org.openrewrite.java.testing.assertj.SimplifyAssertJAssertion: - assertToReplace: hasSize + - org.openrewrite.java.testing.assertj.SimplifyAssertJAssertion: assertToReplace: hasSize literalArgument: 0 dedicatedAssertion: isEmpty requiredType: java.lang.String diff --git a/docs/recipes/java/testing/assertj/simplifyassertjassertions.md b/docs/recipes/java/testing/assertj/simplifyassertjassertions.md index d3dd2073fe..4d436bfeb6 100644 --- a/docs/recipes/java/testing/assertj/simplifyassertjassertions.md +++ b/docs/recipes/java/testing/assertj/simplifyassertjassertions.md @@ -18,11 +18,16 @@ _Replace AssertJ assertions where a dedicated assertion is available for the sam ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/assertj.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/assertj.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -130,7 +135,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md b/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md index f8929515b6..d6767d8a90 100644 --- a/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md +++ b/docs/recipes/java/testing/assertj/simplifychainedassertjassertion.md @@ -17,8 +17,9 @@ _Many AssertJ chained assertions have dedicated assertions that function the sam ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/SimplifyChainedAssertJAssertion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/assertj/SimplifyChainedAssertJAssertion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) ## Options | Type | Name | Description | Example | @@ -28,10 +29,14 @@ _Many AssertJ chained assertions have dedicated assertions that function the sam | `String` | dedicatedAssertion | *Optional*. The AssertJ method to migrate to. | `isEqualTo` | | `String` | requiredType | *Optional*. The type of the actual assertion argument. | `java.lang.String` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md b/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md index 4b765b44cd..ba1235b61c 100644 --- a/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md +++ b/docs/recipes/java/testing/assertj/simplifychainedassertjassertions.md @@ -18,11 +18,16 @@ _Replace AssertJ assertions where a method is called on the actual value with a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/assertj.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/assertj.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -670,7 +675,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/assertj/staticimports.md b/docs/recipes/java/testing/assertj/staticimports.md index 9007b039ac..a2233d04b8 100644 --- a/docs/recipes/java/testing/assertj/staticimports.md +++ b/docs/recipes/java/testing/assertj/staticimports.md @@ -18,11 +18,16 @@ _Consistently use a static import rather than inlining the `Assertions` class na ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/assertj.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/assertj.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/assertequalsbooleantoassertboolean.md b/docs/recipes/java/testing/cleanup/assertequalsbooleantoassertboolean.md index dccdaae66b..675b58c87a 100644 --- a/docs/recipes/java/testing/cleanup/assertequalsbooleantoassertboolean.md +++ b/docs/recipes/java/testing/cleanup/assertequalsbooleantoassertboolean.md @@ -13,12 +13,17 @@ _Using `assertFalse` or `assertTrue` is simpler and more clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertEqualsBooleanToAssertBoolean.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertEqualsBooleanToAssertBoolean.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/assertequalsnulltoassertnull.md b/docs/recipes/java/testing/cleanup/assertequalsnulltoassertnull.md index 453641109f..46b1d18c5b 100644 --- a/docs/recipes/java/testing/cleanup/assertequalsnulltoassertnull.md +++ b/docs/recipes/java/testing/cleanup/assertequalsnulltoassertnull.md @@ -13,12 +13,17 @@ _Using `assertNull(a)` is simpler and more clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertEqualsNullToAssertNull.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertEqualsNullToAssertNull.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/assertfalseequalstoassertnotequals.md b/docs/recipes/java/testing/cleanup/assertfalseequalstoassertnotequals.md index 93ff45ebc8..b65e93ccf4 100644 --- a/docs/recipes/java/testing/cleanup/assertfalseequalstoassertnotequals.md +++ b/docs/recipes/java/testing/cleanup/assertfalseequalstoassertnotequals.md @@ -13,12 +13,17 @@ _Using `assertNotEquals(a,b)` is simpler and more clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertFalseEqualsToAssertNotEquals.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertFalseEqualsToAssertNotEquals.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/assertfalsenegationtoasserttrue.md b/docs/recipes/java/testing/cleanup/assertfalsenegationtoasserttrue.md index 2c90e4abc4..c4459a2e1d 100644 --- a/docs/recipes/java/testing/cleanup/assertfalsenegationtoasserttrue.md +++ b/docs/recipes/java/testing/cleanup/assertfalsenegationtoasserttrue.md @@ -13,12 +13,17 @@ _Using `assertTrue` is simpler and more clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertFalseNegationToAssertTrue.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertFalseNegationToAssertTrue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/assertfalsenulltoassertnotnull.md b/docs/recipes/java/testing/cleanup/assertfalsenulltoassertnotnull.md index 5a4abd327e..3afe021ba1 100644 --- a/docs/recipes/java/testing/cleanup/assertfalsenulltoassertnotnull.md +++ b/docs/recipes/java/testing/cleanup/assertfalsenulltoassertnotnull.md @@ -13,12 +13,17 @@ _Using `assertNotNull(a)` is simpler and more clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertFalseNullToAssertNotNull.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertFalseNullToAssertNotNull.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/assertionsargumentorder.md b/docs/recipes/java/testing/cleanup/assertionsargumentorder.md index 36c1a3f42b..956fb0bd12 100644 --- a/docs/recipes/java/testing/cleanup/assertionsargumentorder.md +++ b/docs/recipes/java/testing/cleanup/assertionsargumentorder.md @@ -17,12 +17,17 @@ _Assertions such as `org.junit.Assert.assertEquals` expect the first argument to ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertionsArgumentOrder.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertionsArgumentOrder.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/assertliteralbooleantofailrecipe.md b/docs/recipes/java/testing/cleanup/assertliteralbooleantofailrecipe.md index 8ef8f8b4f1..db0e97fba0 100644 --- a/docs/recipes/java/testing/cleanup/assertliteralbooleantofailrecipe.md +++ b/docs/recipes/java/testing/cleanup/assertliteralbooleantofailrecipe.md @@ -13,12 +13,17 @@ _Using fail is more direct and clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertLiteralBooleanToFail.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertLiteralBooleanToFail.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/assertnotequalsbooleantoassertboolean.md b/docs/recipes/java/testing/cleanup/assertnotequalsbooleantoassertboolean.md index 0c6d5bd57f..9b65fbfd19 100644 --- a/docs/recipes/java/testing/cleanup/assertnotequalsbooleantoassertboolean.md +++ b/docs/recipes/java/testing/cleanup/assertnotequalsbooleantoassertboolean.md @@ -13,12 +13,17 @@ _Using `assertFalse` or `assertTrue` is simpler and more clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertNotEqualsBooleanToAssertBoolean.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertNotEqualsBooleanToAssertBoolean.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/asserttruecomparisontoassertequals.md b/docs/recipes/java/testing/cleanup/asserttruecomparisontoassertequals.md index 348f087830..232212d356 100644 --- a/docs/recipes/java/testing/cleanup/asserttruecomparisontoassertequals.md +++ b/docs/recipes/java/testing/cleanup/asserttruecomparisontoassertequals.md @@ -13,12 +13,17 @@ _Using `assertEquals(a,b)` is simpler and more clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertTrueComparisonToAssertEquals.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertTrueComparisonToAssertEquals.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/asserttrueequalstoassertequals.md b/docs/recipes/java/testing/cleanup/asserttrueequalstoassertequals.md index a1309ab440..310cbb05eb 100644 --- a/docs/recipes/java/testing/cleanup/asserttrueequalstoassertequals.md +++ b/docs/recipes/java/testing/cleanup/asserttrueequalstoassertequals.md @@ -13,12 +13,17 @@ _Using `assertEquals(a,b)` is simpler and more clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertTrueEqualsToAssertEquals.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertTrueEqualsToAssertEquals.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/asserttruenegationtoassertfalse.md b/docs/recipes/java/testing/cleanup/asserttruenegationtoassertfalse.md index c4c89110c6..01672a2901 100644 --- a/docs/recipes/java/testing/cleanup/asserttruenegationtoassertfalse.md +++ b/docs/recipes/java/testing/cleanup/asserttruenegationtoassertfalse.md @@ -13,12 +13,17 @@ _Using `assertFalse` is simpler and more clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertTrueNegationToAssertFalse.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertTrueNegationToAssertFalse.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/asserttruenulltoassertnull.md b/docs/recipes/java/testing/cleanup/asserttruenulltoassertnull.md index 942c1bdaab..973891c04c 100644 --- a/docs/recipes/java/testing/cleanup/asserttruenulltoassertnull.md +++ b/docs/recipes/java/testing/cleanup/asserttruenulltoassertnull.md @@ -13,12 +13,17 @@ _Using `assertNull(a)` is simpler and more clear._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertTrueNullToAssertNull.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/AssertTrueNullToAssertNull.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/bestpractices.md b/docs/recipes/java/testing/cleanup/bestpractices.md index 31ac02035d..a9a5a46242 100644 --- a/docs/recipes/java/testing/cleanup/bestpractices.md +++ b/docs/recipes/java/testing/cleanup/bestpractices.md @@ -17,11 +17,16 @@ _Applies best practices to tests._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/cleanup.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/cleanup.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/removeemptytests.md b/docs/recipes/java/testing/cleanup/removeemptytests.md index a7fb7d107d..6b8c5b022c 100644 --- a/docs/recipes/java/testing/cleanup/removeemptytests.md +++ b/docs/recipes/java/testing/cleanup/removeemptytests.md @@ -17,12 +17,17 @@ _Removes empty methods with a `@Test` annotation if the body does not have comme ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/RemoveEmptyTests.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/RemoveEmptyTests.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/removetestprefix.md b/docs/recipes/java/testing/cleanup/removetestprefix.md index a3bf6e2108..0255e5ad8d 100644 --- a/docs/recipes/java/testing/cleanup/removetestprefix.md +++ b/docs/recipes/java/testing/cleanup/removetestprefix.md @@ -13,12 +13,17 @@ _Remove `test` from methods with `@Test`, `@ParameterizedTest`, `@RepeatedTest` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/RemoveTestPrefix.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/RemoveTestPrefix.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/simplifytestthrows.md b/docs/recipes/java/testing/cleanup/simplifytestthrows.md index d91604d915..93503f23e6 100644 --- a/docs/recipes/java/testing/cleanup/simplifytestthrows.md +++ b/docs/recipes/java/testing/cleanup/simplifytestthrows.md @@ -13,12 +13,17 @@ _Replace all thrown exception classes of test method signatures by `Exception`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/SimplifyTestThrows.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/SimplifyTestThrows.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md b/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md index abb18e6b51..2d34718d14 100644 --- a/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md +++ b/docs/recipes/java/testing/cleanup/testsshouldincludeassertions.md @@ -17,18 +17,23 @@ _For tests not having any assertions, wrap the statements with JUnit Jupiter's ` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/TestsShouldIncludeAssertions.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/TestsShouldIncludeAssertions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | additionalAsserts | *Optional*. A comma delimited list of packages and/or classes that will be identified as assertions. I.E. a common assertion utility `org.foo.TestUtil`. | `org.foo.TestUtil, org.bar` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/cleanup/testsshouldnotbepublic.md b/docs/recipes/java/testing/cleanup/testsshouldnotbepublic.md index 9408aac631..7d966c28c9 100644 --- a/docs/recipes/java/testing/cleanup/testsshouldnotbepublic.md +++ b/docs/recipes/java/testing/cleanup/testsshouldnotbepublic.md @@ -17,18 +17,23 @@ _Remove `public` and optionally `protected` modifiers from methods with `@Test`, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/TestsShouldNotBePublic.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/cleanup/TestsShouldNotBePublic.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | removeProtectedModifiers | *Optional*. Also remove protected modifiers from test methods | `true` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/datafaker/javafakertodatafaker.md b/docs/recipes/java/testing/datafaker/javafakertodatafaker.md index b6457698f2..a9363f53b3 100644 --- a/docs/recipes/java/testing/datafaker/javafakertodatafaker.md +++ b/docs/recipes/java/testing/datafaker/javafakertodatafaker.md @@ -13,11 +13,16 @@ _Change imports and dependencies related to Java Faker to Datafaker replacements ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/datafaker.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/datafaker.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -76,7 +81,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md b/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md index 8f7efdaa9b..464eb2d353 100644 --- a/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md +++ b/docs/recipes/java/testing/dbrider/executionlistenertodbriderannotation.md @@ -13,12 +13,17 @@ _Migrate the `DBRiderTestExecutionListener` to the `@DBRider` annotation. This r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/dbrider/ExecutionListenerToDbRiderAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/dbrider/ExecutionListenerToDbRiderAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md b/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md index 28ba86dc58..45b1eba42d 100644 --- a/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md +++ b/docs/recipes/java/testing/dbrider/migratedbriderspringtodbriderjunit5.md @@ -19,11 +19,16 @@ _This recipe will migrate the necessary dependencies and annotations from DbRide ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/dbrider.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/dbrider.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/easymock/easymocktomockito.md b/docs/recipes/java/testing/easymock/easymocktomockito.md index 9e122d703a..92a8510e59 100644 --- a/docs/recipes/java/testing/easymock/easymocktomockito.md +++ b/docs/recipes/java/testing/easymock/easymocktomockito.md @@ -18,11 +18,16 @@ _This recipe will apply changes commonly needed when migrating from EasyMock to ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/easymock.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/easymock.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -306,7 +311,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/easymock/easymockverifytomockitoverify.md b/docs/recipes/java/testing/easymock/easymockverifytomockitoverify.md index 85952ec8aa..20c95e0292 100644 --- a/docs/recipes/java/testing/easymock/easymockverifytomockitoverify.md +++ b/docs/recipes/java/testing/easymock/easymockverifytomockitoverify.md @@ -13,12 +13,17 @@ _Replace `EasyMock.verify(dependency)` with individual `Mockito.verify(dependenc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/easymock/EasyMockVerifyToMockitoVerify.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/easymock/EasyMockVerifyToMockitoVerify.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/easymock/removeextendseasymocksupport.md b/docs/recipes/java/testing/easymock/removeextendseasymocksupport.md index ed5b7371a5..f730967b91 100644 --- a/docs/recipes/java/testing/easymock/removeextendseasymocksupport.md +++ b/docs/recipes/java/testing/easymock/removeextendseasymocksupport.md @@ -13,12 +13,17 @@ _Modify test classes by removing extends EasyMockSupport and replacing EasyMock ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/easymock/RemoveExtendsEasyMockSupport.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/easymock/RemoveExtendsEasyMockSupport.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/addhamcrestifused.md b/docs/recipes/java/testing/hamcrest/addhamcrestifused.md index 25b055a168..4d3f1c57b7 100644 --- a/docs/recipes/java/testing/hamcrest/addhamcrestifused.md +++ b/docs/recipes/java/testing/hamcrest/addhamcrestifused.md @@ -19,7 +19,12 @@ _JUnit Jupiter does not include hamcrest as a transitive dependency. If needed, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/hamcrest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/hamcrest.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -61,7 +66,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/assertthatbooleantoassertj.md b/docs/recipes/java/testing/hamcrest/assertthatbooleantoassertj.md index f7e173a5f8..c07fa47f59 100644 --- a/docs/recipes/java/testing/hamcrest/assertthatbooleantoassertj.md +++ b/docs/recipes/java/testing/hamcrest/assertthatbooleantoassertj.md @@ -13,12 +13,17 @@ _Replace Hamcrest `assertThat(String, boolean)` with AssertJ `assertThat(boolean ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/AssertThatBooleanToAssertJ.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/AssertThatBooleanToAssertJ.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/consistenthamcrestmatcherimports.md b/docs/recipes/java/testing/hamcrest/consistenthamcrestmatcherimports.md index 9981f6a513..8cba5b23ef 100644 --- a/docs/recipes/java/testing/hamcrest/consistenthamcrestmatcherimports.md +++ b/docs/recipes/java/testing/hamcrest/consistenthamcrestmatcherimports.md @@ -19,11 +19,16 @@ _Use consistent imports for Hamcrest matchers, and remove wrapping `is(Matcher)` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/hamcrest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/hamcrest.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/hamcrestinstanceoftojunit5.md b/docs/recipes/java/testing/hamcrest/hamcrestinstanceoftojunit5.md index a043e1133e..0252c037a7 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestinstanceoftojunit5.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestinstanceoftojunit5.md @@ -13,12 +13,17 @@ _Migrate from Hamcrest `instanceOf` and `isA` matcher to JUnit5 `assertInstanceO ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestInstanceOfToJUnit5.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestInstanceOfToJUnit5.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/hamcrestismatchertoassertj.md b/docs/recipes/java/testing/hamcrest/hamcrestismatchertoassertj.md index 8fc7401214..6eacebe7da 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestismatchertoassertj.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestismatchertoassertj.md @@ -13,12 +13,17 @@ _Migrate Hamcrest `is(Object)` to AssertJ `Assertions.assertThat(..)`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestIsMatcherToAssertJ.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestIsMatcherToAssertJ.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/hamcrestmatchertoassertj.md b/docs/recipes/java/testing/hamcrest/hamcrestmatchertoassertj.md index c299af869a..d6d4e68ab7 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestmatchertoassertj.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestmatchertoassertj.md @@ -13,8 +13,9 @@ _Migrate from Hamcrest `Matcher` to AssertJ assertions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestMatcherToAssertJ.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestMatcherToAssertJ.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Migrate from Hamcrest `Matcher` to AssertJ assertions._ | `String` | assertion | *Optional*. The AssertJ method to migrate to. | `isEqualTo` | | `String` | argumentType | *Optional*. The type of the argument to the Hamcrest `Matcher`. | `java.math.BigDecimal` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/hamcrestmatchertojunit5.md b/docs/recipes/java/testing/hamcrest/hamcrestmatchertojunit5.md index f9d3a7a722..8ac8b9107a 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestmatchertojunit5.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestmatchertojunit5.md @@ -13,12 +13,17 @@ _Migrate from Hamcrest `Matcher` to JUnit 5 assertions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestMatcherToJUnit5.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestMatcherToJUnit5.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/hamcrestnotmatchertoassertj.md b/docs/recipes/java/testing/hamcrest/hamcrestnotmatchertoassertj.md index 7361b587e4..942dd6d5c0 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestnotmatchertoassertj.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestnotmatchertoassertj.md @@ -13,8 +13,9 @@ _Migrate from Hamcrest `not(Matcher)` to AssertJ assertions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestNotMatcherToAssertJ.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestNotMatcherToAssertJ.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Migrate from Hamcrest `not(Matcher)` to AssertJ assertions._ | `String` | notMatcher | *Optional*. The Hamcrest `not(Matcher)` to migrate to JUnit5. | `equalTo` | | `String` | assertion | *Optional*. The AssertJ method to migrate to. | `isNotEqualTo` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/hamcrestofmatcherstoassertj.md b/docs/recipes/java/testing/hamcrest/hamcrestofmatcherstoassertj.md index f1f0dc7164..ca492944e7 100644 --- a/docs/recipes/java/testing/hamcrest/hamcrestofmatcherstoassertj.md +++ b/docs/recipes/java/testing/hamcrest/hamcrestofmatcherstoassertj.md @@ -13,12 +13,17 @@ _Migrate the `anyOf` Hamcrest Matcher to AssertJ's `satisfiesAnyOf` assertion._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestOfMatchersToAssertJ.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/HamcrestOfMatchersToAssertJ.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md b/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md index 914aa8baba..a7b72309ef 100644 --- a/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md +++ b/docs/recipes/java/testing/hamcrest/migratehamcresttoassertj.md @@ -19,11 +19,16 @@ _Migrate Hamcrest `assertThat(..)` to AssertJ `Assertions`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/hamcrest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/hamcrest.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -552,7 +557,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/migratehamcresttojunit5.md b/docs/recipes/java/testing/hamcrest/migratehamcresttojunit5.md index 08848e5aa5..e746494101 100644 --- a/docs/recipes/java/testing/hamcrest/migratehamcresttojunit5.md +++ b/docs/recipes/java/testing/hamcrest/migratehamcresttojunit5.md @@ -19,11 +19,16 @@ _Migrate Hamcrest `assertThat(..)` to JUnit Jupiter `Assertions`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/hamcrest.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/hamcrest.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -78,7 +83,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/hamcrest/removeismatcher.md b/docs/recipes/java/testing/hamcrest/removeismatcher.md index a387bd4d1f..44aa507870 100644 --- a/docs/recipes/java/testing/hamcrest/removeismatcher.md +++ b/docs/recipes/java/testing/hamcrest/removeismatcher.md @@ -13,12 +13,17 @@ _Remove Hamcrest `is(Matcher)` ahead of migration._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/RemoveIsMatcher.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/hamcrest/RemoveIsMatcher.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/htmlunit/upgradehtmlunit_3.md b/docs/recipes/java/testing/htmlunit/upgradehtmlunit_3.md index c21b2871ca..b6b1c9e590 100644 --- a/docs/recipes/java/testing/htmlunit/upgradehtmlunit_3.md +++ b/docs/recipes/java/testing/htmlunit/upgradehtmlunit_3.md @@ -13,11 +13,16 @@ _Automates the HtmlUnit [migration guide](https://htmlunit.sourceforge.io/migrat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/htmlunit.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) - +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/htmlunit.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -88,7 +93,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/jmockit/jmockitannotatedargumenttomockito.md b/docs/recipes/java/testing/jmockit/jmockitannotatedargumenttomockito.md index 05a21cff6f..4832c41f2a 100644 --- a/docs/recipes/java/testing/jmockit/jmockitannotatedargumenttomockito.md +++ b/docs/recipes/java/testing/jmockit/jmockitannotatedargumenttomockito.md @@ -13,12 +13,17 @@ _Convert JMockit `@Mocked` and `@Injectable` annotated arguments into Mockito st ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/jmockit/JMockitAnnotatedArgumentToMockito.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/jmockit/JMockitAnnotatedArgumentToMockito.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/jmockit/jmockitblocktomockito.md b/docs/recipes/java/testing/jmockit/jmockitblocktomockito.md index dca5b98ae1..2cab644c4a 100644 --- a/docs/recipes/java/testing/jmockit/jmockitblocktomockito.md +++ b/docs/recipes/java/testing/jmockit/jmockitblocktomockito.md @@ -13,12 +13,17 @@ _Rewrites JMockit `Expectations, NonStrictExpectations, Verifications, Verificat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/jmockit/JMockitBlockToMockito.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/jmockit/JMockitBlockToMockito.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/jmockit/jmockitmockuptomockito.md b/docs/recipes/java/testing/jmockit/jmockitmockuptomockito.md index ae176b35d0..44a52fff3e 100644 --- a/docs/recipes/java/testing/jmockit/jmockitmockuptomockito.md +++ b/docs/recipes/java/testing/jmockit/jmockitmockuptomockito.md @@ -13,12 +13,17 @@ _Rewrites JMockit `MockUp` blocks to Mockito statements. This recipe will not re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/jmockit/JMockitMockUpToMockito.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/jmockit/JMockitMockUpToMockito.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/jmockit/jmockittomockito.md b/docs/recipes/java/testing/jmockit/jmockittomockito.md index 9981d6d3c9..736034235f 100644 --- a/docs/recipes/java/testing/jmockit/jmockittomockito.md +++ b/docs/recipes/java/testing/jmockit/jmockittomockito.md @@ -18,11 +18,16 @@ _This recipe will apply changes commonly needed when migrating from JMockit to M ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/jmockit.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/jmockit.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -112,7 +117,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/addhamcrestjunitdependency.md b/docs/recipes/java/testing/junit5/addhamcrestjunitdependency.md index d3b18f4110..6fb417a50d 100644 --- a/docs/recipes/java/testing/junit5/addhamcrestjunitdependency.md +++ b/docs/recipes/java/testing/junit5/addhamcrestjunitdependency.md @@ -13,12 +13,17 @@ _Add Hamcrest JUnit dependency only if JUnit 4's `assertThat` or `assumeThat` is ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AddHamcrestJUnitDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AddHamcrestJUnitDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/addjupiterdependencies.md b/docs/recipes/java/testing/junit5/addjupiterdependencies.md index f7eb67ab6e..ebdfdcb87d 100644 --- a/docs/recipes/java/testing/junit5/addjupiterdependencies.md +++ b/docs/recipes/java/testing/junit5/addjupiterdependencies.md @@ -13,12 +13,17 @@ _Adds JUnit Jupiter dependencies to a Maven or Gradle project. Junit Jupiter can ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AddJupiterDependencies.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AddJupiterDependencies.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/addmissingnested.md b/docs/recipes/java/testing/junit5/addmissingnested.md index 7832df678e..21f0f2805c 100644 --- a/docs/recipes/java/testing/junit5/addmissingnested.md +++ b/docs/recipes/java/testing/junit5/addmissingnested.md @@ -17,12 +17,17 @@ _Adds `@Nested` to inner classes that contain JUnit 5 tests._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AddMissingNested.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AddMissingNested.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/addmissingtestbeforeafterannotations.md b/docs/recipes/java/testing/junit5/addmissingtestbeforeafterannotations.md index 0056b00090..1dee7d26a7 100644 --- a/docs/recipes/java/testing/junit5/addmissingtestbeforeafterannotations.md +++ b/docs/recipes/java/testing/junit5/addmissingtestbeforeafterannotations.md @@ -13,12 +13,17 @@ _Adds `@BeforeEach`, `@AfterEach`, `@Test` to methods overriding superclass meth ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AddMissingTestBeforeAfterAnnotations.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AddMissingTestBeforeAfterAnnotations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/addparameterizedtestannotation.md b/docs/recipes/java/testing/junit5/addparameterizedtestannotation.md index ddd6a372cf..f15f368e7e 100644 --- a/docs/recipes/java/testing/junit5/addparameterizedtestannotation.md +++ b/docs/recipes/java/testing/junit5/addparameterizedtestannotation.md @@ -13,12 +13,17 @@ _Add missing `@ParameterizedTest` annotation when `@ValueSource` is used or repl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AddParameterizedTestAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AddParameterizedTestAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/assertthrowsonlaststatement.md b/docs/recipes/java/testing/junit5/assertthrowsonlaststatement.md index db1105a948..c388de7f40 100644 --- a/docs/recipes/java/testing/junit5/assertthrowsonlaststatement.md +++ b/docs/recipes/java/testing/junit5/assertthrowsonlaststatement.md @@ -13,12 +13,17 @@ _Applies JUnit 5 `assertThrows` on last statement in lambda block only. In rare ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AssertThrowsOnLastStatement.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AssertThrowsOnLastStatement.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/asserttoassertions.md b/docs/recipes/java/testing/junit5/asserttoassertions.md index 36f66cbe1c..4e5a9120b5 100644 --- a/docs/recipes/java/testing/junit5/asserttoassertions.md +++ b/docs/recipes/java/testing/junit5/asserttoassertions.md @@ -13,12 +13,17 @@ _Change JUnit 4's `org.junit.Assert` into JUnit Jupiter's `org.junit.jupiter.api ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AssertToAssertions.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AssertToAssertions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/asserttrueinstanceoftoassertinstanceof.md b/docs/recipes/java/testing/junit5/asserttrueinstanceoftoassertinstanceof.md index e21b483f2f..b16719d113 100644 --- a/docs/recipes/java/testing/junit5/asserttrueinstanceoftoassertinstanceof.md +++ b/docs/recipes/java/testing/junit5/asserttrueinstanceoftoassertinstanceof.md @@ -13,12 +13,17 @@ _Migration of JUnit4 (or potentially JUnit5) test case in form of assertTrue(x i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AssertTrueInstanceofToAssertInstanceOf.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/AssertTrueInstanceofToAssertInstanceOf.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/categorytotag.md b/docs/recipes/java/testing/junit5/categorytotag.md index c7eb84f5cf..17830394d2 100644 --- a/docs/recipes/java/testing/junit5/categorytotag.md +++ b/docs/recipes/java/testing/junit5/categorytotag.md @@ -13,12 +13,17 @@ _Transforms the JUnit 4 `@Category`, which can list multiple categories, into on ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/CategoryToTag.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/CategoryToTag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/cleanupassertions.md b/docs/recipes/java/testing/junit5/cleanupassertions.md index fe043d9f9d..2414616659 100644 --- a/docs/recipes/java/testing/junit5/cleanupassertions.md +++ b/docs/recipes/java/testing/junit5/cleanupassertions.md @@ -18,11 +18,16 @@ _Simplifies JUnit Jupiter assertions to their most-direct equivalents._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/cleanupjunitimports.md b/docs/recipes/java/testing/junit5/cleanupjunitimports.md index a26cb8a2d0..bfa45fd6cd 100644 --- a/docs/recipes/java/testing/junit5/cleanupjunitimports.md +++ b/docs/recipes/java/testing/junit5/cleanupjunitimports.md @@ -13,12 +13,17 @@ _Removes unused `org.junit` import symbols._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/CleanupJUnitImports.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/CleanupJUnitImports.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/enclosedtonested.md b/docs/recipes/java/testing/junit5/enclosedtonested.md index c728939ee0..85417dbdce 100644 --- a/docs/recipes/java/testing/junit5/enclosedtonested.md +++ b/docs/recipes/java/testing/junit5/enclosedtonested.md @@ -13,12 +13,17 @@ _Removes the `Enclosed` specification from a class, with `Nested` added to its i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/EnclosedToNested.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/EnclosedToNested.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/expectedexceptiontoassertthrows.md b/docs/recipes/java/testing/junit5/expectedexceptiontoassertthrows.md index b5b69901dc..a0ed8b87b3 100644 --- a/docs/recipes/java/testing/junit5/expectedexceptiontoassertthrows.md +++ b/docs/recipes/java/testing/junit5/expectedexceptiontoassertthrows.md @@ -13,12 +13,17 @@ _Replace usages of JUnit 4's `@Rule ExpectedException` with JUnit 5's `Assertion ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/ExpectedExceptionToAssertThrows.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/ExpectedExceptionToAssertThrows.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/gradleusejunitjupiter.md b/docs/recipes/java/testing/junit5/gradleusejunitjupiter.md index bf79d22401..1053c8491a 100644 --- a/docs/recipes/java/testing/junit5/gradleusejunitjupiter.md +++ b/docs/recipes/java/testing/junit5/gradleusejunitjupiter.md @@ -13,12 +13,17 @@ _By default Gradle's `Test` tasks use JUnit 4. Gradle `Test` tasks must be confi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/GradleUseJunitJupiter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/GradleUseJunitJupiter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/ignoretodisabled.md b/docs/recipes/java/testing/junit5/ignoretodisabled.md index bf104a4ed5..9345f5cc30 100644 --- a/docs/recipes/java/testing/junit5/ignoretodisabled.md +++ b/docs/recipes/java/testing/junit5/ignoretodisabled.md @@ -18,7 +18,12 @@ _Migrates JUnit 4.x `@Ignore` to JUnit Jupiter `@Disabled`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/junit4to5migration.md b/docs/recipes/java/testing/junit5/junit4to5migration.md index d7cf23bbba..f1dddddc3e 100644 --- a/docs/recipes/java/testing/junit5/junit4to5migration.md +++ b/docs/recipes/java/testing/junit5/junit4to5migration.md @@ -18,11 +18,16 @@ _Migrates JUnit 4.x tests to JUnit Jupiter._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -212,7 +217,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/junit5bestpractices.md b/docs/recipes/java/testing/junit5/junit5bestpractices.md index 47196f5d98..1da32d3271 100644 --- a/docs/recipes/java/testing/junit5/junit5bestpractices.md +++ b/docs/recipes/java/testing/junit5/junit5bestpractices.md @@ -18,11 +18,16 @@ _Applies best practices to tests._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/junitparamsrunnertoparameterized.md b/docs/recipes/java/testing/junit5/junitparamsrunnertoparameterized.md index 05cd93d592..17d7298a01 100644 --- a/docs/recipes/java/testing/junit5/junitparamsrunnertoparameterized.md +++ b/docs/recipes/java/testing/junit5/junitparamsrunnertoparameterized.md @@ -13,12 +13,17 @@ _Convert Pragmatists Parameterized test to the JUnit Jupiter ParameterizedTest e ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/JUnitParamsRunnerToParameterized.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/JUnitParamsRunnerToParameterized.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/lifecyclenonprivate.md b/docs/recipes/java/testing/junit5/lifecyclenonprivate.md index 1878e8216e..772e0d9aa0 100644 --- a/docs/recipes/java/testing/junit5/lifecyclenonprivate.md +++ b/docs/recipes/java/testing/junit5/lifecyclenonprivate.md @@ -13,12 +13,17 @@ _Make JUnit 5's `@AfterAll`, `@AfterEach`, `@BeforeAll` and `@BeforeEach` non pr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/LifecycleNonPrivate.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/LifecycleNonPrivate.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/migrateassumptions.md b/docs/recipes/java/testing/junit5/migrateassumptions.md index f56f4b8baa..1d27b44fdc 100644 --- a/docs/recipes/java/testing/junit5/migrateassumptions.md +++ b/docs/recipes/java/testing/junit5/migrateassumptions.md @@ -19,11 +19,16 @@ _Many of JUnit 4's `Assume#assume(..)` methods have no direct counterpart in JUn ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/migratejunittestcase.md b/docs/recipes/java/testing/junit5/migratejunittestcase.md index b06ccaea46..e95de116db 100644 --- a/docs/recipes/java/testing/junit5/migratejunittestcase.md +++ b/docs/recipes/java/testing/junit5/migratejunittestcase.md @@ -13,12 +13,17 @@ _Convert JUnit 4 `TestCase` to JUnit Jupiter._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/MigrateJUnitTestCase.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/MigrateJUnitTestCase.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/mockitojunittomockitoextension.md b/docs/recipes/java/testing/junit5/mockitojunittomockitoextension.md index 25f59f892e..1747fe0bbd 100644 --- a/docs/recipes/java/testing/junit5/mockitojunittomockitoextension.md +++ b/docs/recipes/java/testing/junit5/mockitojunittomockitoextension.md @@ -13,12 +13,17 @@ _Replaces `MockitoJUnit` rules with `MockitoExtension`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/MockitoJUnitToMockitoExtension.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/MockitoJUnitToMockitoExtension.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/parameterizedrunnertoparameterized.md b/docs/recipes/java/testing/junit5/parameterizedrunnertoparameterized.md index f044540ca4..5257aae416 100644 --- a/docs/recipes/java/testing/junit5/parameterizedrunnertoparameterized.md +++ b/docs/recipes/java/testing/junit5/parameterizedrunnertoparameterized.md @@ -13,12 +13,17 @@ _Convert JUnit 4 parameterized runner the JUnit Jupiter parameterized test equiv ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/ParameterizedRunnerToParameterized.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/ParameterizedRunnerToParameterized.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/removeduplicatetesttemplates.md b/docs/recipes/java/testing/junit5/removeduplicatetesttemplates.md index d7a54c4f96..c3a6d63476 100644 --- a/docs/recipes/java/testing/junit5/removeduplicatetesttemplates.md +++ b/docs/recipes/java/testing/junit5/removeduplicatetesttemplates.md @@ -13,12 +13,17 @@ _Remove duplicates uses of @TestTemplate implementations for a single method._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/RemoveDuplicateTestTemplates.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/RemoveDuplicateTestTemplates.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/removeobsoleterunners.md b/docs/recipes/java/testing/junit5/removeobsoleterunners.md index 09b62aac1c..a9b20fe1d9 100644 --- a/docs/recipes/java/testing/junit5/removeobsoleterunners.md +++ b/docs/recipes/java/testing/junit5/removeobsoleterunners.md @@ -13,18 +13,23 @@ _Some JUnit 4 `@RunWith` annotations do not require replacement with an equivale ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/RemoveObsoleteRunners.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/RemoveObsoleteRunners.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `List` | obsoleteRunners | The fully qualified class names of the JUnit 4 runners to be removed. | `org.junit.runners.JUnit4` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveObsoleteRunnersExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveObsoleteRunnersExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveObsoleteRunnersExample displayName: Remove JUnit 4 `@RunWith` annotations that do not require an `@ExtendsWith` replacement example recipeList: - - org.openrewrite.java.testing.junit5.RemoveObsoleteRunners: - obsoleteRunners: org.junit.runners.JUnit4 + - org.openrewrite.java.testing.junit5.RemoveObsoleteRunners: obsoleteRunners: org.junit.runners.JUnit4 ``` Now that `com.yourorg.RemoveObsoleteRunnersExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks:{{VERSION_REWRITE_TESTING_FRAMEWORKS}}` in your build file: diff --git a/docs/recipes/java/testing/junit5/removetrycatchfailblocks.md b/docs/recipes/java/testing/junit5/removetrycatchfailblocks.md index c2053e769e..679a5d32d8 100644 --- a/docs/recipes/java/testing/junit5/removetrycatchfailblocks.md +++ b/docs/recipes/java/testing/junit5/removetrycatchfailblocks.md @@ -20,12 +20,17 @@ Replace `try-catch` blocks where `catch` merely contains a `fail()` for `fail(St ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/RemoveTryCatchFailBlocks.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/RemoveTryCatchFailBlocks.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/runnertoextension.md b/docs/recipes/java/testing/junit5/runnertoextension.md index ae0e95ac79..6c0e229a2f 100644 --- a/docs/recipes/java/testing/junit5/runnertoextension.md +++ b/docs/recipes/java/testing/junit5/runnertoextension.md @@ -13,8 +13,9 @@ _Replace runners with the JUnit Jupiter extension equivalent._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/RunnerToExtension.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/RunnerToExtension.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Replace runners with the JUnit Jupiter extension equivalent._ | `List` | runners | The fully qualified class names of the JUnit 4 runners to replace. Sometimes several runners are replaced by a single JUnit Jupiter extension. | `[ org.springframework.test.context.junit4.SpringRunner ]` | | `String` | extension | The fully qualified class names of the JUnit Jupiter extension. | `org.springframework.test.context.junit.jupiter.SpringExtension` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RunnerToExtensionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RunnerToExtensionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RunnerToExtensionExample displayName: JUnit 4 `@RunWith` to JUnit Jupiter `@ExtendWith` example recipeList: - - org.openrewrite.java.testing.junit5.RunnerToExtension: - runners: [ org.springframework.test.context.junit4.SpringRunner ] + - org.openrewrite.java.testing.junit5.RunnerToExtension: runners: [ org.springframework.test.context.junit4.SpringRunner ] extension: org.springframework.test.context.junit.jupiter.SpringExtension ``` diff --git a/docs/recipes/java/testing/junit5/staticimports.md b/docs/recipes/java/testing/junit5/staticimports.md index 7423eb7309..5dda6e0679 100644 --- a/docs/recipes/java/testing/junit5/staticimports.md +++ b/docs/recipes/java/testing/junit5/staticimports.md @@ -18,7 +18,12 @@ _Always use a static import for assertion methods._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/tempdirnonfinal.md b/docs/recipes/java/testing/junit5/tempdirnonfinal.md index 8495adfb2d..e372b1da26 100644 --- a/docs/recipes/java/testing/junit5/tempdirnonfinal.md +++ b/docs/recipes/java/testing/junit5/tempdirnonfinal.md @@ -13,12 +13,17 @@ _Make JUnit 5's `org.junit.jupiter.api.io.TempDir` fields non final._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/TempDirNonFinal.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/TempDirNonFinal.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/temporaryfoldertotempdir.md b/docs/recipes/java/testing/junit5/temporaryfoldertotempdir.md index 4ecc9dac47..80db6e977e 100644 --- a/docs/recipes/java/testing/junit5/temporaryfoldertotempdir.md +++ b/docs/recipes/java/testing/junit5/temporaryfoldertotempdir.md @@ -13,12 +13,17 @@ _Translates JUnit 4's `org.junit.rules.TemporaryFolder` into JUnit 5's `org.juni ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/TemporaryFolderToTempDir.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/TemporaryFolderToTempDir.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/testruletotestinfo.md b/docs/recipes/java/testing/junit5/testruletotestinfo.md index 6efbe64ccd..46ac3d46e5 100644 --- a/docs/recipes/java/testing/junit5/testruletotestinfo.md +++ b/docs/recipes/java/testing/junit5/testruletotestinfo.md @@ -13,12 +13,17 @@ _Replace usages of JUnit 4's `@Rule TestName` with JUnit 5's TestInfo._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/TestRuleToTestInfo.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/TestRuleToTestInfo.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/throwingrunnabletoexecutable.md b/docs/recipes/java/testing/junit5/throwingrunnabletoexecutable.md index 95de8ca185..1716879299 100644 --- a/docs/recipes/java/testing/junit5/throwingrunnabletoexecutable.md +++ b/docs/recipes/java/testing/junit5/throwingrunnabletoexecutable.md @@ -18,7 +18,12 @@ _Migrates JUnit 4.x `ThrowingRunnable` to JUnit Jupiter `Executable`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/updatebeforeafterannotations.md b/docs/recipes/java/testing/junit5/updatebeforeafterannotations.md index 6abf014606..45513ce2e1 100644 --- a/docs/recipes/java/testing/junit5/updatebeforeafterannotations.md +++ b/docs/recipes/java/testing/junit5/updatebeforeafterannotations.md @@ -13,12 +13,17 @@ _Replace JUnit 4's `@Before`, `@BeforeClass`, `@After`, and `@AfterClass` annota ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UpdateBeforeAfterAnnotations.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UpdateBeforeAfterAnnotations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/updatemockwebserver.md b/docs/recipes/java/testing/junit5/updatemockwebserver.md index bb0be18a05..fceb7cc648 100644 --- a/docs/recipes/java/testing/junit5/updatemockwebserver.md +++ b/docs/recipes/java/testing/junit5/updatemockwebserver.md @@ -13,7 +13,12 @@ _Replace usages of okhttp3 3.x `@Rule` MockWebServer with 4.x `MockWebServer`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UpdateMockWebServer.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UpdateMockWebServer.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/updatetestannotation.md b/docs/recipes/java/testing/junit5/updatetestannotation.md index 3b41ee27ea..0c52c3ef68 100644 --- a/docs/recipes/java/testing/junit5/updatetestannotation.md +++ b/docs/recipes/java/testing/junit5/updatetestannotation.md @@ -13,12 +13,17 @@ _Update usages of JUnit 4's `@org.junit.Test` annotation to JUnit 5's `org.junit ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UpdateTestAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UpdateTestAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/upgradeokhttpmockwebserver.md b/docs/recipes/java/testing/junit5/upgradeokhttpmockwebserver.md index a7ad2be7dd..260e94b109 100644 --- a/docs/recipes/java/testing/junit5/upgradeokhttpmockwebserver.md +++ b/docs/recipes/java/testing/junit5/upgradeokhttpmockwebserver.md @@ -19,11 +19,16 @@ _Migrates OkHttp 3 `MockWebServer` to enable JUnit Jupiter Extension support._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/upgradesurefireplugin.md b/docs/recipes/java/testing/junit5/upgradesurefireplugin.md index 3ee7681cb5..35bc0548dd 100644 --- a/docs/recipes/java/testing/junit5/upgradesurefireplugin.md +++ b/docs/recipes/java/testing/junit5/upgradesurefireplugin.md @@ -13,11 +13,16 @@ _Upgrades the Maven Surefire Plugin to the latest version if still using an olde ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/useassertsame.md b/docs/recipes/java/testing/junit5/useassertsame.md index 69f1b7e96a..ff4c11f430 100644 --- a/docs/recipes/java/testing/junit5/useassertsame.md +++ b/docs/recipes/java/testing/junit5/useassertsame.md @@ -13,12 +13,17 @@ _Prefers the usage of `assertSame` or `assertNotSame` methods instead of using o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UseAssertSame.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UseAssertSame.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/usehamcrestassertthat.md b/docs/recipes/java/testing/junit5/usehamcrestassertthat.md index 95f776bd12..7bdd3cddb3 100644 --- a/docs/recipes/java/testing/junit5/usehamcrestassertthat.md +++ b/docs/recipes/java/testing/junit5/usehamcrestassertthat.md @@ -19,11 +19,16 @@ _JUnit 4's `Assert#assertThat(..)` This method was deprecated in JUnit 4 and rem ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/usemockitoextension.md b/docs/recipes/java/testing/junit5/usemockitoextension.md index 92b8ca96d5..ff82fb21e5 100644 --- a/docs/recipes/java/testing/junit5/usemockitoextension.md +++ b/docs/recipes/java/testing/junit5/usemockitoextension.md @@ -19,11 +19,16 @@ _Migrate uses of `@RunWith(MockitoJUnitRunner.class)` (and similar annotations) ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/usetestmethodorder.md b/docs/recipes/java/testing/junit5/usetestmethodorder.md index e9b6ff6240..8cb773a5a2 100644 --- a/docs/recipes/java/testing/junit5/usetestmethodorder.md +++ b/docs/recipes/java/testing/junit5/usetestmethodorder.md @@ -13,12 +13,17 @@ _JUnit optionally allows test method execution order to be specified. This repla ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UseTestMethodOrder.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UseTestMethodOrder.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/usewiremockextension.md b/docs/recipes/java/testing/junit5/usewiremockextension.md index c1d8260f62..f299d058b8 100644 --- a/docs/recipes/java/testing/junit5/usewiremockextension.md +++ b/docs/recipes/java/testing/junit5/usewiremockextension.md @@ -13,7 +13,12 @@ _As of 2.31.0, wiremock [supports JUnit 5](https://wiremock.org/docs/junit-jupit ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UseWiremockExtension.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/junit5/UseWiremockExtension.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/usexmlunitlegacy.md b/docs/recipes/java/testing/junit5/usexmlunitlegacy.md index 6e82e578ed..9795565724 100644 --- a/docs/recipes/java/testing/junit5/usexmlunitlegacy.md +++ b/docs/recipes/java/testing/junit5/usexmlunitlegacy.md @@ -19,7 +19,12 @@ _Migrates XMLUnit 1.x to XMLUnit legacy 2.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -61,7 +66,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/junit5/vertxunittovertxjunit5.md b/docs/recipes/java/testing/junit5/vertxunittovertxjunit5.md index 0a1b9164c6..7a60a65c89 100644 --- a/docs/recipes/java/testing/junit5/vertxunittovertxjunit5.md +++ b/docs/recipes/java/testing/junit5/vertxunittovertxjunit5.md @@ -18,11 +18,16 @@ _Migrates Vert.x `@RunWith` `VertxUnitRunner` to the JUnit Jupiter `@ExtendWith` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/junit5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/anystringtonullable.md b/docs/recipes/java/testing/mockito/anystringtonullable.md index 766ddac47f..72c9c689c9 100644 --- a/docs/recipes/java/testing/mockito/anystringtonullable.md +++ b/docs/recipes/java/testing/mockito/anystringtonullable.md @@ -13,12 +13,17 @@ _Since Mockito 2.10 `anyString()` no longer matches null values. Use `nullable(C ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/AnyStringToNullable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/AnyStringToNullable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/anytonullable.md b/docs/recipes/java/testing/mockito/anytonullable.md index 47b7eb2c00..abc05119f9 100644 --- a/docs/recipes/java/testing/mockito/anytonullable.md +++ b/docs/recipes/java/testing/mockito/anytonullable.md @@ -13,12 +13,17 @@ _Since Mockito 2.10 `anyString()` and `any()` no longer matches null values. Use ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/AnyToNullable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/AnyToNullable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/cleanupmockitoimports.md b/docs/recipes/java/testing/mockito/cleanupmockitoimports.md index 99c6e8f1c7..9d0e260d36 100644 --- a/docs/recipes/java/testing/mockito/cleanupmockitoimports.md +++ b/docs/recipes/java/testing/mockito/cleanupmockitoimports.md @@ -13,12 +13,17 @@ _Removes unused `org.mockito` import symbols, unless its possible they are assoc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/CleanupMockitoImports.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/CleanupMockitoImports.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/mockito1to3migration.md b/docs/recipes/java/testing/mockito/mockito1to3migration.md index f40bebd69a..6cdd1add38 100644 --- a/docs/recipes/java/testing/mockito/mockito1to3migration.md +++ b/docs/recipes/java/testing/mockito/mockito1to3migration.md @@ -18,11 +18,16 @@ _Upgrade Mockito from 1.x to 3.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/mockito.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/mockito.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -234,7 +239,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/mockito1to4migration.md b/docs/recipes/java/testing/mockito/mockito1to4migration.md index 404f863349..5ad3b4c51e 100644 --- a/docs/recipes/java/testing/mockito/mockito1to4migration.md +++ b/docs/recipes/java/testing/mockito/mockito1to4migration.md @@ -18,11 +18,16 @@ _Upgrade Mockito from 1.x to 4.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/mockito.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/mockito.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/mockito1to5migration.md b/docs/recipes/java/testing/mockito/mockito1to5migration.md index 619e3b22b4..3af5ec99dc 100644 --- a/docs/recipes/java/testing/mockito/mockito1to5migration.md +++ b/docs/recipes/java/testing/mockito/mockito1to5migration.md @@ -18,11 +18,16 @@ _Upgrade Mockito from 1.x to 5.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/mockito.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/mockito.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/mockito4to5only.md b/docs/recipes/java/testing/mockito/mockito4to5only.md index 2049fdd99c..f20dbbc80c 100644 --- a/docs/recipes/java/testing/mockito/mockito4to5only.md +++ b/docs/recipes/java/testing/mockito/mockito4to5only.md @@ -18,11 +18,16 @@ _Upgrade Mockito from 4.x to 5.x. Does not include 1.x to 4.x migration._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/mockito.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/mockito.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -78,7 +83,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/mockitobestpractices.md b/docs/recipes/java/testing/mockito/mockitobestpractices.md index 8b2c542d0e..7696c7622a 100644 --- a/docs/recipes/java/testing/mockito/mockitobestpractices.md +++ b/docs/recipes/java/testing/mockito/mockitobestpractices.md @@ -18,11 +18,16 @@ _Applies best practices for Mockito tests._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/mockito.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/mockito.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/mockitojunitrunnersilenttoextension.md b/docs/recipes/java/testing/mockito/mockitojunitrunnersilenttoextension.md index 4bb3c07f20..fd129a967c 100644 --- a/docs/recipes/java/testing/mockito/mockitojunitrunnersilenttoextension.md +++ b/docs/recipes/java/testing/mockito/mockitojunitrunnersilenttoextension.md @@ -13,12 +13,17 @@ _Replace `@RunWith(MockitoJUnitRunner.Silent.class)` with `@ExtendWith(MockitoEx ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/MockitoJUnitRunnerSilentToExtension.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/MockitoJUnitRunnerSilentToExtension.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/mockitowhenonstatictomockstatic.md b/docs/recipes/java/testing/mockito/mockitowhenonstatictomockstatic.md index ea7bf94005..65ced471b8 100644 --- a/docs/recipes/java/testing/mockito/mockitowhenonstatictomockstatic.md +++ b/docs/recipes/java/testing/mockito/mockitowhenonstatictomockstatic.md @@ -13,12 +13,17 @@ _Replace `Mockito.when` on static (non mock) with try-with-resource with MockedS ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/MockitoWhenOnStaticToMockStatic.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/MockitoWhenOnStaticToMockStatic.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/mockutilstostatic.md b/docs/recipes/java/testing/mockito/mockutilstostatic.md index 5a8b57b6e3..06f00b8218 100644 --- a/docs/recipes/java/testing/mockito/mockutilstostatic.md +++ b/docs/recipes/java/testing/mockito/mockutilstostatic.md @@ -13,12 +13,17 @@ _Best-effort attempt to remove Mockito `MockUtil` instances._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/MockUtilsToStatic.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/MockUtilsToStatic.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md b/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md index 0243055449..d8de44ba5e 100644 --- a/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md +++ b/docs/recipes/java/testing/mockito/noinitializationforinjectmock.md @@ -13,12 +13,17 @@ _Removes unnecessary initialization for fields annotated with `@InjectMocks` in ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/NoInitializationForInjectMock.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/NoInitializationForInjectMock.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/powermockitomockstatictomockito.md b/docs/recipes/java/testing/mockito/powermockitomockstatictomockito.md index e9cc473e12..a265f88f17 100644 --- a/docs/recipes/java/testing/mockito/powermockitomockstatictomockito.md +++ b/docs/recipes/java/testing/mockito/powermockitomockstatictomockito.md @@ -13,12 +13,17 @@ _Replaces `PowerMockito.mockStatic()` by `Mockito.mockStatic()`. Removes the `@P ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/PowerMockitoMockStaticToMockito.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/PowerMockitoMockStaticToMockito.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/removetimeszeroandone.md b/docs/recipes/java/testing/mockito/removetimeszeroandone.md index 3103fb5f22..58aa0789b1 100644 --- a/docs/recipes/java/testing/mockito/removetimeszeroandone.md +++ b/docs/recipes/java/testing/mockito/removetimeszeroandone.md @@ -13,12 +13,17 @@ _Remove `Mockito.times(0)` and `Mockito.times(0)` from `Mockito.verify()` calls. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/RemoveTimesZeroAndOne.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/RemoveTimesZeroAndOne.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/replacepowermockito.md b/docs/recipes/java/testing/mockito/replacepowermockito.md index 22126ab1f4..369ad96f14 100644 --- a/docs/recipes/java/testing/mockito/replacepowermockito.md +++ b/docs/recipes/java/testing/mockito/replacepowermockito.md @@ -18,11 +18,16 @@ _PowerMockito with raw Mockito; best executed as part of a Mockito upgrade._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/powermockito.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/powermockito.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -100,7 +105,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/simplifymockitoverifywhengiven.md b/docs/recipes/java/testing/mockito/simplifymockitoverifywhengiven.md index a79f1e6ad2..fee22085e3 100644 --- a/docs/recipes/java/testing/mockito/simplifymockitoverifywhengiven.md +++ b/docs/recipes/java/testing/mockito/simplifymockitoverifywhengiven.md @@ -17,12 +17,17 @@ _Fixes Sonar issue `java:S6068`: Call to Mockito method "verify", "when" or "giv ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/SimplifyMockitoVerifyWhenGiven.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/SimplifyMockitoVerifyWhenGiven.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/mockito/verifyzerotonomoreinteractions.md b/docs/recipes/java/testing/mockito/verifyzerotonomoreinteractions.md index 7309d994cd..b4bd351a78 100644 --- a/docs/recipes/java/testing/mockito/verifyzerotonomoreinteractions.md +++ b/docs/recipes/java/testing/mockito/verifyzerotonomoreinteractions.md @@ -16,12 +16,17 @@ Replaces `verifyZeroInteractions()` with `verifyNoMoreInteractions()` in Mockito ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/VerifyZeroToNoMoreInteractions.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/mockito/VerifyZeroToNoMoreInteractions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/testcontainers/explicitcontainerimage.md b/docs/recipes/java/testing/testcontainers/explicitcontainerimage.md index 02a4c26483..739006896f 100644 --- a/docs/recipes/java/testing/testcontainers/explicitcontainerimage.md +++ b/docs/recipes/java/testing/testcontainers/explicitcontainerimage.md @@ -13,8 +13,9 @@ _Set the image to use for a container explicitly if unset, rather than relying o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/testcontainers/ExplicitContainerImage.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/testcontainers/ExplicitContainerImage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Set the image to use for a container explicitly if unset, rather than relying o | `String` | image | The image to use for the container. | `nginx:1.9.4` | | `Boolean` | parseImage | *Optional*. Whether to call `DockerImageName.parse(image)`. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ExplicitContainerImageExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ExplicitContainerImageExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ExplicitContainerImageExample displayName: Add image argument to container constructor example recipeList: - - org.openrewrite.java.testing.testcontainers.ExplicitContainerImage: - containerClass: org.testcontainers.containers.NginxContainer + - org.openrewrite.java.testing.testcontainers.ExplicitContainerImage: containerClass: org.testcontainers.containers.NginxContainer image: nginx:1.9.4 ``` diff --git a/docs/recipes/java/testing/testcontainers/explicitcontainerimages.md b/docs/recipes/java/testing/testcontainers/explicitcontainerimages.md index dc8bed7d29..c610f1d5ae 100644 --- a/docs/recipes/java/testing/testcontainers/explicitcontainerimages.md +++ b/docs/recipes/java/testing/testcontainers/explicitcontainerimages.md @@ -13,11 +13,16 @@ _Replace implicit default container images and versions with explicit versions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/testcontainers.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/testcontainers.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -200,7 +205,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/testcontainers/gethostmigration.md b/docs/recipes/java/testing/testcontainers/gethostmigration.md index 83cf9bac04..bb98bc93cb 100644 --- a/docs/recipes/java/testing/testcontainers/gethostmigration.md +++ b/docs/recipes/java/testing/testcontainers/gethostmigration.md @@ -13,7 +13,12 @@ _Replace `org.testcontainers.containers.ContainerState.getContainerIpAddress()` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/testcontainers.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/testcontainers.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/testcontainers/testcontainersbestpractices.md b/docs/recipes/java/testing/testcontainers/testcontainersbestpractices.md index b36abe5578..0ed0bba64a 100644 --- a/docs/recipes/java/testing/testcontainers/testcontainersbestpractices.md +++ b/docs/recipes/java/testing/testcontainers/testcontainersbestpractices.md @@ -13,11 +13,16 @@ _Apply best practices to Testcontainers usage._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/testcontainers.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/testcontainers.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/testng/testngassertequalstoassertthat.md b/docs/recipes/java/testing/testng/testngassertequalstoassertthat.md index ee30dede38..75a265a732 100644 --- a/docs/recipes/java/testing/testng/testngassertequalstoassertthat.md +++ b/docs/recipes/java/testing/testng/testngassertequalstoassertthat.md @@ -13,12 +13,17 @@ _Convert TestNG-style `assertEquals()` to AssertJ's `assertThat().isEqualTo()`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/testng/TestNgAssertEqualsToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/testng/TestNgAssertEqualsToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/testng/testngassertnotequalstoassertthat.md b/docs/recipes/java/testing/testng/testngassertnotequalstoassertthat.md index 7e6fd924e0..804c57082a 100644 --- a/docs/recipes/java/testing/testng/testngassertnotequalstoassertthat.md +++ b/docs/recipes/java/testing/testng/testngassertnotequalstoassertthat.md @@ -13,12 +13,17 @@ _Convert TestNG-style `assertNotEquals()` to AssertJ's `assertThat().isNotEqualT ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/testng/TestNgAssertNotEqualsToAssertThat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/java/org/openrewrite/java/testing/testng/TestNgAssertNotEqualsToAssertThat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/testing/testng/testngtoassertj.md b/docs/recipes/java/testing/testng/testngtoassertj.md index 5cbf9efa64..3de36c070d 100644 --- a/docs/recipes/java/testing/testng/testngtoassertj.md +++ b/docs/recipes/java/testing/testng/testngtoassertj.md @@ -19,11 +19,16 @@ _Convert assertions from `org.testng.Assert` to `org.assertj.core.api.Assertions ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/testng.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) - +[GitHub](https://github.com/openrewrite/rewrite-testing-frameworks/blob/main/src/main/resources/META-INF/rewrite/testng.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-testing-frameworks/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-testing-frameworks/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -70,7 +75,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-testing-frameworks` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/java/updatesourcepositions.md b/docs/recipes/java/updatesourcepositions.md index 1d6aad7d77..911399cf2a 100644 --- a/docs/recipes/java/updatesourcepositions.md +++ b/docs/recipes/java/updatesourcepositions.md @@ -13,7 +13,12 @@ _Calculate start position and length for every LST element._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/UpdateSourcePositions.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/UpdateSourcePositions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/java/usestaticimport.md b/docs/recipes/java/usestaticimport.md index 894758fd6b..8117c802f3 100644 --- a/docs/recipes/java/usestaticimport.md +++ b/docs/recipes/java/usestaticimport.md @@ -13,18 +13,23 @@ _Removes unnecessary receiver types from static method invocations. For example, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/UseStaticImport.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-java/src/main/java/org/openrewrite/java/UseStaticImport.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-java/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | methodPattern | A [method pattern](/reference/method-patterns) that is used to find matching method invocations. | `java.util.Collections emptyList()` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseStaticImportExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseStaticImportExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UseStaticImportExample displayName: Use static import example recipeList: - - org.openrewrite.java.UseStaticImport: - methodPattern: java.util.Collections emptyList() + - org.openrewrite.java.UseStaticImport: methodPattern: java.util.Collections emptyList() ``` Now that `com.yourorg.UseStaticImportExample` has been defined, activate it in your build file: diff --git a/docs/recipes/jenkins/addjellyxmldeclaration.md b/docs/recipes/jenkins/addjellyxmldeclaration.md index 3fba0e2f0b..96de784858 100644 --- a/docs/recipes/jenkins/addjellyxmldeclaration.md +++ b/docs/recipes/jenkins/addjellyxmldeclaration.md @@ -16,12 +16,17 @@ Ensure the XML declaration `` is present in al ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/AddJellyXmlDeclaration.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/AddJellyXmlDeclaration.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/addpluginsbom.md b/docs/recipes/jenkins/addpluginsbom.md index 8c82d2a47e..8e063f8f2b 100644 --- a/docs/recipes/jenkins/addpluginsbom.md +++ b/docs/recipes/jenkins/addpluginsbom.md @@ -13,12 +13,17 @@ _Adds [Jenkins plugins BOM](https://www.jenkins.io/doc/developer/plugin-developm ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/AddPluginsBom.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/AddPluginsBom.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/commonslang3toapiplugin.md b/docs/recipes/jenkins/commonslang3toapiplugin.md index 70d4dcdbc6..4a15af1ec2 100644 --- a/docs/recipes/jenkins/commonslang3toapiplugin.md +++ b/docs/recipes/jenkins/commonslang3toapiplugin.md @@ -13,7 +13,12 @@ _Updates `pom.xml` to depend on `commons-lang3-api` and exclude `commons-lang3` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/rewrite.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/rewrite.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/createindexjelly.md b/docs/recipes/jenkins/createindexjelly.md index 20d38b33df..893069beb6 100644 --- a/docs/recipes/jenkins/createindexjelly.md +++ b/docs/recipes/jenkins/createindexjelly.md @@ -13,12 +13,17 @@ _Jenkins tooling [requires](https://github.com/jenkinsci/maven-hpi-plugin/pull/3 ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/CreateIndexJelly.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/CreateIndexJelly.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/disablelocalresolutionforparentpom.md b/docs/recipes/jenkins/disablelocalresolutionforparentpom.md index d067da4bd8..ea4959e19b 100644 --- a/docs/recipes/jenkins/disablelocalresolutionforparentpom.md +++ b/docs/recipes/jenkins/disablelocalresolutionforparentpom.md @@ -16,12 +16,17 @@ Explicitly sets `` to disable file resolution, as recommended in ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/DisableLocalResolutionForParentPom.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/DisableLocalResolutionForParentPom.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/github/addteamtocodeowners.md b/docs/recipes/jenkins/github/addteamtocodeowners.md index 439c6e6878..d731860d9e 100644 --- a/docs/recipes/jenkins/github/addteamtocodeowners.md +++ b/docs/recipes/jenkins/github/addteamtocodeowners.md @@ -16,12 +16,17 @@ Adds the `{artifactId}-plugin-developers` team to all files in `.github/CODEOWNE ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/github/AddTeamToCodeowners.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/github/AddTeamToCodeowners.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/isjenkinsplugin.md b/docs/recipes/jenkins/isjenkinsplugin.md index b52fe44f72..0b22fd9f4e 100644 --- a/docs/recipes/jenkins/isjenkinsplugin.md +++ b/docs/recipes/jenkins/isjenkinsplugin.md @@ -13,18 +13,23 @@ _Checks if the project is a Jenkins plugin by the presence of a managed version ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/IsJenkinsPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) - +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/IsJenkinsPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | version | The value of the `` property. | `[1,)` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.IsJenkinsPluginExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.IsJenkinsPluginExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.IsJenkinsPluginExample displayName: Is the project a Jenkins plugin? example recipeList: - - org.openrewrite.jenkins.IsJenkinsPlugin: - version: '[1,)' + - org.openrewrite.jenkins.IsJenkinsPlugin: version: '[1,)' ``` Now that `com.yourorg.IsJenkinsPluginExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-jenkins:{{VERSION_REWRITE_JENKINS}}` in your build file: diff --git a/docs/recipes/jenkins/javaxannotationstospotbugs.md b/docs/recipes/jenkins/javaxannotationstospotbugs.md index eaaa668ea4..5a527d917f 100644 --- a/docs/recipes/jenkins/javaxannotationstospotbugs.md +++ b/docs/recipes/jenkins/javaxannotationstospotbugs.md @@ -13,11 +13,16 @@ _SpotBugs is the [preferred replacement](https://www.jenkins.io/doc/developer/tu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/jsr-305.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) - +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/jsr-305.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/migrate/hudson/utilgetpasttimestringtogettimespanstring.md b/docs/recipes/jenkins/migrate/hudson/utilgetpasttimestringtogettimespanstring.md index 42a207cc91..e1c1aac4f3 100644 --- a/docs/recipes/jenkins/migrate/hudson/utilgetpasttimestringtogettimespanstring.md +++ b/docs/recipes/jenkins/migrate/hudson/utilgetpasttimestringtogettimespanstring.md @@ -13,7 +13,12 @@ _`hudson.Util.getPastTimeString` has been [deprecated](https://github.com/jenkin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/hudson-migrations.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/hudson-migrations.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -49,7 +54,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/modernizejenkinsfile.md b/docs/recipes/jenkins/modernizejenkinsfile.md index 03478afb98..18751f30eb 100644 --- a/docs/recipes/jenkins/modernizejenkinsfile.md +++ b/docs/recipes/jenkins/modernizejenkinsfile.md @@ -13,7 +13,12 @@ _Updates `Jenkinsfile` to build with recommended Java versions, platforms, and s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/rewrite.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/rewrite.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/modernizeplugin.md b/docs/recipes/jenkins/modernizeplugin.md index be1fc3b825..0055fea758 100644 --- a/docs/recipes/jenkins/modernizeplugin.md +++ b/docs/recipes/jenkins/modernizeplugin.md @@ -13,11 +13,16 @@ _This recipe is intended to change over time to reflect the most recent tooling ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/rewrite.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) - +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/rewrite.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -94,7 +99,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/modernizepluginforjava8.md b/docs/recipes/jenkins/modernizepluginforjava8.md index bac947bef3..8f3dcbe0c6 100644 --- a/docs/recipes/jenkins/modernizepluginforjava8.md +++ b/docs/recipes/jenkins/modernizepluginforjava8.md @@ -13,11 +13,16 @@ _This recipe is intended to break down the modernization of very old plugins int ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/java-8.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) - +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/resources/META-INF/rewrite/java-8.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-jenkins` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/jenkins/replacelibrarieswithapiplugin.md b/docs/recipes/jenkins/replacelibrarieswithapiplugin.md index 4edf308265..677f5978fd 100644 --- a/docs/recipes/jenkins/replacelibrarieswithapiplugin.md +++ b/docs/recipes/jenkins/replacelibrarieswithapiplugin.md @@ -13,8 +13,9 @@ _Prefer Jenkins API plugins over bundling libraries for slimmer plugins._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/ReplaceLibrariesWithApiPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) - +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/ReplaceLibrariesWithApiPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Prefer Jenkins API plugins over bundling libraries for slimmer plugins._ | `String` | pluginVersion | An exact version number. | `1981.v17df70e84a_a_1` | | `Set` | replaces | The set of library coordinates replaced by this API Plugin. |
groupId: org.apache.commons
artifactId: commons-text
| +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceLibrariesWithApiPluginExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ReplaceLibrariesWithApiPluginExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ReplaceLibrariesWithApiPluginExample displayName: Use Jenkins API plugin instead of libraries example recipeList: - - org.openrewrite.jenkins.ReplaceLibrariesWithApiPlugin: - pluginGroupId: io.jenkins.plugins + - org.openrewrite.jenkins.ReplaceLibrariesWithApiPlugin: pluginGroupId: io.jenkins.plugins pluginArtifactId: jackson2-api pluginVersion: 1981.v17df70e84a_a_1 replaces: groupId: org.apache.commons diff --git a/docs/recipes/jenkins/upgradejavaversion.md b/docs/recipes/jenkins/upgradejavaversion.md index 1cc4ee3ef3..2842a55988 100644 --- a/docs/recipes/jenkins/upgradejavaversion.md +++ b/docs/recipes/jenkins/upgradejavaversion.md @@ -13,8 +13,9 @@ _Upgrades the version of java specified in Jenkins groovy scripts. Will not down ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/UpgradeJavaVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) - +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/UpgradeJavaVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Upgrades the version of java specified in Jenkins groovy scripts. Will not down | `Integer` | version | The Java version to upgrade to. | `17` | | `String` | distribution | The distribution of Java to use. When omitted the current distribution is maintained. | `openjdk` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeJavaVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeJavaVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeJavaVersionExample displayName: Upgrade jenkins java version example recipeList: - - org.openrewrite.jenkins.UpgradeJavaVersion: - version: 17 + - org.openrewrite.jenkins.UpgradeJavaVersion: version: 17 distribution: openjdk ``` diff --git a/docs/recipes/jenkins/upgradeversionproperty.md b/docs/recipes/jenkins/upgradeversionproperty.md index b3e0de176f..4187a46825 100644 --- a/docs/recipes/jenkins/upgradeversionproperty.md +++ b/docs/recipes/jenkins/upgradeversionproperty.md @@ -16,8 +16,9 @@ If the current value is < given version, upgrade it. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/UpgradeVersionProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) - +[GitHub](https://github.com/openrewrite/rewrite-jenkins/blob/main/src/main/java/org/openrewrite/jenkins/UpgradeVersionProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-jenkins/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-jenkins/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ If the current value is < given version, upgrade it. | `String` | key | The name of the property key to change. | `jenkins.version` | | `String` | minimumVersion | Value to apply to the matching property if < this. | `2.375.1` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeVersionPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeVersionPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeVersionPropertyExample displayName: Upgrade property's value to version example recipeList: - - org.openrewrite.jenkins.UpgradeVersionProperty: - key: jenkins.version + - org.openrewrite.jenkins.UpgradeVersionProperty: key: jenkins.version minimumVersion: 2.375.1 ``` diff --git a/docs/recipes/json/changekey.md b/docs/recipes/json/changekey.md index 9587f336ce..56ba9d6b86 100644 --- a/docs/recipes/json/changekey.md +++ b/docs/recipes/json/changekey.md @@ -13,8 +13,9 @@ _Change a JSON mapping entry key, while leaving the value intact._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/src/main/java/org/openrewrite/json/ChangeKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-json/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/src/main/java/org/openrewrite/json/ChangeKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-json/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Change a JSON mapping entry key, while leaving the value intact._ | `String` | oldKeyPath | A [JsonPath](https://docs.openrewrite.org/reference/jsonpath-and-jsonpathmatcher-reference) expression to locate a JSON entry. | `$.subjects.kind` | | `String` | newKey | The new name for the key selected by oldKeyPath. | `kind` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeKeyExample displayName: Change key example recipeList: - - org.openrewrite.json.ChangeKey: - oldKeyPath: $.subjects.kind + - org.openrewrite.json.ChangeKey: oldKeyPath: $.subjects.kind newKey: kind ``` diff --git a/docs/recipes/json/changevalue.md b/docs/recipes/json/changevalue.md index 9cee5b7992..f7c498b296 100644 --- a/docs/recipes/json/changevalue.md +++ b/docs/recipes/json/changevalue.md @@ -13,8 +13,9 @@ _Change a JSON mapping entry value leaving the key intact._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/src/main/java/org/openrewrite/json/ChangeValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-json/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/src/main/java/org/openrewrite/json/ChangeValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-json/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Change a JSON mapping entry value leaving the key intact._ | `String` | oldKeyPath | A [JsonPath](https://docs.openrewrite.org/reference/jsonpath-and-jsonpathmatcher-reference) expression to locate a JSON entry. | `$.subjects.kind` | | `String` | value | The new value to set for the key identified by oldKeyPath. | `'Deployment'` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeValueExample displayName: Change value example recipeList: - - org.openrewrite.json.ChangeValue: - oldKeyPath: $.subjects.kind + - org.openrewrite.json.ChangeValue: oldKeyPath: $.subjects.kind value: 'Deployment' ``` diff --git a/docs/recipes/json/deletekey.md b/docs/recipes/json/deletekey.md index 5a55ecc276..9727491ffb 100644 --- a/docs/recipes/json/deletekey.md +++ b/docs/recipes/json/deletekey.md @@ -13,18 +13,23 @@ _Delete a JSON mapping entry key._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/src/main/java/org/openrewrite/json/DeleteKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-json/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/src/main/java/org/openrewrite/json/DeleteKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-json/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | keyPath | A [JsonPath](https://docs.openrewrite.org/reference/jsonpath-and-jsonpathmatcher-reference) expression to locate a JSON entry. | `$.subjects.kind` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DeleteKeyExample displayName: Delete key example recipeList: - - org.openrewrite.json.DeleteKey: - keyPath: $.subjects.kind + - org.openrewrite.json.DeleteKey: keyPath: $.subjects.kind ``` Now that `com.yourorg.DeleteKeyExample` has been defined, activate it in your build file: diff --git a/docs/recipes/json/search/findkey.md b/docs/recipes/json/search/findkey.md index b78ec26012..661086a213 100644 --- a/docs/recipes/json/search/findkey.md +++ b/docs/recipes/json/search/findkey.md @@ -13,18 +13,23 @@ _Find JSON object members by JsonPath expression._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/src/main/java/org/openrewrite/json/search/FindKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-json/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-json/src/main/java/org/openrewrite/json/search/FindKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-json/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | key | A JsonPath expression used to find matching keys. | `$.subjects.kind` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindKeyExample displayName: Find JSON object members example recipeList: - - org.openrewrite.json.search.FindKey: - key: $.subjects.kind + - org.openrewrite.json.search.FindKey: key: $.subjects.kind ``` Now that `com.yourorg.FindKeyExample` has been defined, activate it in your build file: diff --git a/docs/recipes/kotlin/cleanup/equalsmethodusage.md b/docs/recipes/kotlin/cleanup/equalsmethodusage.md index d28621ab4e..0105f3a6e4 100644 --- a/docs/recipes/kotlin/cleanup/equalsmethodusage.md +++ b/docs/recipes/kotlin/cleanup/equalsmethodusage.md @@ -17,12 +17,17 @@ _In Kotlin, `==` means structural equality and `!=` structural inequality and bo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/EqualsMethodUsage.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/EqualsMethodUsage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/kotlin/cleanup/implicitparameterinlambda.md b/docs/recipes/kotlin/cleanup/implicitparameterinlambda.md index 69ce6ffe9b..a4bac0171f 100644 --- a/docs/recipes/kotlin/cleanup/implicitparameterinlambda.md +++ b/docs/recipes/kotlin/cleanup/implicitparameterinlambda.md @@ -17,12 +17,17 @@ _`it` is a special identifier that allows you to refer to the current parameter ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/ImplicitParameterInLambda.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/ImplicitParameterInLambda.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/kotlin/cleanup/removetrailingcomma.md b/docs/recipes/kotlin/cleanup/removetrailingcomma.md index 0d74bacaba..74444b20a2 100644 --- a/docs/recipes/kotlin/cleanup/removetrailingcomma.md +++ b/docs/recipes/kotlin/cleanup/removetrailingcomma.md @@ -13,12 +13,17 @@ _Remove trailing commas in variable, parameter, and class property lists._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/RemoveTrailingComma.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/RemoveTrailingComma.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/kotlin/cleanup/removetrailingsemicolon.md b/docs/recipes/kotlin/cleanup/removetrailingsemicolon.md index 7d648d9dee..642e0387b2 100644 --- a/docs/recipes/kotlin/cleanup/removetrailingsemicolon.md +++ b/docs/recipes/kotlin/cleanup/removetrailingsemicolon.md @@ -13,12 +13,17 @@ _Some Java programmers may mistakenly add semicolons at the end when writing Kot ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/RemoveTrailingSemicolon.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/RemoveTrailingSemicolon.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/kotlin/cleanup/replacechartointwithcode.md b/docs/recipes/kotlin/cleanup/replacechartointwithcode.md index 64b569aa30..40ef025f42 100644 --- a/docs/recipes/kotlin/cleanup/replacechartointwithcode.md +++ b/docs/recipes/kotlin/cleanup/replacechartointwithcode.md @@ -13,12 +13,17 @@ _Replace the usage of the deprecated `Char#toInt()` with `Char#code`. Please ens ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/ReplaceCharToIntWithCode.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/ReplaceCharToIntWithCode.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/kotlin/cleanup/unnecessarytypeparentheses.md b/docs/recipes/kotlin/cleanup/unnecessarytypeparentheses.md index 6fbc6914e2..6ee1826c39 100644 --- a/docs/recipes/kotlin/cleanup/unnecessarytypeparentheses.md +++ b/docs/recipes/kotlin/cleanup/unnecessarytypeparentheses.md @@ -13,12 +13,17 @@ _In Kotlin, it's possible to add redundant nested parentheses in type definition ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/UnnecessaryTypeParentheses.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/cleanup/UnnecessaryTypeParentheses.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/kotlin/findkotlinsources.md b/docs/recipes/kotlin/findkotlinsources.md index 55656fa730..7b81fdac40 100644 --- a/docs/recipes/kotlin/findkotlinsources.md +++ b/docs/recipes/kotlin/findkotlinsources.md @@ -13,18 +13,23 @@ _Use data table to collect source files types and counts of files with extension ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/FindKotlinSources.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) - +[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/FindKotlinSources.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | markCompilationUnits | *Optional*. Limit the search results to Kotlin CompilationUnits. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/kotlin/format/autoformat.md b/docs/recipes/kotlin/format/autoformat.md index 70776459a2..c554c8dca0 100644 --- a/docs/recipes/kotlin/format/autoformat.md +++ b/docs/recipes/kotlin/format/autoformat.md @@ -13,12 +13,17 @@ _Format Kotlin code using a standard comprehensive set of Kotlin formatting reci ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/format/AutoFormat.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/format/AutoFormat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite:rewrite-kotlin` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/kotlin/renametypealias.md b/docs/recipes/kotlin/renametypealias.md index fb5069799c..65941d9dea 100644 --- a/docs/recipes/kotlin/renametypealias.md +++ b/docs/recipes/kotlin/renametypealias.md @@ -13,8 +13,9 @@ _Change the name of a given type alias._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/RenameTypeAlias.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) - +[GitHub](https://github.com/openrewrite/rewrite-kotlin/blob/main/src/main/java/org/openrewrite/kotlin/RenameTypeAlias.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-kotlin/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-kotlin/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Change the name of a given type alias._ | `String` | newName | Name of the alias type. | `NewAlias` | | `String` | fullyQualifiedAliasedType | Fully-qualified class name of the aliased type. | `org.junit.Assume` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RenameTypeAliasExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RenameTypeAliasExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RenameTypeAliasExample displayName: Rename type alias example recipeList: - - org.openrewrite.kotlin.RenameTypeAlias: - aliasName: OldAlias + - org.openrewrite.kotlin.RenameTypeAlias: aliasName: OldAlias newName: NewAlias fullyQualifiedAliasedType: org.junit.Assume ``` diff --git a/docs/recipes/kubernetes/addconfiguration.md b/docs/recipes/kubernetes/addconfiguration.md index 33fb4457b2..f85117c118 100644 --- a/docs/recipes/kubernetes/addconfiguration.md +++ b/docs/recipes/kubernetes/addconfiguration.md @@ -13,7 +13,7 @@ _Add default required configuration when it is missing._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/AddConfiguration.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -24,28 +24,31 @@ _Add default required configuration when it is missing._ | `String` | configurationPath | A JsonPath expression to locate Kubernetes configuration. Must be an absolute path. | `$.spec` | | `String` | value | The configuration that is added when necessary, including the key. | `privileged: false` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddConfigurationExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddConfigurationExample displayName: Add Kubernetes configuration example recipeList: - - org.openrewrite.kubernetes.AddConfiguration: + - org.openrewrite.kubernetes.AddConfiguration: apiVersion: policy/v1beta1 resourceKind: PodSecurityPolicy configurationPath: $.spec value: 'privileged: false' ``` -Now that `com.yourorg.AddConfigurationExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/changeapiversion.md b/docs/recipes/kubernetes/changeapiversion.md index 6c34a7ea50..75d462d369 100644 --- a/docs/recipes/kubernetes/changeapiversion.md +++ b/docs/recipes/kubernetes/changeapiversion.md @@ -13,7 +13,7 @@ _Change the Kubernetes API version in a resource._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/ChangeApiVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _Change the Kubernetes API version in a resource._ | `String` | newApiVersion | The new Kubernetes API version to change to. | `flowcontrol.apiserver.k8s.io/v1` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeApiVersionExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeApiVersionExample displayName: Change Kubernetes API version example recipeList: - - org.openrewrite.kubernetes.ChangeApiVersion: + - org.openrewrite.kubernetes.ChangeApiVersion: oldApiVersion: flowcontrol.apiserver.k8s.io/v1beta3 newApiVersion: flowcontrol.apiserver.k8s.io/v1 fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.ChangeApiVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/imagepullpolicyalways.md b/docs/recipes/kubernetes/imagepullpolicyalways.md index 988079f40b..c6b93b928e 100644 --- a/docs/recipes/kubernetes/imagepullpolicyalways.md +++ b/docs/recipes/kubernetes/imagepullpolicyalways.md @@ -17,12 +17,16 @@ _Ensures the latest version of a tag is deployed each time._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/kubernetesbestpractices.md b/docs/recipes/kubernetes/kubernetesbestpractices.md index f612e15766..924c84891b 100644 --- a/docs/recipes/kubernetes/kubernetesbestpractices.md +++ b/docs/recipes/kubernetes/kubernetesbestpractices.md @@ -17,15 +17,16 @@ _Applies best practices to Kubernetes manifests._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/lifecycleruleonstoragebucket.md b/docs/recipes/kubernetes/lifecycleruleonstoragebucket.md index 347f5f14a7..471abc0797 100644 --- a/docs/recipes/kubernetes/lifecycleruleonstoragebucket.md +++ b/docs/recipes/kubernetes/lifecycleruleonstoragebucket.md @@ -17,12 +17,16 @@ _When defining a rule, you can specify any set of conditions for any action. The ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/limitcontainercapabilities.md b/docs/recipes/kubernetes/limitcontainercapabilities.md index 4e3890c7c3..3f4c51d5c3 100644 --- a/docs/recipes/kubernetes/limitcontainercapabilities.md +++ b/docs/recipes/kubernetes/limitcontainercapabilities.md @@ -17,12 +17,16 @@ _Limiting the admission of containers with capabilities ensures that only a smal ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/migrate/migratetoapiv1_16.md b/docs/recipes/kubernetes/migrate/migratetoapiv1_16.md index c3473a23de..5bfe99a13d 100644 --- a/docs/recipes/kubernetes/migrate/migratetoapiv1_16.md +++ b/docs/recipes/kubernetes/migrate/migratetoapiv1_16.md @@ -17,15 +17,16 @@ _This recipe will apply changes commonly needed when migrating to Kubernetes API ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/deprecated-api-migrations.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/migrate/migratetoapiv1_22.md b/docs/recipes/kubernetes/migrate/migratetoapiv1_22.md index 35f9a525ef..d41cae629a 100644 --- a/docs/recipes/kubernetes/migrate/migratetoapiv1_22.md +++ b/docs/recipes/kubernetes/migrate/migratetoapiv1_22.md @@ -17,15 +17,16 @@ _This recipe will apply changes commonly needed when migrating to Kubernetes API ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/deprecated-api-migrations.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/migrate/migratetoapiv1_25.md b/docs/recipes/kubernetes/migrate/migratetoapiv1_25.md index ed77c4681a..7b80a15b74 100644 --- a/docs/recipes/kubernetes/migrate/migratetoapiv1_25.md +++ b/docs/recipes/kubernetes/migrate/migratetoapiv1_25.md @@ -17,15 +17,16 @@ _This recipe will apply changes commonly needed when migrating to Kubernetes API ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/deprecated-api-migrations.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/migrate/migratetoapiv1_26.md b/docs/recipes/kubernetes/migrate/migratetoapiv1_26.md index 7d87b35afc..2fef5cfde8 100644 --- a/docs/recipes/kubernetes/migrate/migratetoapiv1_26.md +++ b/docs/recipes/kubernetes/migrate/migratetoapiv1_26.md @@ -17,15 +17,16 @@ _This recipe will apply changes commonly needed when migrating to Kubernetes API ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/deprecated-api-migrations.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/migrate/migratetoapiv1_27.md b/docs/recipes/kubernetes/migrate/migratetoapiv1_27.md index b883b53a45..e9bb2eec17 100644 --- a/docs/recipes/kubernetes/migrate/migratetoapiv1_27.md +++ b/docs/recipes/kubernetes/migrate/migratetoapiv1_27.md @@ -17,15 +17,16 @@ _This recipe will apply changes commonly needed when migrating to Kubernetes API ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/deprecated-api-migrations.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/migrate/migratetoapiv1_29.md b/docs/recipes/kubernetes/migrate/migratetoapiv1_29.md index 51fa5b75cd..c20195158f 100644 --- a/docs/recipes/kubernetes/migrate/migratetoapiv1_29.md +++ b/docs/recipes/kubernetes/migrate/migratetoapiv1_29.md @@ -17,15 +17,16 @@ _This recipe will apply changes commonly needed when migrating to Kubernetes API ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/deprecated-api-migrations.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/migrate/migratetoapiv1_32.md b/docs/recipes/kubernetes/migrate/migratetoapiv1_32.md index 73ecd66ae0..d1ec578594 100644 --- a/docs/recipes/kubernetes/migrate/migratetoapiv1_32.md +++ b/docs/recipes/kubernetes/migrate/migratetoapiv1_32.md @@ -17,15 +17,16 @@ _This recipe will apply changes commonly needed when migrating to Kubernetes API ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/deprecated-api-migrations.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/missingcpulimits.md b/docs/recipes/kubernetes/missingcpulimits.md index 41901712cc..81418f17eb 100644 --- a/docs/recipes/kubernetes/missingcpulimits.md +++ b/docs/recipes/kubernetes/missingcpulimits.md @@ -17,12 +17,16 @@ _A system without managed quotas could eventually collapse due to inadequate res ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/missingcpurequest.md b/docs/recipes/kubernetes/missingcpurequest.md index 0f52558da6..8a1316ced5 100644 --- a/docs/recipes/kubernetes/missingcpurequest.md +++ b/docs/recipes/kubernetes/missingcpurequest.md @@ -17,12 +17,16 @@ _If a container is created in a namespace that has a default CPU limit, and the ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/missingmemorylimits.md b/docs/recipes/kubernetes/missingmemorylimits.md index b35642dd16..f1dd88e418 100644 --- a/docs/recipes/kubernetes/missingmemorylimits.md +++ b/docs/recipes/kubernetes/missingmemorylimits.md @@ -17,12 +17,16 @@ _With no limit set, kubectl allocates more and more memory to the container unti ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/missingmemoryrequest.md b/docs/recipes/kubernetes/missingmemoryrequest.md index bf3bd55b18..c17b29ab19 100644 --- a/docs/recipes/kubernetes/missingmemoryrequest.md +++ b/docs/recipes/kubernetes/missingmemoryrequest.md @@ -17,12 +17,16 @@ _A container is guaranteed to have as much memory as it requests, but is not all ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/missingpodlivenessprobe.md b/docs/recipes/kubernetes/missingpodlivenessprobe.md index bd9d255e89..a20bee026e 100644 --- a/docs/recipes/kubernetes/missingpodlivenessprobe.md +++ b/docs/recipes/kubernetes/missingpodlivenessprobe.md @@ -17,12 +17,16 @@ _The kubelet uses liveness probes to know when to schedule restarts for containe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/missingpodreadinessprobe.md b/docs/recipes/kubernetes/missingpodreadinessprobe.md index d647a8d98c..8b4f2b427f 100644 --- a/docs/recipes/kubernetes/missingpodreadinessprobe.md +++ b/docs/recipes/kubernetes/missingpodreadinessprobe.md @@ -17,12 +17,16 @@ _Using the Readiness Probe ensures teams define what actions need to be taken to ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/nohostipcsharing.md b/docs/recipes/kubernetes/nohostipcsharing.md index 8ed8f05357..0628e67bea 100644 --- a/docs/recipes/kubernetes/nohostipcsharing.md +++ b/docs/recipes/kubernetes/nohostipcsharing.md @@ -17,12 +17,16 @@ _Preventing sharing of host PID/IPC namespace, networking, and ports ensures pro ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/nohostnetworksharing.md b/docs/recipes/kubernetes/nohostnetworksharing.md index ebca854b4f..5abd69faff 100644 --- a/docs/recipes/kubernetes/nohostnetworksharing.md +++ b/docs/recipes/kubernetes/nohostnetworksharing.md @@ -17,12 +17,16 @@ _When using the host network mode for a container, that container’s network st ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/nohostprocessidsharing.md b/docs/recipes/kubernetes/nohostprocessidsharing.md index 4ba11c21f0..e6099a5654 100644 --- a/docs/recipes/kubernetes/nohostprocessidsharing.md +++ b/docs/recipes/kubernetes/nohostprocessidsharing.md @@ -17,12 +17,16 @@ _Sharing the host process ID namespace breaks the isolation between container im ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/noprivilegedcontainers.md b/docs/recipes/kubernetes/noprivilegedcontainers.md index 06ca5da0a4..0875e840ee 100644 --- a/docs/recipes/kubernetes/noprivilegedcontainers.md +++ b/docs/recipes/kubernetes/noprivilegedcontainers.md @@ -17,12 +17,16 @@ _Privileged containers are containers that have all of the root capabilities of ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/noprivilegeescalation.md b/docs/recipes/kubernetes/noprivilegeescalation.md index ac69053eb2..c3a656b069 100644 --- a/docs/recipes/kubernetes/noprivilegeescalation.md +++ b/docs/recipes/kubernetes/noprivilegeescalation.md @@ -17,12 +17,16 @@ _Does not allow a process to gain more privileges than its parent process._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/norootcontainers.md b/docs/recipes/kubernetes/norootcontainers.md index ff279afd19..b1607d4686 100644 --- a/docs/recipes/kubernetes/norootcontainers.md +++ b/docs/recipes/kubernetes/norootcontainers.md @@ -17,12 +17,16 @@ _Containers that run as root frequently have more permissions than their workloa ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/rbac/addruletorole.md b/docs/recipes/kubernetes/rbac/addruletorole.md index 2918b514cb..1ce1a3d11b 100644 --- a/docs/recipes/kubernetes/rbac/addruletorole.md +++ b/docs/recipes/kubernetes/rbac/addruletorole.md @@ -13,7 +13,7 @@ _Add RBAC rules to ClusterRoles or namespaced Roles._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/rbac/AddRuleToRole.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -27,18 +27,24 @@ _Add RBAC rules to ClusterRoles or namespaced Roles._ | `Set` | verbs | The API verbs to enable with this rule. | `get,list` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddRuleToRoleExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddRuleToRoleExample displayName: Add RBAC rules example recipeList: - - org.openrewrite.kubernetes.rbac.AddRuleToRole: + - org.openrewrite.kubernetes.rbac.AddRuleToRole: rbacResourceType: ClusterRole rbacResourceName: my-cluster-role apiGroups: ,v1 @@ -48,10 +54,7 @@ recipeList: fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.AddRuleToRoleExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/readonlyrootfilesystem.md b/docs/recipes/kubernetes/readonlyrootfilesystem.md index 6867566c2e..63e6de2a50 100644 --- a/docs/recipes/kubernetes/readonlyrootfilesystem.md +++ b/docs/recipes/kubernetes/readonlyrootfilesystem.md @@ -17,12 +17,16 @@ _Using an immutable root filesystem and a verified boot mechanism prevents again ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/resource/capresourcevaluetomaximum.md b/docs/recipes/kubernetes/resource/capresourcevaluetomaximum.md index 842d632447..3bdf6dafe7 100644 --- a/docs/recipes/kubernetes/resource/capresourcevaluetomaximum.md +++ b/docs/recipes/kubernetes/resource/capresourcevaluetomaximum.md @@ -13,7 +13,7 @@ _Cap resource values that exceed a specific maximum._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/resource/CapResourceValueToMaximum.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -24,28 +24,31 @@ _Cap resource values that exceed a specific maximum._ | `String` | resourceLimit | The resource maximum to search for to find resources that request more than the maximum. | `2Gi` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CapResourceValueToMaximumExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.CapResourceValueToMaximumExample displayName: Cap exceeds resource value example recipeList: - - org.openrewrite.kubernetes.resource.CapResourceValueToMaximum: + - org.openrewrite.kubernetes.resource.CapResourceValueToMaximum: resourceValueType: limits resourceType: memory resourceLimit: 2Gi fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.CapResourceValueToMaximumExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/resource/findexceedsresourceratio.md b/docs/recipes/kubernetes/resource/findexceedsresourceratio.md index bef2418bad..9bfe040de8 100644 --- a/docs/recipes/kubernetes/resource/findexceedsresourceratio.md +++ b/docs/recipes/kubernetes/resource/findexceedsresourceratio.md @@ -13,7 +13,7 @@ _Find resource manifests that have requests to limits ratios beyond a specific m ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/resource/FindExceedsResourceRatio.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _Find resource manifests that have requests to limits ratios beyond a specific m | `String` | ratioLimit | The maximum ratio allowed between requests and limits. | `2` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindExceedsResourceRatioExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindExceedsResourceRatioExample displayName: Find exceeds resource ratio example recipeList: - - org.openrewrite.kubernetes.resource.FindExceedsResourceRatio: + - org.openrewrite.kubernetes.resource.FindExceedsResourceRatio: resourceType: memory ratioLimit: 2 fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.FindExceedsResourceRatioExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/resource/findexceedsresourcevalue.md b/docs/recipes/kubernetes/resource/findexceedsresourcevalue.md index 93627aa983..d054a395f6 100644 --- a/docs/recipes/kubernetes/resource/findexceedsresourcevalue.md +++ b/docs/recipes/kubernetes/resource/findexceedsresourcevalue.md @@ -13,7 +13,7 @@ _Find resource manifests that have limits set beyond a specific maximum._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/resource/FindExceedsResourceValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -24,28 +24,31 @@ _Find resource manifests that have limits set beyond a specific maximum._ | `String` | resourceLimit | The resource limit maximum to search for to find resources that request more than the maximum. | `2Gi` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindExceedsResourceValueExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindExceedsResourceValueExample displayName: Find exceeds resource limit example recipeList: - - org.openrewrite.kubernetes.resource.FindExceedsResourceValue: + - org.openrewrite.kubernetes.resource.FindExceedsResourceValue: resourceValueType: limits resourceType: memory resourceLimit: 2Gi fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.FindExceedsResourceValueExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/search/findannotation.md b/docs/recipes/kubernetes/search/findannotation.md index 44309865ea..3d0ad5ea73 100644 --- a/docs/recipes/kubernetes/search/findannotation.md +++ b/docs/recipes/kubernetes/search/findannotation.md @@ -13,7 +13,7 @@ _Find annotations that optionally match a given regex._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/search/FindAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _Find annotations that optionally match a given regex._ | `String` | value | *Optional*. An optional regex expression that will find values that match. | `value.*` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindAnnotationExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindAnnotationExample displayName: Find annotation example recipeList: - - org.openrewrite.kubernetes.search.FindAnnotation: + - org.openrewrite.kubernetes.search.FindAnnotation: annotationName: mycompany.io/annotation value: value.* fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.FindAnnotationExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/search/finddisallowedimagetags.md b/docs/recipes/kubernetes/search/finddisallowedimagetags.md index 42b4b659b6..4efefd2d35 100644 --- a/docs/recipes/kubernetes/search/finddisallowedimagetags.md +++ b/docs/recipes/kubernetes/search/finddisallowedimagetags.md @@ -13,7 +13,7 @@ _The set of image tags to find which are considered disallowed._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/search/FindDisallowedImageTags.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _The set of image tags to find which are considered disallowed._ | `boolean` | includeInitContainers | *Optional*. Boolean to indicate whether or not to treat initContainers/image identically to containers/image. | `false` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindDisallowedImageTagsExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindDisallowedImageTagsExample displayName: Find disallowed image tags example recipeList: - - org.openrewrite.kubernetes.search.FindDisallowedImageTags: + - org.openrewrite.kubernetes.search.FindDisallowedImageTags: disallowedTags: latest includeInitContainers: false fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.FindDisallowedImageTagsExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/search/findharcodedipaddresses.md b/docs/recipes/kubernetes/search/findharcodedipaddresses.md index e6fac6f8b8..d6791d585e 100644 --- a/docs/recipes/kubernetes/search/findharcodedipaddresses.md +++ b/docs/recipes/kubernetes/search/findharcodedipaddresses.md @@ -13,15 +13,16 @@ _Find hardcoded IP address anywhere in text-based files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/resources/META-INF/rewrite/find-hardcoded-ipaddress.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/search/findimage.md b/docs/recipes/kubernetes/search/findimage.md index 255b30a095..f0049393d6 100644 --- a/docs/recipes/kubernetes/search/findimage.md +++ b/docs/recipes/kubernetes/search/findimage.md @@ -13,7 +13,7 @@ _The image name to search for in containers and initContainers._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/search/FindImage.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -25,18 +25,24 @@ _The image name to search for in containers and initContainers._ | `boolean` | includeInitContainers | *Optional*. Boolean to indicate whether or not to treat initContainers/image identically to containers/image. | `false` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindImageExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindImageExample displayName: Find image by name example recipeList: - - org.openrewrite.kubernetes.search.FindImage: + - org.openrewrite.kubernetes.search.FindImage: repository: gcr.io imageName: nginx imageTag: v1.2.3 @@ -44,10 +50,7 @@ recipeList: fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.FindImageExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/search/findmissingdigest.md b/docs/recipes/kubernetes/search/findmissingdigest.md index a1d85f7b84..b837deda70 100644 --- a/docs/recipes/kubernetes/search/findmissingdigest.md +++ b/docs/recipes/kubernetes/search/findmissingdigest.md @@ -13,7 +13,7 @@ _Find instances of a container name that fails to specify a digest._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/search/FindMissingDigest.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,10 +22,14 @@ _Find instances of a container name that fails to specify a digest._ | `boolean` | includeInitContainers | *Optional*. Boolean to indicate whether or not to treat initContainers/image identically to containers/image. | `false` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/search/findmissingorinvalidannotation.md b/docs/recipes/kubernetes/search/findmissingorinvalidannotation.md index 7234489177..3dbae7b137 100644 --- a/docs/recipes/kubernetes/search/findmissingorinvalidannotation.md +++ b/docs/recipes/kubernetes/search/findmissingorinvalidannotation.md @@ -13,7 +13,7 @@ _Find annotations that optionally match a given value._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/search/FindMissingOrInvalidAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _Find annotations that optionally match a given value._ | `String` | value | *Optional*. An optional regex that will validate values that match. | `value.*` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMissingOrInvalidAnnotationExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindMissingOrInvalidAnnotationExample displayName: Find annotation example recipeList: - - org.openrewrite.kubernetes.search.FindMissingOrInvalidAnnotation: + - org.openrewrite.kubernetes.search.FindMissingOrInvalidAnnotation: annotationName: mycompany.io/annotation value: value.* fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.FindMissingOrInvalidAnnotationExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/search/findmissingorinvalidlabel.md b/docs/recipes/kubernetes/search/findmissingorinvalidlabel.md index 096b599cb9..fa7fb09fbd 100644 --- a/docs/recipes/kubernetes/search/findmissingorinvalidlabel.md +++ b/docs/recipes/kubernetes/search/findmissingorinvalidlabel.md @@ -13,7 +13,7 @@ _Find labels that optionally match a given regex._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/search/FindMissingOrInvalidLabel.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _Find labels that optionally match a given regex._ | `String` | value | *Optional*. An optional regex that will validate values that match. | `value(.*)` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMissingOrInvalidLabelExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindMissingOrInvalidLabelExample displayName: Find label example recipeList: - - org.openrewrite.kubernetes.search.FindMissingOrInvalidLabel: + - org.openrewrite.kubernetes.search.FindMissingOrInvalidLabel: labelName: mylabel value: value(.*) fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.FindMissingOrInvalidLabelExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/search/findnontlsingress.md b/docs/recipes/kubernetes/search/findnontlsingress.md index 82600f2a21..62884f6d0b 100644 --- a/docs/recipes/kubernetes/search/findnontlsingress.md +++ b/docs/recipes/kubernetes/search/findnontlsingress.md @@ -13,7 +13,7 @@ _Find Ingress resources that don't disallow HTTP or don't have TLS configured._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/search/FindNonTlsIngress.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,10 +21,14 @@ _Find Ingress resources that don't disallow HTTP or don't have TLS configured._ | -- | -- | -- | -- | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-kubernetes` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/kubernetes/search/findresourcemissingconfiguration.md b/docs/recipes/kubernetes/search/findresourcemissingconfiguration.md index d98083916a..474edb0067 100644 --- a/docs/recipes/kubernetes/search/findresourcemissingconfiguration.md +++ b/docs/recipes/kubernetes/search/findresourcemissingconfiguration.md @@ -13,7 +13,7 @@ _Find Kubernetes resources with missing configuration._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/search/FindResourceMissingConfiguration.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _Find Kubernetes resources with missing configuration._ | `String` | configurationPath | A JsonPath expression to locate Kubernetes configuration. | `$.spec.containers.livenessProbe` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindResourceMissingConfigurationExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindResourceMissingConfigurationExample displayName: Find missing configuration example recipeList: - - org.openrewrite.kubernetes.search.FindResourceMissingConfiguration: + - org.openrewrite.kubernetes.search.FindResourceMissingConfiguration: resourceKind: Pod configurationPath: $.spec.containers.livenessProbe fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.FindResourceMissingConfigurationExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/services/findserviceexternalips.md b/docs/recipes/kubernetes/services/findserviceexternalips.md index 7702c61f9b..87409a2890 100644 --- a/docs/recipes/kubernetes/services/findserviceexternalips.md +++ b/docs/recipes/kubernetes/services/findserviceexternalips.md @@ -13,7 +13,7 @@ _Find any `Service` whose `externalIP` list contains, or does not contain, one o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/services/FindServiceExternalIPs.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,26 +23,29 @@ _Find any `Service` whose `externalIP` list contains, or does not contain, one o | `boolean` | findMissing | *Optional*. Whether to treat this search as finding Services whose externalIPs do not contain any of the query IPs. | | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindServiceExternalIPsExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindServiceExternalIPsExample displayName: Find uses of `externalIP` example recipeList: - - org.openrewrite.kubernetes.services.FindServiceExternalIPs: + - org.openrewrite.kubernetes.services.FindServiceExternalIPs: externalIPs: 192.168.0.1 fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.FindServiceExternalIPsExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/services/findservicesbytype.md b/docs/recipes/kubernetes/services/findservicesbytype.md index 906827d1ff..5a4e6ef35d 100644 --- a/docs/recipes/kubernetes/services/findservicesbytype.md +++ b/docs/recipes/kubernetes/services/findservicesbytype.md @@ -13,7 +13,7 @@ _Type of Kubernetes `Service` to find._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/services/FindServicesByType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _Type of Kubernetes `Service` to find._ | `String` | serviceType | Type of Kubernetes Service to find. Valid options: `ClusterIP`, `NodePort`, `LoadBalancer`, `ExternalName` | `NodePort` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindServicesByTypeExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindServicesByTypeExample displayName: Service type example recipeList: - - org.openrewrite.kubernetes.services.FindServicesByType: + - org.openrewrite.kubernetes.services.FindServicesByType: serviceType: NodePort fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.FindServicesByTypeExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/services/updateserviceexternalip.md b/docs/recipes/kubernetes/services/updateserviceexternalip.md index 36d2052f2e..ed3ac3e262 100644 --- a/docs/recipes/kubernetes/services/updateserviceexternalip.md +++ b/docs/recipes/kubernetes/services/updateserviceexternalip.md @@ -13,7 +13,7 @@ _Swap out an IP address with another one in `Service` `externalIP` settings._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/services/UpdateServiceExternalIP.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _Swap out an IP address with another one in `Service` `externalIP` settings._ | `String` | ipToUpdate | An `externalIP` address to update to in the service's external IPs. | `10.10.0.1` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpdateServiceExternalIPExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpdateServiceExternalIPExample displayName: Update `Service` `externalIP` example recipeList: - - org.openrewrite.kubernetes.services.UpdateServiceExternalIP: + - org.openrewrite.kubernetes.services.UpdateServiceExternalIP: ipToFind: 192.168.0.1 ipToUpdate: 10.10.0.1 fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.UpdateServiceExternalIPExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/kubernetes/updatecontainerimagename.md b/docs/recipes/kubernetes/updatecontainerimagename.md index e990ca90a9..c7b4ddec50 100644 --- a/docs/recipes/kubernetes/updatecontainerimagename.md +++ b/docs/recipes/kubernetes/updatecontainerimagename.md @@ -13,7 +13,7 @@ _Search for image names that match patterns and replace the components of the na ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-kubernetes/blob/main/src/main/java/org/openrewrite/kubernetes/UpdateContainerImageName.java), [Issue Tracker](https://github.com/openrewrite/rewrite-kubernetes/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-kubernetes/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -30,18 +30,24 @@ _Search for image names that match patterns and replace the components of the na | `boolean` | includeInitContainers | *Optional*. Boolean to indicate whether or not to treat initContainers/image identically to containers/image. | `false` | | `String` | fileMatcher | *Optional*. Matching files will be modified. This is a glob expression. | `**/pod-*.yml` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpdateContainerImageNameExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpdateContainerImageNameExample displayName: Update image name example recipeList: - - org.openrewrite.kubernetes.UpdateContainerImageName: + - org.openrewrite.kubernetes.UpdateContainerImageName: repoToFind: gcr.io imageToFind: nginx tagToFind: v1.2.3 @@ -54,10 +60,7 @@ recipeList: fileMatcher: '**/pod-*.yml' ``` -Now that `com.yourorg.UpdateContainerImageNameExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-kubernetes:{{VERSION_REWRITE_KUBERNETES}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/maven/addannotationprocessor.md b/docs/recipes/maven/addannotationprocessor.md index 7fca316e6b..94f960bdd3 100644 --- a/docs/recipes/maven/addannotationprocessor.md +++ b/docs/recipes/maven/addannotationprocessor.md @@ -13,8 +13,9 @@ _Add an annotation processor to the maven compiler plugin. Will not do anything ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddAnnotationProcessor.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddAnnotationProcessor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Add an annotation processor to the maven compiler plugin. Will not do anything | `String` | artifactId | The second part of a coordinate 'org.projectlombok:lombok-mapstruct-binding:0.2.0' of the processor to add. | `lombok-mapstruct-binding` | | `String` | version | The third part of a coordinate 'org.projectlombok:lombok-mapstruct-binding:0.2.0' of the processor to add. Note that an exact version is expected | `0.2.0` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddAnnotationProcessorExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddAnnotationProcessorExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddAnnotationProcessorExample displayName: Add an annotation processor to `maven-compiler-plugin` example recipeList: - - org.openrewrite.maven.AddAnnotationProcessor: - groupId: org.projectlombok + - org.openrewrite.maven.AddAnnotationProcessor: groupId: org.projectlombok artifactId: lombok-mapstruct-binding version: 0.2.0 ``` diff --git a/docs/recipes/maven/addcommenttomavendependency.md b/docs/recipes/maven/addcommenttomavendependency.md index d2fb4f65e3..aa116f9b3a 100644 --- a/docs/recipes/maven/addcommenttomavendependency.md +++ b/docs/recipes/maven/addcommenttomavendependency.md @@ -13,8 +13,9 @@ _Adds a comment as the first element in a `Maven` dependency._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddCommentToMavenDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddCommentToMavenDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Adds a comment as the first element in a `Maven` dependency._ | `String` | artifactId | The second part of a dependency coordinate `com.google.guava:guava:VERSION`. | `guava` | | `String` | commentText | The text to add as a comment.. | `This is excluded due to CVE and will be removed when we upgrade the next version is available.` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddCommentToMavenDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddCommentToMavenDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddCommentToMavenDependencyExample displayName: Add a comment to a `Maven` dependency example recipeList: - - org.openrewrite.maven.AddCommentToMavenDependency: - xPath: /project/dependencies/dependency + - org.openrewrite.maven.AddCommentToMavenDependency: xPath: /project/dependencies/dependency groupId: com.google.guava artifactId: guava commentText: This is excluded due to CVE and will be removed when we upgrade the next version is available. diff --git a/docs/recipes/maven/adddependency.md b/docs/recipes/maven/adddependency.md index 026e371473..f7414cc333 100644 --- a/docs/recipes/maven/adddependency.md +++ b/docs/recipes/maven/adddependency.md @@ -13,8 +13,9 @@ _Add a Maven dependency to a `pom.xml` file in the correct scope based on where ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -32,10 +33,14 @@ _Add a Maven dependency to a `pom.xml` file in the correct scope based on where | `String` | familyPattern | *Optional*. A pattern, applied to groupIds, used to determine which other dependencies should have aligned version numbers. Accepts '*' as a wildcard character. | `com.fasterxml.jackson*` | | `Boolean` | acceptTransitive | *Optional*. Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency. | `true` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -43,8 +48,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddDependencyExample displayName: Add Maven dependency example recipeList: - - org.openrewrite.maven.AddDependency: - groupId: com.google.guava + - org.openrewrite.maven.AddDependency: groupId: com.google.guava artifactId: guava version: 29.X versionPattern: '-jre' diff --git a/docs/recipes/maven/adddevelocitymavenextension.md b/docs/recipes/maven/adddevelocitymavenextension.md index 4ae725e03d..0776f48aae 100644 --- a/docs/recipes/maven/adddevelocitymavenextension.md +++ b/docs/recipes/maven/adddevelocitymavenextension.md @@ -13,8 +13,9 @@ _To integrate the Develocity Maven extension into Maven projects, ensure that th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddDevelocityMavenExtension.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddDevelocityMavenExtension.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _To integrate the Develocity Maven extension into Maven projects, ensure that th | `Boolean` | uploadInBackground | *Optional*. When set to `false` the extension will not upload build scan in the background. By default, build scans are uploaded in the background after the build has finished to avoid blocking the build process. | `false` | | `PublishCriteria` | publishCriteria | *Optional*. When set to `Always` the extension will publish build scans of every single build. This is the default behavior when omitted.When set to `Failure` the extension will only publish build scans when the build fails. When set to `Demand` the extension will only publish build scans when explicitly requested. Valid options: `Always`, `Failure`, `Demand` | `Always` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddDevelocityMavenExtensionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddDevelocityMavenExtensionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddDevelocityMavenExtensionExample displayName: Add the Develocity Maven extension example recipeList: - - org.openrewrite.maven.AddDevelocityMavenExtension: - version: 1.17.4 + - org.openrewrite.maven.AddDevelocityMavenExtension: version: 1.17.4 server: https://scans.gradle.com/ allowUntrustedServer: true fileFingerprints: true diff --git a/docs/recipes/maven/addmanageddependency.md b/docs/recipes/maven/addmanageddependency.md index b88e052972..a47bb5405f 100644 --- a/docs/recipes/maven/addmanageddependency.md +++ b/docs/recipes/maven/addmanageddependency.md @@ -13,8 +13,9 @@ _Add a managed Maven dependency to a `pom.xml` file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddManagedDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddManagedDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -30,10 +31,14 @@ _Add a managed Maven dependency to a `pom.xml` file._ | `String` | onlyIfUsing | *Optional*. Only add managed dependencies to projects having a dependency matching the expression. | `org.apache.logging.log4j:log4j*` | | `Boolean` | addToRootPom | *Optional*. Add to the root pom where root is the eldest parent of the pom within the source set. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddManagedDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddManagedDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -41,8 +46,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddManagedDependencyExample displayName: Add managed Maven dependency example recipeList: - - org.openrewrite.maven.AddManagedDependency: - groupId: org.apache.logging.log4j + - org.openrewrite.maven.AddManagedDependency: groupId: org.apache.logging.log4j artifactId: log4j-bom version: latest.release scope: import diff --git a/docs/recipes/maven/addparentpom.md b/docs/recipes/maven/addparentpom.md index 1a24d3432a..ded595c2f7 100644 --- a/docs/recipes/maven/addparentpom.md +++ b/docs/recipes/maven/addparentpom.md @@ -13,8 +13,9 @@ _Add a parent pom to a Maven pom.xml. Does nothing if a parent pom is already pr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddParentPom.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddParentPom.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Add a parent pom to a Maven pom.xml. Does nothing if a parent pom is already pr | `String` | relativePath | New relative path attribute for parent lookup. | `../pom.xml` | | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddParentPomExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddParentPomExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddParentPomExample displayName: Add Maven parent example recipeList: - - org.openrewrite.maven.AddParentPom: - groupId: org.springframework.boot + - org.openrewrite.maven.AddParentPom: groupId: org.springframework.boot artifactId: spring-boot-starter-parent version: 29.X relativePath: ../pom.xml diff --git a/docs/recipes/maven/addplugin.md b/docs/recipes/maven/addplugin.md index a6f97cb1a4..c6c593b290 100644 --- a/docs/recipes/maven/addplugin.md +++ b/docs/recipes/maven/addplugin.md @@ -13,8 +13,9 @@ _Add the specified Maven plugin to the pom.xml._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -27,10 +28,14 @@ _Add the specified Maven plugin to the pom.xml._ | `String` | executions | *Optional*. Optional executions provided as raw XML. | `generate-sourcesadd-source` | | `String` | filePattern | *Optional*. A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon `;`. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, all source files are searched. | `**/*-parent/grpc-*/pom.xml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPluginExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPluginExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -38,8 +43,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddPluginExample displayName: Add Maven plugin example recipeList: - - org.openrewrite.maven.AddPlugin: - groupId: org.openrewrite.maven + - org.openrewrite.maven.AddPlugin: groupId: org.openrewrite.maven artifactId: rewrite-maven-plugin version: 1.0.0 configuration: foo diff --git a/docs/recipes/maven/addplugindependency.md b/docs/recipes/maven/addplugindependency.md index 676487517c..f78b499a37 100644 --- a/docs/recipes/maven/addplugindependency.md +++ b/docs/recipes/maven/addplugindependency.md @@ -13,8 +13,9 @@ _Adds the specified dependencies to a Maven plugin. Will not add the plugin if i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddPluginDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddPluginDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Adds the specified dependencies to a Maven plugin. Will not add the plugin if i | `String` | artifactId | The artifact ID of the dependency to add. | `org.openrewrite.recipe` | | `String` | version | The version of the dependency to add. | `org.openrewrite.recipe` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPluginDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPluginDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddPluginDependencyExample displayName: Add Maven plugin dependencies example recipeList: - - org.openrewrite.maven.AddPluginDependency: - pluginGroupId: org.openrewrite.maven + - org.openrewrite.maven.AddPluginDependency: pluginGroupId: org.openrewrite.maven pluginArtifactId: rewrite-maven-plugin groupId: org.openrewrite.recipe artifactId: org.openrewrite.recipe diff --git a/docs/recipes/maven/addprofile.md b/docs/recipes/maven/addprofile.md index 70c87ae337..7c231ff279 100644 --- a/docs/recipes/maven/addprofile.md +++ b/docs/recipes/maven/addprofile.md @@ -13,8 +13,9 @@ _Add a maven profile to a `pom.xml` file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddProfile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddProfile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Add a maven profile to a `pom.xml` file._ | `String` | properties | *Optional*. properties of a maven profile, provided as raw XML. | `foobar` | | `String` | build | *Optional*. build details of a maven profile, provided as raw XML. | `foo` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddProfileExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddProfileExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddProfileExample displayName: Add Maven profile example recipeList: - - org.openrewrite.maven.AddProfile: - id: default + - org.openrewrite.maven.AddProfile: id: default activation: foo properties: foobar build: foo diff --git a/docs/recipes/maven/addproperty.md b/docs/recipes/maven/addproperty.md index ed744fe5d1..c29a9c02a7 100644 --- a/docs/recipes/maven/addproperty.md +++ b/docs/recipes/maven/addproperty.md @@ -13,8 +13,9 @@ _Add a new property to the Maven project property. Prefers to add the property t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Add a new property to the Maven project property. Prefers to add the property t | `Boolean` | preserveExistingValue | *Optional*. Preserve previous value if the property already exists in the pom file. | | | `Boolean` | trustParent | *Optional*. If the parent defines a property with the same key, trust it even if the value isn't the same. Useful when you want to wait for the parent to have its value changed first. The parent is not trusted by default. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddPropertyExample displayName: Add Maven project property example recipeList: - - org.openrewrite.maven.AddProperty: - key: junit.version + - org.openrewrite.maven.AddProperty: key: junit.version value: 4.13 ``` diff --git a/docs/recipes/maven/addrepository.md b/docs/recipes/maven/addrepository.md index 4a9f542077..724f692669 100644 --- a/docs/recipes/maven/addrepository.md +++ b/docs/recipes/maven/addrepository.md @@ -13,8 +13,9 @@ _Adds a new Maven Repository or updates a matching repository._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddRepository.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddRepository.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -31,10 +32,14 @@ _Adds a new Maven Repository or updates a matching repository._ | `String` | releasesUpdatePolicy | *Optional*. The policy governing release updating interval. | `never` | | `Type` | type | *Optional*. The type of repository to add. | `Repository` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddRepositoryExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddRepositoryExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -42,8 +47,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddRepositoryExample displayName: Add repository example recipeList: - - org.openrewrite.maven.AddRepository: - id: repo-id + - org.openrewrite.maven.AddRepository: id: repo-id url: http://myrepo.maven.com/repo repoName: My Great Repo Name layout: default diff --git a/docs/recipes/maven/addruntimeconfig.md b/docs/recipes/maven/addruntimeconfig.md index c4489488c2..35b8d6bf6e 100644 --- a/docs/recipes/maven/addruntimeconfig.md +++ b/docs/recipes/maven/addruntimeconfig.md @@ -13,8 +13,9 @@ _Add a new configuration option for the Maven runtime if not already present._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddRuntimeConfig.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/AddRuntimeConfig.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Add a new configuration option for the Maven runtime if not already present._ | `String` | argument | *Optional*. The argument to set for the runtime flag. Some flags do not need to provide a value. | `3` | | `Separator` | separator | The separator to use if flag and argument have been provided. Valid options: "", " ", `=` | `=` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddRuntimeConfigExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddRuntimeConfigExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddRuntimeConfigExample displayName: Add a configuration option for the Maven runtime example recipeList: - - org.openrewrite.maven.AddRuntimeConfig: - relativeConfigFileName: maven.config + - org.openrewrite.maven.AddRuntimeConfig: relativeConfigFileName: maven.config flag: '-T' argument: 3 separator: = diff --git a/docs/recipes/maven/bestpractices.md b/docs/recipes/maven/bestpractices.md index 4efdeefd8a..c749e1da8f 100644 --- a/docs/recipes/maven/bestpractices.md +++ b/docs/recipes/maven/bestpractices.md @@ -13,11 +13,16 @@ _Applies best practices to Maven POMs._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/resources/META-INF/rewrite/maven.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/resources/META-INF/rewrite/maven.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition diff --git a/docs/recipes/maven/changedependencyclassifier.md b/docs/recipes/maven/changedependencyclassifier.md index 4f8cd862df..8d6fd41c17 100644 --- a/docs/recipes/maven/changedependencyclassifier.md +++ b/docs/recipes/maven/changedependencyclassifier.md @@ -13,8 +13,9 @@ _Add or alter the classifier of the specified dependency._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyClassifier.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyClassifier.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Add or alter the classifier of the specified dependency._ | `String` | newClassifier | *Optional*. Classifier to apply to specified Maven dependency. May be omitted, which indicates that no classifier should be added and any existing scope be removed from the dependency. | `jar` | | `Boolean` | changeManagedDependency | *Optional*. This flag can be set to explicitly change the classifier in Maven management dependency section. Default `false`. | `true` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyClassifierExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyClassifierExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependencyClassifierExample displayName: Change Maven dependency classifier example recipeList: - - org.openrewrite.maven.ChangeDependencyClassifier: - groupId: com.google.guava + - org.openrewrite.maven.ChangeDependencyClassifier: groupId: com.google.guava artifactId: guava newClassifier: jar changeManagedDependency: true diff --git a/docs/recipes/maven/changedependencygroupidandartifactid.md b/docs/recipes/maven/changedependencygroupidandartifactid.md index 5741d25734..f3ceaa8175 100644 --- a/docs/recipes/maven/changedependencygroupidandartifactid.md +++ b/docs/recipes/maven/changedependencygroupidandartifactid.md @@ -16,8 +16,9 @@ Change a Maven dependency coordinates. The `newGroupId` or `newArtifactId` **MUS ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyGroupIdAndArtifactId.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyGroupIdAndArtifactId.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -31,10 +32,14 @@ Change a Maven dependency coordinates. The `newGroupId` or `newArtifactId` **MUS | `Boolean` | overrideManagedVersion | *Optional*. If the new dependency has a managed version, this flag can be used to explicitly set the version on the dependency. The default for this flag is `false`. | | | `Boolean` | changeManagedDependency | *Optional*. Also update the dependency management section. The default for this flag is `true`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyGroupIdAndArtifactIdExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyGroupIdAndArtifactIdExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -42,8 +47,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependencyGroupIdAndArtifactIdExample displayName: Change Maven dependency example recipeList: - - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: - oldGroupId: org.openrewrite.recipe + - org.openrewrite.maven.ChangeDependencyGroupIdAndArtifactId: oldGroupId: org.openrewrite.recipe oldArtifactId: rewrite-testing-frameworks newGroupId: corp.internal.openrewrite.recipe newArtifactId: rewrite-testing-frameworks diff --git a/docs/recipes/maven/changedependencyscope.md b/docs/recipes/maven/changedependencyscope.md index 6120733763..3092963565 100644 --- a/docs/recipes/maven/changedependencyscope.md +++ b/docs/recipes/maven/changedependencyscope.md @@ -13,8 +13,9 @@ _Add or alter the scope of the specified dependency._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyScope.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeDependencyScope.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Add or alter the scope of the specified dependency._ | `String` | artifactId | The second part of a dependency coordinate `com.google.guava:guava:VERSION`. | `guava` | | `String` | newScope | *Optional*. Scope to apply to specified Maven dependency. May be omitted, which indicates that no scope should be added and any existing scope be removed from the dependency. Valid options: `compile`, `test`, `runtime`, `provided` | `compile` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyScopeExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeDependencyScopeExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeDependencyScopeExample displayName: Change Maven dependency scope example recipeList: - - org.openrewrite.maven.ChangeDependencyScope: - groupId: com.google.guava + - org.openrewrite.maven.ChangeDependencyScope: groupId: com.google.guava artifactId: guava newScope: compile ``` diff --git a/docs/recipes/maven/changemanageddependencygroupidandartifactid.md b/docs/recipes/maven/changemanageddependencygroupidandartifactid.md index 38e0c39e3d..c2e34f009b 100644 --- a/docs/recipes/maven/changemanageddependencygroupidandartifactid.md +++ b/docs/recipes/maven/changemanageddependencygroupidandartifactid.md @@ -13,8 +13,9 @@ _Change the groupId, artifactId and optionally the version of a specified Maven ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeManagedDependencyGroupIdAndArtifactId.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeManagedDependencyGroupIdAndArtifactId.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Change the groupId, artifactId and optionally the version of a specified Maven | `String` | newVersion | *Optional*. The new version to use. | `2.0.0` | | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeManagedDependencyGroupIdAndArtifactIdExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeManagedDependencyGroupIdAndArtifactIdExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeManagedDependencyGroupIdAndArtifactIdExample displayName: Change Maven managed dependency groupId, artifactId and optionally the version example recipeList: - - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: - oldGroupId: org.openrewrite.recipe + - org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId: oldGroupId: org.openrewrite.recipe oldArtifactId: rewrite-testing-frameworks newGroupId: corp.internal.openrewrite.recipe newArtifactId: rewrite-testing-frameworks diff --git a/docs/recipes/maven/changepackaging.md b/docs/recipes/maven/changepackaging.md index fdce2c1ccf..2a166df34d 100644 --- a/docs/recipes/maven/changepackaging.md +++ b/docs/recipes/maven/changepackaging.md @@ -13,8 +13,9 @@ _Sets the packaging type of Maven projects. Either adds the packaging tag if it ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePackaging.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePackaging.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Sets the packaging type of Maven projects. Either adds the packaging tag if it | `String` | packaging | The type of packaging to set. If `null` specified the packaging tag will be removed | `jar` | | `String` | oldPackaging | *Optional*. The old packaging type. If provided, will only change if the current packaging matches | `jar` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePackagingExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePackagingExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePackagingExample displayName: Set Maven project packaging example recipeList: - - org.openrewrite.maven.ChangePackaging: - groupId: org.openrewrite.* + - org.openrewrite.maven.ChangePackaging: groupId: org.openrewrite.* artifactId: rewrite-* packaging: jar oldPackaging: jar diff --git a/docs/recipes/maven/changeparentpom.md b/docs/recipes/maven/changeparentpom.md index 2a40a0280f..75592c5493 100644 --- a/docs/recipes/maven/changeparentpom.md +++ b/docs/recipes/maven/changeparentpom.md @@ -13,8 +13,9 @@ _Change the parent pom of a Maven pom.xml. Identifies the parent pom to be chang ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeParentPom.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeParentPom.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -29,10 +30,14 @@ _Change the parent pom of a Maven pom.xml. Identifies the parent pom to be chang | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | | `Boolean` | allowVersionDowngrades | *Optional*. If the new parent has the same group/artifact, this flag can be used to only upgrade the version if the target version is newer than the current. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeParentPomExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeParentPomExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -40,8 +45,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeParentPomExample displayName: Change Maven parent example recipeList: - - org.openrewrite.maven.ChangeParentPom: - oldGroupId: org.springframework.boot + - org.openrewrite.maven.ChangeParentPom: oldGroupId: org.springframework.boot newGroupId: org.springframework.boot oldArtifactId: spring-boot-starter-parent newArtifactId: spring-boot-starter-parent diff --git a/docs/recipes/maven/changepluginconfiguration.md b/docs/recipes/maven/changepluginconfiguration.md index c0a95cc5c9..c1fce3fde9 100644 --- a/docs/recipes/maven/changepluginconfiguration.md +++ b/docs/recipes/maven/changepluginconfiguration.md @@ -13,8 +13,9 @@ _Apply the specified configuration to a Maven plugin. Will not add the plugin if ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePluginConfiguration.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePluginConfiguration.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Apply the specified configuration to a Maven plugin. Will not add the plugin if | `String` | artifactId | The second part of a coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION' of the plugin to modify. | `rewrite-maven-plugin` | | `String` | configuration | *Optional*. Plugin configuration provided as raw XML overriding any existing configuration. Configuration inside `` blocks will not be altered. Supplying `null` will remove any existing configuration. | `bar` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginConfigurationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginConfigurationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePluginConfigurationExample displayName: Change Maven plugin configuration example recipeList: - - org.openrewrite.maven.ChangePluginConfiguration: - groupId: org.openrewrite.maven + - org.openrewrite.maven.ChangePluginConfiguration: groupId: org.openrewrite.maven artifactId: rewrite-maven-plugin configuration: bar ``` diff --git a/docs/recipes/maven/changeplugindependencies.md b/docs/recipes/maven/changeplugindependencies.md index 454aeb3de0..810b6bc737 100644 --- a/docs/recipes/maven/changeplugindependencies.md +++ b/docs/recipes/maven/changeplugindependencies.md @@ -13,8 +13,9 @@ _Applies the specified dependencies to a Maven plugin. Will not add the plugin i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePluginDependencies.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePluginDependencies.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Applies the specified dependencies to a Maven plugin. Will not add the plugin i | `String` | artifactId | The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. | `rewrite-maven-plugin` | | `String` | dependencies | *Optional*. Plugin dependencies provided as dependency coordinates of format "groupId:artifactId:version". When supplying multiple coordinates separate them with ",". Supplying `null` will remove any existing plugin dependencies. | `org.openrewrite.recipe:rewrite-spring:1.0.0, org.openrewrite.recipe:rewrite-testing-frameworks:1.0.0` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginDependenciesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginDependenciesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePluginDependenciesExample displayName: Change Maven plugin dependencies example recipeList: - - org.openrewrite.maven.ChangePluginDependencies: - groupId: org.openrewrite.maven + - org.openrewrite.maven.ChangePluginDependencies: groupId: org.openrewrite.maven artifactId: rewrite-maven-plugin dependencies: org.openrewrite.recipe:rewrite-spring:1.0.0, org.openrewrite.recipe:rewrite-testing-frameworks:1.0.0 ``` diff --git a/docs/recipes/maven/changepluginexecutions.md b/docs/recipes/maven/changepluginexecutions.md index b73e260c5b..6637013d7f 100644 --- a/docs/recipes/maven/changepluginexecutions.md +++ b/docs/recipes/maven/changepluginexecutions.md @@ -13,8 +13,9 @@ _Apply the specified executions to a Maven plugin. Will not add the plugin if it ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePluginExecutions.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePluginExecutions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Apply the specified executions to a Maven plugin. Will not add the plugin if it | `String` | artifactId | The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. | `rewrite-maven-plugin` | | `String` | executions | *Optional*. Plugin goal executions provided as raw XML. Supplying `null` will remove any existing executions. | `validatedryRun` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginExecutionsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginExecutionsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePluginExecutionsExample displayName: Change Maven plugin executions example recipeList: - - org.openrewrite.maven.ChangePluginExecutions: - groupId: org.openrewrite.maven + - org.openrewrite.maven.ChangePluginExecutions: groupId: org.openrewrite.maven artifactId: rewrite-maven-plugin executions: validatedryRun ``` diff --git a/docs/recipes/maven/changeplugingroupidandartifactid.md b/docs/recipes/maven/changeplugingroupidandartifactid.md index fc1db65173..b3a74579f8 100644 --- a/docs/recipes/maven/changeplugingroupidandartifactid.md +++ b/docs/recipes/maven/changeplugingroupidandartifactid.md @@ -13,8 +13,9 @@ _Change the groupId and/or the artifactId of a specified Maven plugin._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePluginGroupIdAndArtifactId.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePluginGroupIdAndArtifactId.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Change the groupId and/or the artifactId of a specified Maven plugin._ | `String` | newArtifactId | *Optional*. The new artifact ID to use. Defaults to the existing artifact ID. | `my-new-maven-plugin` | | `String` | newArtifact | *Optional*. The new artifact ID to use. Defaults to the existing artifact ID. This property is deprecated, use newArtifactId instead. | `my-new-maven-plugin` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginGroupIdAndArtifactIdExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePluginGroupIdAndArtifactIdExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePluginGroupIdAndArtifactIdExample displayName: Change Maven plugin group and artifact ID example recipeList: - - org.openrewrite.maven.ChangePluginGroupIdAndArtifactId: - oldGroupId: org.openrewrite.recipe + - org.openrewrite.maven.ChangePluginGroupIdAndArtifactId: oldGroupId: org.openrewrite.recipe oldArtifactId: my-deprecated-maven-plugin newGroupId: corp.internal.openrewrite.recipe newArtifactId: my-new-maven-plugin diff --git a/docs/recipes/maven/changeprojectversion.md b/docs/recipes/maven/changeprojectversion.md index d5739b3b45..70f1cc83e0 100644 --- a/docs/recipes/maven/changeprojectversion.md +++ b/docs/recipes/maven/changeprojectversion.md @@ -13,8 +13,9 @@ _Change the project version of a Maven pom.xml. Identifies the project to be cha ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeProjectVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangeProjectVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Change the project version of a Maven pom.xml. Identifies the project to be cha | `String` | newVersion | The new version to replace the maven project version. | `8.4.2` | | `Boolean` | overrideParentVersion | *Optional*. This flag can be set to explicitly override the inherited parent version. Default `false`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeProjectVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeProjectVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeProjectVersionExample displayName: Change Maven Project Version example recipeList: - - org.openrewrite.maven.ChangeProjectVersion: - groupId: org.openrewrite + - org.openrewrite.maven.ChangeProjectVersion: groupId: org.openrewrite artifactId: '*' newVersion: 8.4.2 ``` diff --git a/docs/recipes/maven/changepropertyvalue.md b/docs/recipes/maven/changepropertyvalue.md index 0a2c8f8744..82349a02cd 100644 --- a/docs/recipes/maven/changepropertyvalue.md +++ b/docs/recipes/maven/changepropertyvalue.md @@ -13,8 +13,9 @@ _Changes the specified Maven project property value leaving the key intact._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePropertyValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ChangePropertyValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Changes the specified Maven project property value leaving the key intact._ | `Boolean` | addIfMissing | *Optional*. Add the property if it is missing from the pom file. | | | `Boolean` | trustParent | *Optional*. Even if the parent defines a property with the same key, trust it even if the value isn't the same. Useful when you want to wait for the parent to have its value changed first. The parent is not trusted by default. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePropertyValueExample displayName: Change Maven project property value example recipeList: - - org.openrewrite.maven.ChangePropertyValue: - key: junit.version + - org.openrewrite.maven.ChangePropertyValue: key: junit.version newValue: 4.13 ``` diff --git a/docs/recipes/maven/cleanup/dependencymanagementdependencyrequiresversion.md b/docs/recipes/maven/cleanup/dependencymanagementdependencyrequiresversion.md index ccf804a8fd..3499fc636d 100644 --- a/docs/recipes/maven/cleanup/dependencymanagementdependencyrequiresversion.md +++ b/docs/recipes/maven/cleanup/dependencymanagementdependencyrequiresversion.md @@ -13,7 +13,12 @@ _If they don't have a version, they can't possibly affect dependency resolution ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/cleanup/DependencyManagementDependencyRequiresVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/cleanup/DependencyManagementDependencyRequiresVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/maven/cleanup/explicitplugingroupid.md b/docs/recipes/maven/cleanup/explicitplugingroupid.md index 135e269014..9cec9d518b 100644 --- a/docs/recipes/maven/cleanup/explicitplugingroupid.md +++ b/docs/recipes/maven/cleanup/explicitplugingroupid.md @@ -16,7 +16,12 @@ Add the default `org.apache.maven.plugins` to plugins for cla ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/cleanup/ExplicitPluginGroupId.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/cleanup/ExplicitPluginGroupId.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/maven/cleanup/explicitpluginversion.md b/docs/recipes/maven/cleanup/explicitpluginversion.md index 1cd3a91928..0a37c6ab13 100644 --- a/docs/recipes/maven/cleanup/explicitpluginversion.md +++ b/docs/recipes/maven/cleanup/explicitpluginversion.md @@ -13,7 +13,12 @@ _Add explicit plugin versions to POMs for reproducibility, as [MNG-4173](https:/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/cleanup/ExplicitPluginVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/cleanup/ExplicitPluginVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/maven/cleanup/prefixlessexpressions.md b/docs/recipes/maven/cleanup/prefixlessexpressions.md index 566579de15..7755268993 100644 --- a/docs/recipes/maven/cleanup/prefixlessexpressions.md +++ b/docs/recipes/maven/cleanup/prefixlessexpressions.md @@ -13,11 +13,16 @@ _MNG-7404 drops support for prefixless in POMs. This recipe will add the `projec ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/resources/META-INF/rewrite/maven.yml), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/resources/META-INF/rewrite/maven.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition diff --git a/docs/recipes/maven/excludedependency.md b/docs/recipes/maven/excludedependency.md index 0ddb22c081..ee4a8c77a3 100644 --- a/docs/recipes/maven/excludedependency.md +++ b/docs/recipes/maven/excludedependency.md @@ -13,8 +13,9 @@ _Exclude specified dependency from any dependency that transitively includes it. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ExcludeDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ExcludeDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Exclude specified dependency from any dependency that transitively includes it. | `String` | artifactId | The second part of a dependency coordinate `com.google.guava:guava:VERSION`. | `guava` | | `String` | scope | *Optional*. Match dependencies with the specified scope. If you specify `compile`, this will NOT match dependencies in `runtime`. The purpose of this is to be able to exclude dependencies that should be in a higher scope, e.g. a compile dependency that should be a test dependency. Valid options: `compile`, `test`, `runtime`, `provided` | `compile` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ExcludeDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ExcludeDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ExcludeDependencyExample displayName: Exclude Maven dependency example recipeList: - - org.openrewrite.maven.ExcludeDependency: - groupId: com.google.guava + - org.openrewrite.maven.ExcludeDependency: groupId: com.google.guava artifactId: guava scope: compile ``` diff --git a/docs/recipes/maven/incrementprojectversion.md b/docs/recipes/maven/incrementprojectversion.md index a47180551c..4e7374e4ff 100644 --- a/docs/recipes/maven/incrementprojectversion.md +++ b/docs/recipes/maven/incrementprojectversion.md @@ -13,8 +13,9 @@ _Increase Maven project version by incrementing either the major, minor, or patc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/IncrementProjectVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/IncrementProjectVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Increase Maven project version by incrementing either the major, minor, or patc | `String` | artifactId | The artifact ID of the Maven project to change its version. This can be a glob expression. | `*` | | `SemverDigit` | digit | `MAJOR` increments the first digit, `MINOR` increments the second digit, and `PATCH` increments the third digit. | `PATCH` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.IncrementProjectVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.IncrementProjectVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.IncrementProjectVersionExample displayName: Increment Maven project version example recipeList: - - org.openrewrite.maven.IncrementProjectVersion: - groupId: org.openrewrite + - org.openrewrite.maven.IncrementProjectVersion: groupId: org.openrewrite artifactId: '*' digit: PATCH ``` diff --git a/docs/recipes/maven/liberty/addopenlibertyplugin.md b/docs/recipes/maven/liberty/addopenlibertyplugin.md index 0a3e69bb3a..00248cfce4 100644 --- a/docs/recipes/maven/liberty/addopenlibertyplugin.md +++ b/docs/recipes/maven/liberty/addopenlibertyplugin.md @@ -13,7 +13,12 @@ _This recipe adds the Liberty Maven plugin, which provides several goals for man ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/maven/managedependencies.md b/docs/recipes/maven/managedependencies.md index 5f67d35d10..5ce6f26eb4 100644 --- a/docs/recipes/maven/managedependencies.md +++ b/docs/recipes/maven/managedependencies.md @@ -13,8 +13,9 @@ _Make existing dependencies managed by moving their version to be specified in t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ManageDependencies.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ManageDependencies.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Make existing dependencies managed by moving their version to be specified in t | `Boolean` | addToRootPom | *Optional*. Add to the root POM where root is the eldest parent of the pom within the source set. | | | `Boolean` | skipModelUpdate | *Optional*. Optionally skip updating the dependency model after managing dependencies. Updating the model does not affect the source code of the POM,but will cause the resolved dependency model to reflect the changes made to the POM. If this recipe is ran standalone, it is not necessary to update the model. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ManageDependenciesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ManageDependenciesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ManageDependenciesExample displayName: Manage dependencies example recipeList: - - org.openrewrite.maven.ManageDependencies: - groupPattern: com.google.* + - org.openrewrite.maven.ManageDependencies: groupPattern: com.google.* artifactPattern: guava* ``` diff --git a/docs/recipes/maven/modernizeobsoletepoms.md b/docs/recipes/maven/modernizeobsoletepoms.md index 9be1588443..1b562fe1be 100644 --- a/docs/recipes/maven/modernizeobsoletepoms.md +++ b/docs/recipes/maven/modernizeobsoletepoms.md @@ -16,7 +16,12 @@ Very old Maven poms are no longer supported by current versions of Maven. This r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ModernizeObsoletePoms.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/ModernizeObsoletePoms.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/maven/orderpomelements.md b/docs/recipes/maven/orderpomelements.md index 0b402f0d36..84011d3fd4 100644 --- a/docs/recipes/maven/orderpomelements.md +++ b/docs/recipes/maven/orderpomelements.md @@ -17,7 +17,12 @@ _Order POM elements according to the [recommended](http://maven.apache.org/devel ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/OrderPomElements.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/OrderPomElements.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/maven/removedependency.md b/docs/recipes/maven/removedependency.md index 77e4516942..41ede8c7ec 100644 --- a/docs/recipes/maven/removedependency.md +++ b/docs/recipes/maven/removedependency.md @@ -16,8 +16,9 @@ Removes a single dependency from the section of the pom.xml. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemoveDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemoveDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ Removes a single dependency from the section of the pom.xml. | `String` | artifactId | The second part of a dependency coordinate `com.google.guava:guava:VERSION`. | `guava` | | `String` | scope | *Optional*. Only remove dependencies if they are in this scope. If 'runtime', this willalso remove dependencies in the 'compile' scope because 'compile' dependencies are part of the runtime dependency set Valid options: `compile`, `test`, `runtime`, `provided` | `compile` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveDependencyExample displayName: Remove Maven dependency example recipeList: - - org.openrewrite.maven.RemoveDependency: - groupId: com.google.guava + - org.openrewrite.maven.RemoveDependency: groupId: com.google.guava artifactId: guava scope: compile ``` diff --git a/docs/recipes/maven/removeduplicatedependencies.md b/docs/recipes/maven/removeduplicatedependencies.md index 6bbf7bea83..d9dc1e79a2 100644 --- a/docs/recipes/maven/removeduplicatedependencies.md +++ b/docs/recipes/maven/removeduplicatedependencies.md @@ -16,7 +16,12 @@ Removes duplicated dependencies in the `` and ` section of a plugin in the pom.xml. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemovePluginDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemovePluginDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -27,10 +28,14 @@ Removes a dependency from the section of a plugin in the pom.xml. | `String` | groupId | The first part of a plugin dependency coordinate. Supports glob. | `com.google.guava` | | `String` | artifactId | The second part of a plugin dependency coordinate. Supports glob. | `guava` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemovePluginDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemovePluginDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -38,8 +43,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemovePluginDependencyExample displayName: Remove Maven plugin dependency example recipeList: - - org.openrewrite.maven.RemovePluginDependency: - pluginGroupId: org.openrewrite.maven + - org.openrewrite.maven.RemovePluginDependency: pluginGroupId: org.openrewrite.maven pluginArtifactId: rewrite-maven-plugin groupId: com.google.guava artifactId: guava diff --git a/docs/recipes/maven/removeproperty.md b/docs/recipes/maven/removeproperty.md index ceb05dce6b..52cd5ac593 100644 --- a/docs/recipes/maven/removeproperty.md +++ b/docs/recipes/maven/removeproperty.md @@ -13,18 +13,23 @@ _Removes the specified Maven project property from the pom.xml._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemoveProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemoveProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | propertyName | Key name of the property to remove. | `junit.version` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemovePropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemovePropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemovePropertyExample displayName: Remove Maven project property example recipeList: - - org.openrewrite.maven.RemoveProperty: - propertyName: junit.version + - org.openrewrite.maven.RemoveProperty: propertyName: junit.version ``` Now that `com.yourorg.RemovePropertyExample` has been defined, activate it in your build file: diff --git a/docs/recipes/maven/removeredundantdependencyversions.md b/docs/recipes/maven/removeredundantdependencyversions.md index 0e13f69dac..292b33987c 100644 --- a/docs/recipes/maven/removeredundantdependencyversions.md +++ b/docs/recipes/maven/removeredundantdependencyversions.md @@ -13,8 +13,9 @@ _Remove explicitly-specified dependency/plugin versions when a parent POM's `dep ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemoveRedundantDependencyVersions.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemoveRedundantDependencyVersions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -25,6 +26,10 @@ _Remove explicitly-specified dependency/plugin versions when a parent POM's `dep | `Comparator` | onlyIfManagedVersionIs | *Optional*. Only remove the explicit version if the managed version has the specified comparative relationship to the explicit version. For example, `gte` will only remove the explicit version if the managed version is the same or newer. Default `eq`. Valid options: `ANY`, `EQ`, `LT`, `LTE`, `GT`, `GTE` | | | `List` | except | *Optional*. Accepts a list of GAVs. Dependencies matching a GAV will be ignored by this recipe. GAV versions are ignored if provided. | `com.jcraft:jsch` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/maven/removerepository.md b/docs/recipes/maven/removerepository.md index ca770e232e..60aca9bd8c 100644 --- a/docs/recipes/maven/removerepository.md +++ b/docs/recipes/maven/removerepository.md @@ -13,8 +13,9 @@ _Removes a matching Maven repository._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemoveRepository.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemoveRepository.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Removes a matching Maven repository._ | `String` | id | *Optional*. A unique repository ID. | `repo-id` | | `String` | url | The URL of the repository. | `http://myrepo.maven.com/repo` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveRepositoryExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveRepositoryExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveRepositoryExample displayName: Remove repository example recipeList: - - org.openrewrite.maven.RemoveRepository: - id: repo-id + - org.openrewrite.maven.RemoveRepository: id: repo-id url: http://myrepo.maven.com/repo ``` diff --git a/docs/recipes/maven/removeunusedproperties.md b/docs/recipes/maven/removeunusedproperties.md index 9dbfd44f45..585d53a14d 100644 --- a/docs/recipes/maven/removeunusedproperties.md +++ b/docs/recipes/maven/removeunusedproperties.md @@ -13,14 +13,19 @@ _Detect and remove Maven property declarations which do not have any usage withi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemoveUnusedProperties.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RemoveUnusedProperties.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | propertyPattern | *Optional*. A pattern to filter properties to remove. Defaults to `.+?` to match anything | `.+\.version` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/maven/renamepropertykey.md b/docs/recipes/maven/renamepropertykey.md index 9dd2467fdf..6618b3a6cd 100644 --- a/docs/recipes/maven/renamepropertykey.md +++ b/docs/recipes/maven/renamepropertykey.md @@ -13,8 +13,9 @@ _Rename the specified Maven project property key leaving the value unchanged._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RenamePropertyKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/RenamePropertyKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Rename the specified Maven project property key leaving the value unchanged._ | `String` | oldKey | The old name of the property key to be replaced. | `junit.version` | | `String` | newKey | The new property name to use. | `version.org.junit` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RenamePropertyKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RenamePropertyKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RenamePropertyKeyExample displayName: Rename Maven property key example recipeList: - - org.openrewrite.maven.RenamePropertyKey: - oldKey: junit.version + - org.openrewrite.maven.RenamePropertyKey: oldKey: junit.version newKey: version.org.junit ``` diff --git a/docs/recipes/maven/search/dependencyinsight.md b/docs/recipes/maven/search/dependencyinsight.md index 5e699d00ed..1cddd291dc 100644 --- a/docs/recipes/maven/search/dependencyinsight.md +++ b/docs/recipes/maven/search/dependencyinsight.md @@ -13,8 +13,9 @@ _Find direct and transitive dependencies matching a group, artifact, and scope. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/DependencyInsight.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/DependencyInsight.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Find direct and transitive dependencies matching a group, artifact, and scope. | `String` | version | *Optional*. Match only dependencies with the specified version. Node-style [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors) may be used.All versions are searched by default. | `1.x` | | `Boolean` | onlyDirect | *Optional*. If enabled, transitive dependencies will not be considered. All dependencies are searched by default. | `true` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DependencyInsightExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DependencyInsightExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DependencyInsightExample displayName: Maven dependency insight example recipeList: - - org.openrewrite.maven.search.DependencyInsight: - groupIdPattern: com.fasterxml.jackson.module + - org.openrewrite.maven.search.DependencyInsight: groupIdPattern: com.fasterxml.jackson.module artifactIdPattern: jackson-module-* scope: compile version: 1.x diff --git a/docs/recipes/maven/search/doesnotincludedependency.md b/docs/recipes/maven/search/doesnotincludedependency.md index a3b602b87a..fe459b3f2e 100644 --- a/docs/recipes/maven/search/doesnotincludedependency.md +++ b/docs/recipes/maven/search/doesnotincludedependency.md @@ -13,8 +13,9 @@ _A precondition which returns false if visiting a Maven pom which includes the s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/DoesNotIncludeDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/DoesNotIncludeDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _A precondition which returns false if visiting a Maven pom which includes the s | `Boolean` | onlyDirect | *Optional*. Default false. If enabled, transitive dependencies will not be considered. | `true` | | `String` | scope | *Optional*. Default any. If specified, only the requested scope's classpaths will be checked. Valid options: `compile`, `test`, `runtime`, `provided` | `compile` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DoesNotIncludeDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DoesNotIncludeDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DoesNotIncludeDependencyExample displayName: Does not include Maven dependency example recipeList: - - org.openrewrite.maven.search.DoesNotIncludeDependency: - groupId: com.google.guava + - org.openrewrite.maven.search.DoesNotIncludeDependency: groupId: com.google.guava artifactId: guava onlyDirect: true scope: compile diff --git a/docs/recipes/maven/search/effectivedependencies.md b/docs/recipes/maven/search/effectivedependencies.md index ee853374d5..eaf77162cb 100644 --- a/docs/recipes/maven/search/effectivedependencies.md +++ b/docs/recipes/maven/search/effectivedependencies.md @@ -13,18 +13,23 @@ _Emit the data of binary dependency relationships._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/EffectiveDependencies.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/EffectiveDependencies.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | scope | Match dependencies with the specified scope Valid options: `compile`, `test`, `runtime`, `provided` | `compile` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.EffectiveDependenciesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.EffectiveDependenciesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.EffectiveDependenciesExample displayName: Effective dependencies example recipeList: - - org.openrewrite.maven.search.EffectiveDependencies: - scope: compile + - org.openrewrite.maven.search.EffectiveDependencies: scope: compile ``` Now that `com.yourorg.EffectiveDependenciesExample` has been defined, activate it in your build file: diff --git a/docs/recipes/maven/search/effectivemanageddependencies.md b/docs/recipes/maven/search/effectivemanageddependencies.md index 69483e20eb..30b8d60478 100644 --- a/docs/recipes/maven/search/effectivemanageddependencies.md +++ b/docs/recipes/maven/search/effectivemanageddependencies.md @@ -13,7 +13,12 @@ _Emit the data of binary dependency relationships._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/EffectiveManagedDependencies.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/EffectiveManagedDependencies.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/maven/search/effectivemavenrepositories.md b/docs/recipes/maven/search/effectivemavenrepositories.md index c5ffd9b3ea..2085e54524 100644 --- a/docs/recipes/maven/search/effectivemavenrepositories.md +++ b/docs/recipes/maven/search/effectivemavenrepositories.md @@ -13,14 +13,19 @@ _Lists the Maven repositories that would be used for dependency resolution, in o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/EffectiveMavenRepositories.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/EffectiveMavenRepositories.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | useMarkers | *Optional*. Whether to add markers for each effective Maven repository to the POM. Default `false`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/maven/search/finddependency.md b/docs/recipes/maven/search/finddependency.md index 303ae27aa5..195585fe76 100644 --- a/docs/recipes/maven/search/finddependency.md +++ b/docs/recipes/maven/search/finddependency.md @@ -13,8 +13,9 @@ _Finds first-order dependency uses, i.e. dependencies that are defined directly ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Finds first-order dependency uses, i.e. dependencies that are defined directly | `String` | version | *Optional*. An exact version number or node-style semver selector used to select the version number. | `3.0.0` | | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindDependencyExample displayName: Find Maven dependency example recipeList: - - org.openrewrite.maven.search.FindDependency: - groupId: com.google.guava + - org.openrewrite.maven.search.FindDependency: groupId: com.google.guava artifactId: guava version: 3.0.0 versionPattern: '-jre' diff --git a/docs/recipes/maven/search/findmanageddependency.md b/docs/recipes/maven/search/findmanageddependency.md index 936a7ddec9..7af997a5ce 100644 --- a/docs/recipes/maven/search/findmanageddependency.md +++ b/docs/recipes/maven/search/findmanageddependency.md @@ -13,8 +13,9 @@ _Finds first-order dependency management entries, i.e. dependencies that are def ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindManagedDependency.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindManagedDependency.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Finds first-order dependency management entries, i.e. dependencies that are def | `String` | version | *Optional*. An exact version number or node-style semver selector used to select the version number. | `3.0.0` | | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindManagedDependencyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindManagedDependencyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindManagedDependencyExample displayName: Find Maven dependency management entry example recipeList: - - org.openrewrite.maven.search.FindManagedDependency: - groupId: com.google.guava + - org.openrewrite.maven.search.FindManagedDependency: groupId: com.google.guava artifactId: guava version: 3.0.0 versionPattern: '-jre' diff --git a/docs/recipes/maven/search/findmavenproject.md b/docs/recipes/maven/search/findmavenproject.md index f5c9238c1c..950195efbd 100644 --- a/docs/recipes/maven/search/findmavenproject.md +++ b/docs/recipes/maven/search/findmavenproject.md @@ -13,7 +13,12 @@ _Maven projects are `pom.xml` files with a `MavenResolutionResult` marker._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindMavenProject.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindMavenProject.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/maven/search/findmavensettings.md b/docs/recipes/maven/search/findmavensettings.md index d14b44eef7..1301b3838d 100644 --- a/docs/recipes/maven/search/findmavensettings.md +++ b/docs/recipes/maven/search/findmavensettings.md @@ -13,14 +13,19 @@ _List the effective maven settings file for the current project._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindMavenSettings.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindMavenSettings.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | existenceCheckOnly | *Optional*. Only record that a maven settings file exists; do not include its contents. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/maven/search/findplugin.md b/docs/recipes/maven/search/findplugin.md index 354b9210ac..8eaa1e200d 100644 --- a/docs/recipes/maven/search/findplugin.md +++ b/docs/recipes/maven/search/findplugin.md @@ -13,8 +13,9 @@ _Finds a Maven plugin within a pom.xml._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Finds a Maven plugin within a pom.xml._ | `String` | groupId | The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. | `org.openrewrite.maven` | | `String` | artifactId | The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. | `rewrite-maven-plugin` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindPluginExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindPluginExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindPluginExample displayName: Find Maven plugin example recipeList: - - org.openrewrite.maven.search.FindPlugin: - groupId: org.openrewrite.maven + - org.openrewrite.maven.search.FindPlugin: groupId: org.openrewrite.maven artifactId: rewrite-maven-plugin ``` diff --git a/docs/recipes/maven/search/findproperties.md b/docs/recipes/maven/search/findproperties.md index d11811f099..edb60382bf 100644 --- a/docs/recipes/maven/search/findproperties.md +++ b/docs/recipes/maven/search/findproperties.md @@ -13,8 +13,9 @@ _Finds the specified Maven project properties within a pom.xml._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindProperties.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindProperties.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Finds the specified Maven project properties within a pom.xml._ | `String` | propertyPattern | Regular expression pattern used to match property tag names. | `guava.*` | | `String` | valuePattern | *Optional*. Regular expression pattern used to match property values. | `28.*` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindPropertiesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindPropertiesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindPropertiesExample displayName: Find Maven project properties example recipeList: - - org.openrewrite.maven.search.FindProperties: - propertyPattern: guava.* + - org.openrewrite.maven.search.FindProperties: propertyPattern: guava.* valuePattern: 28.* ``` diff --git a/docs/recipes/maven/search/findrepositoryorder.md b/docs/recipes/maven/search/findrepositoryorder.md index e28a67d0fa..b42cfec5ee 100644 --- a/docs/recipes/maven/search/findrepositoryorder.md +++ b/docs/recipes/maven/search/findrepositoryorder.md @@ -13,7 +13,12 @@ _Determine the order in which dependencies will be resolved for each `pom.xml` b ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindRepositoryOrder.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/FindRepositoryOrder.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/maven/search/parentpominsight.md b/docs/recipes/maven/search/parentpominsight.md index b2b255b17c..c96f614bd9 100644 --- a/docs/recipes/maven/search/parentpominsight.md +++ b/docs/recipes/maven/search/parentpominsight.md @@ -13,8 +13,9 @@ _Find Maven parents matching a `groupId` and `artifactId`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/ParentPomInsight.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/search/ParentPomInsight.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Find Maven parents matching a `groupId` and `artifactId`._ | `String` | version | *Optional*. Match only dependencies with the specified version. Node-style [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors) may be used.All versions are searched by default. | `1.x` | | `Boolean` | recursive | *Optional*. Whether to search recursively through the parents. True by default. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ParentPomInsightExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ParentPomInsightExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ParentPomInsightExample displayName: Maven parent insight example recipeList: - - org.openrewrite.maven.search.ParentPomInsight: - groupIdPattern: org.springframework.boot + - org.openrewrite.maven.search.ParentPomInsight: groupIdPattern: org.springframework.boot artifactIdPattern: spring-boot-starter-* version: 1.x ``` diff --git a/docs/recipes/maven/security/usehttpsforrepositories.md b/docs/recipes/maven/security/usehttpsforrepositories.md index a7e87d8c74..f4d3def1a1 100644 --- a/docs/recipes/maven/security/usehttpsforrepositories.md +++ b/docs/recipes/maven/security/usehttpsforrepositories.md @@ -18,7 +18,12 @@ _Use HTTPS for repository URLs._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/security/UseHttpsForRepositories.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/security/UseHttpsForRepositories.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/maven/spring/upgradeexplicitspringbootdependencies.md b/docs/recipes/maven/spring/upgradeexplicitspringbootdependencies.md index 74abb69645..42d08073f8 100644 --- a/docs/recipes/maven/spring/upgradeexplicitspringbootdependencies.md +++ b/docs/recipes/maven/spring/upgradeexplicitspringbootdependencies.md @@ -13,8 +13,9 @@ _Upgrades dependencies according to the specified version of spring boot. Spring ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/maven/spring/UpgradeExplicitSpringBootDependencies.java), [Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) - +[GitHub](https://github.com/openrewrite/rewrite-spring/blob/main/src/main/java/org/openrewrite/maven/spring/UpgradeExplicitSpringBootDependencies.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-spring/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-spring/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Upgrades dependencies according to the specified version of spring boot. Spring | `String` | fromVersion | XRage pattern for spring version used to limit which projects should be updated | ` 2.7.+` | | `String` | toVersion | Upgrade version of `org.springframework.boot` | `3.0.0-M3` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeExplicitSpringBootDependenciesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeExplicitSpringBootDependenciesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeExplicitSpringBootDependenciesExample displayName: Upgrade Spring dependencies example recipeList: - - org.openrewrite.maven.spring.UpgradeExplicitSpringBootDependencies: - fromVersion: 2.7.+ + - org.openrewrite.maven.spring.UpgradeExplicitSpringBootDependencies: fromVersion: 2.7.+ toVersion: 3.0.0-M3 ``` diff --git a/docs/recipes/maven/updatemavenwrapper.md b/docs/recipes/maven/updatemavenwrapper.md index 2f914cbac7..09e8eec75c 100644 --- a/docs/recipes/maven/updatemavenwrapper.md +++ b/docs/recipes/maven/updatemavenwrapper.md @@ -13,8 +13,9 @@ _Update the version of Maven used in an existing Maven wrapper._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/UpdateMavenWrapper.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/UpdateMavenWrapper.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -33,6 +34,10 @@ Defaults to "bin". Valid options: `bin`, `only-script`, `script`, `source` | | | `Boolean` | addIfMissing | *Optional*. Add a Maven wrapper, if it's missing. Defaults to `true`. | | | `Boolean` | enforceWrapperChecksumVerification | *Optional*. Enforce checksum verification for the maven-wrapper.jar. Enabling this feature may sporadically result in build failures, such as [MWRAPPER-103](https://issues.apache.org/jira/browse/MWRAPPER-103). Defaults to `false`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/maven/upgradedependencyversion.md b/docs/recipes/maven/upgradedependencyversion.md index 158c5d884c..851e7fb15b 100644 --- a/docs/recipes/maven/upgradedependencyversion.md +++ b/docs/recipes/maven/upgradedependencyversion.md @@ -13,8 +13,9 @@ _Upgrade the version of a dependency by specifying a group and (optionally) an a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/UpgradeDependencyVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/UpgradeDependencyVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Upgrade the version of a dependency by specifying a group and (optionally) an a | `Boolean` | overrideManagedVersion | *Optional*. This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`. | | | `List` | retainVersions | *Optional*. Accepts a list of GAVs. For each GAV, if it is a project direct dependency, and it is removed from dependency management after the changes from this recipe, then it will be retained with an explicit version. The version can be omitted from the GAV to use the old value from dependency management | `com.jcraft:jsch` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeDependencyVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeDependencyVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeDependencyVersionExample displayName: Upgrade Maven dependency version example recipeList: - - org.openrewrite.maven.UpgradeDependencyVersion: - groupId: com.fasterxml.jackson* + - org.openrewrite.maven.UpgradeDependencyVersion: groupId: com.fasterxml.jackson* artifactId: jackson-module* newVersion: 29.X versionPattern: '-jre' diff --git a/docs/recipes/maven/upgradeparentversion.md b/docs/recipes/maven/upgradeparentversion.md index c7f11f0f0a..2083810f11 100644 --- a/docs/recipes/maven/upgradeparentversion.md +++ b/docs/recipes/maven/upgradeparentversion.md @@ -13,8 +13,9 @@ _Set the parent pom version number according to a [version selector](https://doc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/UpgradeParentVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/UpgradeParentVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Set the parent pom version number according to a [version selector](https://doc | `String` | versionPattern | *Optional*. Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre | `-jre` | | `Boolean` | onlyExternal | *Optional*. Only upgrade `` if external to the project, i.e. it has an empty ``. Defaults to `false`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeParentVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeParentVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeParentVersionExample displayName: Upgrade Maven parent project version example recipeList: - - org.openrewrite.maven.UpgradeParentVersion: - groupId: org.springframework.boot + - org.openrewrite.maven.UpgradeParentVersion: groupId: org.springframework.boot artifactId: spring-boot-parent newVersion: 29.X versionPattern: '-jre' diff --git a/docs/recipes/maven/upgradepluginversion.md b/docs/recipes/maven/upgradepluginversion.md index 0c0c163266..5df7a461ab 100644 --- a/docs/recipes/maven/upgradepluginversion.md +++ b/docs/recipes/maven/upgradepluginversion.md @@ -13,8 +13,9 @@ _Upgrade the version of a plugin using Node Semver advanced range selectors, all ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/UpgradePluginVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/UpgradePluginVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Upgrade the version of a plugin using Node Semver advanced range selectors, all | `Boolean` | trustParent | *Optional*. Even if the parent suggests a version that is older than what we are trying to upgrade to, trust it anyway. Useful when you want to wait for the parent to catch up before upgrading. The parent is not trusted by default. | | | `Boolean` | addVersionIfMissing | *Optional*. If the plugin is missing a version, add the latest release. Defaults to false. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradePluginVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradePluginVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradePluginVersionExample displayName: Upgrade Maven plugin version example recipeList: - - org.openrewrite.maven.UpgradePluginVersion: - groupId: org.openrewrite.maven + - org.openrewrite.maven.UpgradePluginVersion: groupId: org.openrewrite.maven artifactId: rewrite-maven-plugin newVersion: 29.X versionPattern: '-jre' diff --git a/docs/recipes/maven/upgradetransitivedependencyversion.md b/docs/recipes/maven/upgradetransitivedependencyversion.md index 945c9f82ac..296ee3c72c 100644 --- a/docs/recipes/maven/upgradetransitivedependencyversion.md +++ b/docs/recipes/maven/upgradetransitivedependencyversion.md @@ -13,8 +13,9 @@ _Upgrades the version of a transitive dependency in a Maven pom file. Leaves dir ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/UpgradeTransitiveDependencyVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/UpgradeTransitiveDependencyVersion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) ## Options | Type | Name | Description | Example | @@ -30,10 +31,14 @@ _Upgrades the version of a transitive dependency in a Maven pom file. Leaves dir | `String` | onlyIfUsing | *Optional*. Only add managed dependencies to projects having a dependency matching the expression. | `org.apache.logging.log4j:log4j*` | | `Boolean` | addToRootPom | *Optional*. Add to the root pom where root is the eldest parent of the pom within the source set. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeTransitiveDependencyVersionExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeTransitiveDependencyVersionExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -41,8 +46,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeTransitiveDependencyVersionExample displayName: Upgrade transitive Maven dependencies example recipeList: - - org.openrewrite.maven.UpgradeTransitiveDependencyVersion: - groupId: org.apache.logging.log4j + - org.openrewrite.maven.UpgradeTransitiveDependencyVersion: groupId: org.apache.logging.log4j artifactId: log4j-bom version: latest.release scope: import diff --git a/docs/recipes/maven/utilities/printmavenasdot.md b/docs/recipes/maven/utilities/printmavenasdot.md index 90dc4187a6..023e0a7f1a 100644 --- a/docs/recipes/maven/utilities/printmavenasdot.md +++ b/docs/recipes/maven/utilities/printmavenasdot.md @@ -13,7 +13,12 @@ _The DOT language format is specified [here](https://graphviz.org/doc/info/lang. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/utilities/PrintMavenAsDot.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-maven/src/main/java/org/openrewrite/maven/utilities/PrintMavenAsDot.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-maven/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/micrometer/dropwizard/finddropwizardmetrics.md b/docs/recipes/micrometer/dropwizard/finddropwizardmetrics.md index 0ea9fbff35..69f648d335 100644 --- a/docs/recipes/micrometer/dropwizard/finddropwizardmetrics.md +++ b/docs/recipes/micrometer/dropwizard/finddropwizardmetrics.md @@ -13,12 +13,17 @@ _Find uses of Dropwizard metrics that could be converted to a more modern metric ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/java/org/openrewrite/micrometer/dropwizard/FindDropwizardMetrics.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) +[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/java/org/openrewrite/micrometer/dropwizard/FindDropwizardMetrics.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/micrometer/misk/migrateemptylabelmiskcounter.md b/docs/recipes/micrometer/misk/migrateemptylabelmiskcounter.md index 006674843d..4e1fc3b6df 100644 --- a/docs/recipes/micrometer/misk/migrateemptylabelmiskcounter.md +++ b/docs/recipes/micrometer/misk/migrateemptylabelmiskcounter.md @@ -13,12 +13,17 @@ _Convert a Misk (Prometheus) counter to a Micrometer counter._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/java/org/openrewrite/micrometer/misk/MigrateEmptyLabelMiskCounter.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) +[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/java/org/openrewrite/micrometer/misk/MigrateEmptyLabelMiskCounter.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/micrometer/misk/migratemisktomicrometer.md b/docs/recipes/micrometer/misk/migratemisktomicrometer.md index 80aa038f07..0124dfe53d 100644 --- a/docs/recipes/micrometer/misk/migratemisktomicrometer.md +++ b/docs/recipes/micrometer/misk/migratemisktomicrometer.md @@ -13,11 +13,16 @@ _This recipe will move Misk metrics to Micrometer, where that is possible to do ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/resources/META-INF/rewrite/misk.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) - +[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/resources/META-INF/rewrite/misk.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/micrometer/misk/noexplicitemptylabellist.md b/docs/recipes/micrometer/misk/noexplicitemptylabellist.md index 6be097e3d7..555ee68fb4 100644 --- a/docs/recipes/micrometer/misk/noexplicitemptylabellist.md +++ b/docs/recipes/micrometer/misk/noexplicitemptylabellist.md @@ -13,12 +13,17 @@ _`listOf()` is the default argument for the `labels` parameter._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/java/org/openrewrite/micrometer/misk/NoExplicitEmptyLabelList.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) +[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/java/org/openrewrite/micrometer/misk/NoExplicitEmptyLabelList.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/micrometer/timertoobservation.md b/docs/recipes/micrometer/timertoobservation.md index cd81b29327..8e20ea3670 100644 --- a/docs/recipes/micrometer/timertoobservation.md +++ b/docs/recipes/micrometer/timertoobservation.md @@ -13,12 +13,17 @@ _Convert Micrometer Timer to Observations._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/java/org/openrewrite/micrometer/TimerToObservation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) +[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/java/org/openrewrite/micrometer/TimerToObservation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/micrometer/upgrademicrometer.md b/docs/recipes/micrometer/upgrademicrometer.md index 4e2182c14b..b6016b32fc 100644 --- a/docs/recipes/micrometer/upgrademicrometer.md +++ b/docs/recipes/micrometer/upgrademicrometer.md @@ -13,7 +13,12 @@ _This recipe will apply changes commonly needed when migrating Micrometer._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/resources/META-INF/rewrite/micrometer.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) +[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/resources/META-INF/rewrite/micrometer.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -41,7 +46,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/micrometer/upgrademicrometer_1_13.md b/docs/recipes/micrometer/upgrademicrometer_1_13.md index 4cf1d3c3e1..4e414b304b 100644 --- a/docs/recipes/micrometer/upgrademicrometer_1_13.md +++ b/docs/recipes/micrometer/upgrademicrometer_1_13.md @@ -17,11 +17,16 @@ _Migrate applications to the latest Micrometer 1.13 release. This recipe will mo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/resources/META-INF/rewrite/micrometer-13.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) - +[GitHub](https://github.com/openrewrite/rewrite-micrometer/blob/main/src/main/resources/META-INF/rewrite/micrometer-13.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-micrometer/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-micrometer/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-micrometer` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/nodejs/dependencyvulnerabilitycheck.md b/docs/recipes/nodejs/dependencyvulnerabilitycheck.md index 86917b3ecf..88bd9556be 100644 --- a/docs/recipes/nodejs/dependencyvulnerabilitycheck.md +++ b/docs/recipes/nodejs/dependencyvulnerabilitycheck.md @@ -13,7 +13,7 @@ _This software composition analysis (SCA) tool detects and upgrades dependencies ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/java/org/openrewrite/nodejs/DependencyVulnerabilityCheck.java), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,10 +21,14 @@ _This software composition analysis (SCA) tool detects and upgrades dependencies | -- | -- | -- | -- | | `Boolean` | addMarkers | *Optional*. Report each vulnerability as search result markers. When enabled you can see which dependencies are bringing in vulnerable transitives in the diff view. By default these markers are omitted, making it easier to see version upgrades within the diff. | | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/databaseinteractioninsights.md b/docs/recipes/nodejs/search/databaseinteractioninsights.md index a9a29edfd6..610cd9ff0e 100644 --- a/docs/recipes/nodejs/search/databaseinteractioninsights.md +++ b/docs/recipes/nodejs/search/databaseinteractioninsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript database interaction libraries (Sequelize, Ty ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/dependencyinsight.md b/docs/recipes/nodejs/search/dependencyinsight.md index 297ef60c2d..a70ec29a04 100644 --- a/docs/recipes/nodejs/search/dependencyinsight.md +++ b/docs/recipes/nodejs/search/dependencyinsight.md @@ -13,7 +13,7 @@ _Identify the direct and transitive Node.js dependencies used in a project._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/java/org/openrewrite/nodejs/search/DependencyInsight.java), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -23,27 +23,30 @@ _Identify the direct and transitive Node.js dependencies used in a project._ | `String` | version | *Optional*. Match only dependencies with the specified version. Node-style [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors) may be used.All versions are searched by default. | `1.x` | | `Boolean` | onlyDirect | *Optional*. If enabled, transitive dependencies will not be considered. All dependencies are searched by default. | `true` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DependencyInsightExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DependencyInsightExample displayName: Node.js dependency insight example recipeList: - - org.openrewrite.nodejs.search.DependencyInsight: + - org.openrewrite.nodejs.search.DependencyInsight: namePattern: '@apollo*' version: 1.x onlyDirect: true ``` -Now that `com.yourorg.DependencyInsightExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-nodejs:{{VERSION_REWRITE_NODEJS}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/nodejs/search/findnodeprojects.md b/docs/recipes/nodejs/search/findnodeprojects.md index 5ffe91c3fb..2bb4a01de1 100644 --- a/docs/recipes/nodejs/search/findnodeprojects.md +++ b/docs/recipes/nodejs/search/findnodeprojects.md @@ -13,12 +13,16 @@ _Find Node.js projects and summarize data about them._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/java/org/openrewrite/nodejs/search/FindNodeProjects.java), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/formhandlinginsights.md b/docs/recipes/nodejs/search/formhandlinginsights.md index d750a15a41..15b679871b 100644 --- a/docs/recipes/nodejs/search/formhandlinginsights.md +++ b/docs/recipes/nodejs/search/formhandlinginsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript form handling libraries (Formik, React Hook F ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/lintingformattinginsights.md b/docs/recipes/nodejs/search/lintingformattinginsights.md index b1f0d619e5..715871da77 100644 --- a/docs/recipes/nodejs/search/lintingformattinginsights.md +++ b/docs/recipes/nodejs/search/lintingformattinginsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript linting and formatting libraries (ESLint, Pre ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/realtimecommunicationinsights.md b/docs/recipes/nodejs/search/realtimecommunicationinsights.md index c6cd5773af..547b2071d9 100644 --- a/docs/recipes/nodejs/search/realtimecommunicationinsights.md +++ b/docs/recipes/nodejs/search/realtimecommunicationinsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript real-time communication libraries (Socket.io, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/securityinsights.md b/docs/recipes/nodejs/search/securityinsights.md index 601ac5e191..5d3304da36 100644 --- a/docs/recipes/nodejs/search/securityinsights.md +++ b/docs/recipes/nodejs/search/securityinsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript security libraries (Helmet, Cors, Bcrypt, etc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/serversideframeworksinsights.md b/docs/recipes/nodejs/search/serversideframeworksinsights.md index 082aa3cd5d..b538cf3ab7 100644 --- a/docs/recipes/nodejs/search/serversideframeworksinsights.md +++ b/docs/recipes/nodejs/search/serversideframeworksinsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript server-side frameworks (Express, Koa, Hapi, e ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/statemanagementinsights.md b/docs/recipes/nodejs/search/statemanagementinsights.md index bead2f93f7..70db8171c5 100644 --- a/docs/recipes/nodejs/search/statemanagementinsights.md +++ b/docs/recipes/nodejs/search/statemanagementinsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript state management libraries (Redux, MobX, Vuex ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/taskrunnersbuildtoolsinsights.md b/docs/recipes/nodejs/search/taskrunnersbuildtoolsinsights.md index 6d1a49e0d9..50447ec16c 100644 --- a/docs/recipes/nodejs/search/taskrunnersbuildtoolsinsights.md +++ b/docs/recipes/nodejs/search/taskrunnersbuildtoolsinsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript task runners and build tools (Webpack, Parcel ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/testinginsights.md b/docs/recipes/nodejs/search/testinginsights.md index 8a1bc13603..f221a0dc16 100644 --- a/docs/recipes/nodejs/search/testinginsights.md +++ b/docs/recipes/nodejs/search/testinginsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript testing libraries (Jest, Mocha, Chai, etc.) a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/uiinsights.md b/docs/recipes/nodejs/search/uiinsights.md index 10fee7e05a..efcca770e5 100644 --- a/docs/recipes/nodejs/search/uiinsights.md +++ b/docs/recipes/nodejs/search/uiinsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript UI libraries (React, Vue.js, Angular, etc.) a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/search/utilityinsights.md b/docs/recipes/nodejs/search/utilityinsights.md index 5181edcb35..9a045f7d8e 100644 --- a/docs/recipes/nodejs/search/utilityinsights.md +++ b/docs/recipes/nodejs/search/utilityinsights.md @@ -13,15 +13,16 @@ _Discover which popular javascript utility libraries (Lodash, Moment.js, Date-fn ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/resources/META-INF/rewrite/insights.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-nodejs` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/nodejs/upgradedependencyversion.md b/docs/recipes/nodejs/upgradedependencyversion.md index 65a7e6bf0d..8d6f744c95 100644 --- a/docs/recipes/nodejs/upgradedependencyversion.md +++ b/docs/recipes/nodejs/upgradedependencyversion.md @@ -13,7 +13,7 @@ _Upgrade matching Node.js direct dependencies._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-nodejs/blob/main/src/main/java/org/openrewrite/nodejs/UpgradeDependencyVersion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-nodejs/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-nodejs/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _Upgrade matching Node.js direct dependencies._ | `String` | namePattern | Name glob pattern used to match dependencies | `@apollo*` | | `String` | version | Set the version to upgrade to.Node-style [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors) may be used. | `1.x` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpgradeDependencyVersionExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpgradeDependencyVersionExample displayName: Upgrade Node.js dependencies example recipeList: - - org.openrewrite.nodejs.UpgradeDependencyVersion: + - org.openrewrite.nodejs.UpgradeDependencyVersion: namePattern: '@apollo*' version: 1.x ``` -Now that `com.yourorg.UpgradeDependencyVersionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-nodejs:{{VERSION_REWRITE_NODEJS}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/okhttp/reorderrequestbodycreatearguments.md b/docs/recipes/okhttp/reorderrequestbodycreatearguments.md index ae304b234a..20720eb62e 100644 --- a/docs/recipes/okhttp/reorderrequestbodycreatearguments.md +++ b/docs/recipes/okhttp/reorderrequestbodycreatearguments.md @@ -13,7 +13,12 @@ _Reorder the arguments of `RequestBody.create()` to put the `MediaType` argument ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okhttp-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) +[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okhttp-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/okhttp/upgradeokhttp4.md b/docs/recipes/okhttp/upgradeokhttp4.md index f625964d54..9e7766137e 100644 --- a/docs/recipes/okhttp/upgradeokhttp4.md +++ b/docs/recipes/okhttp/upgradeokhttp4.md @@ -13,11 +13,16 @@ _This recipe will apply changes commonly needed when migrating to OkHttp 4.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okhttp-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) - +[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okhttp-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/okhttp/upgradeokhttp4dependencies.md b/docs/recipes/okhttp/upgradeokhttp4dependencies.md index 8ea8ee9c7a..64a12343af 100644 --- a/docs/recipes/okhttp/upgradeokhttp4dependencies.md +++ b/docs/recipes/okhttp/upgradeokhttp4dependencies.md @@ -13,7 +13,12 @@ _Migrate OkHttp dependencies to 4.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okhttp-4.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) +[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okhttp-4.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/okhttp/upgradeokhttp5.md b/docs/recipes/okhttp/upgradeokhttp5.md index dee0f440c3..2608e904e1 100644 --- a/docs/recipes/okhttp/upgradeokhttp5.md +++ b/docs/recipes/okhttp/upgradeokhttp5.md @@ -13,11 +13,16 @@ _This recipe will apply changes commonly needed when migrating to OkHttp 5.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okhttp-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) - +[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okhttp-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/okhttp/upgradeokhttp5dependencies.md b/docs/recipes/okhttp/upgradeokhttp5dependencies.md index d90ff8e551..8bd7e6a2af 100644 --- a/docs/recipes/okhttp/upgradeokhttp5dependencies.md +++ b/docs/recipes/okhttp/upgradeokhttp5dependencies.md @@ -13,7 +13,12 @@ _Migrate OkHttp dependencies to 5.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okhttp-5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) +[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okhttp-5.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/okio/upgradeokio3.md b/docs/recipes/okio/upgradeokio3.md index c7275c7e9f..ec77f530c1 100644 --- a/docs/recipes/okio/upgradeokio3.md +++ b/docs/recipes/okio/upgradeokio3.md @@ -13,7 +13,12 @@ _This recipe will apply changes commonly needed when migrating to Okio 3.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okio-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) +[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okio-3.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -41,7 +46,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/okio/upgradeokio3dependencies.md b/docs/recipes/okio/upgradeokio3dependencies.md index 7370064f7a..f8e2d4faad 100644 --- a/docs/recipes/okio/upgradeokio3dependencies.md +++ b/docs/recipes/okio/upgradeokio3dependencies.md @@ -13,11 +13,16 @@ _Migrate Okio dependencies to 3.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okio-3.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) - +[GitHub](https://github.com/openrewrite/rewrite-okhttp/blob/main/src/main/resources/META-INF/rewrite/okio-3.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-okhttp/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-okhttp/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-okhttp` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/convertapiresponsecodestostrings.md b/docs/recipes/openapi/swagger/convertapiresponsecodestostrings.md index 65b01ffc95..2760663d31 100644 --- a/docs/recipes/openapi/swagger/convertapiresponsecodestostrings.md +++ b/docs/recipes/openapi/swagger/convertapiresponsecodestostrings.md @@ -13,12 +13,17 @@ _Convert API response codes to strings._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/java/org/openrewrite/openapi/swagger/ConvertApiResponseCodesToStrings.java), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/java/org/openrewrite/openapi/swagger/ConvertApiResponseCodesToStrings.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/migrateapiimplicitparamdatatypeclass.md b/docs/recipes/openapi/swagger/migrateapiimplicitparamdatatypeclass.md index 0101452bf2..0d0b55f8a0 100644 --- a/docs/recipes/openapi/swagger/migrateapiimplicitparamdatatypeclass.md +++ b/docs/recipes/openapi/swagger/migrateapiimplicitparamdatatypeclass.md @@ -13,12 +13,17 @@ _Migrate `@ApiImplicitParam(dataTypeClass=Foo.class)` to `@Parameter(schema=@Sch ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/java/org/openrewrite/openapi/swagger/MigrateApiImplicitParamDataTypeClass.java), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/java/org/openrewrite/openapi/swagger/MigrateApiImplicitParamDataTypeClass.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md b/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md index e9f8a2142b..bfa2bdb49b 100644 --- a/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md +++ b/docs/recipes/openapi/swagger/migrateapiimplicitparamstoparameters.md @@ -18,11 +18,16 @@ _Converts `@ApiImplicitParams` to `@Parameters` and the `@ApiImplicitParam` anno ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) - +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -90,7 +95,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md b/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md index b4f9e733a4..5a2da59e89 100644 --- a/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md +++ b/docs/recipes/openapi/swagger/migrateapimodelpropertytoschema.md @@ -18,11 +18,16 @@ _Converts the `@ApiModelProperty` annotation to `@Schema` and converts the "valu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) - +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -78,7 +83,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/migrateapimodeltoschema.md b/docs/recipes/openapi/swagger/migrateapimodeltoschema.md index d7e1d22205..7ce99f1ca2 100644 --- a/docs/recipes/openapi/swagger/migrateapimodeltoschema.md +++ b/docs/recipes/openapi/swagger/migrateapimodeltoschema.md @@ -18,11 +18,16 @@ _Converts the `@ApiModel` annotation to `@Schema` and converts the "value" attri ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) - +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/migrateapioperationtooperation.md b/docs/recipes/openapi/swagger/migrateapioperationtooperation.md index 35cb6cb726..b7883a3031 100644 --- a/docs/recipes/openapi/swagger/migrateapioperationtooperation.md +++ b/docs/recipes/openapi/swagger/migrateapioperationtooperation.md @@ -18,11 +18,16 @@ _Converts the `@ApiOperation` annotation to `@Operation` and converts the direct ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) - +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -90,7 +95,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md b/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md index 67be268748..b67afb148c 100644 --- a/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md +++ b/docs/recipes/openapi/swagger/migrateapiparamtoparameter.md @@ -18,11 +18,16 @@ _Converts the `@ApiParam` annotation to `@Parameter` and converts the directly m ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) - +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md b/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md index 686915b2b4..99752ca418 100644 --- a/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md +++ b/docs/recipes/openapi/swagger/migrateapiresponsestoapiresponses.md @@ -21,11 +21,16 @@ Changes the namespace of the `@ApiResponses` and `@ApiResponse` annotations and ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) - +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -83,7 +88,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/migrateapitotag.md b/docs/recipes/openapi/swagger/migrateapitotag.md index 8a51068cb5..49b575f0f1 100644 --- a/docs/recipes/openapi/swagger/migrateapitotag.md +++ b/docs/recipes/openapi/swagger/migrateapitotag.md @@ -13,12 +13,17 @@ _Converts `@Api` to `@Tag` annotation and converts the directly mappable attribu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/java/org/openrewrite/openapi/swagger/MigrateApiToTag.java), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/java/org/openrewrite/openapi/swagger/MigrateApiToTag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/swaggertoopenapi.md b/docs/recipes/openapi/swagger/swaggertoopenapi.md index 52719a4834..fa7cafa331 100644 --- a/docs/recipes/openapi/swagger/swaggertoopenapi.md +++ b/docs/recipes/openapi/swagger/swaggertoopenapi.md @@ -18,11 +18,16 @@ _Migrate from Swagger to OpenAPI._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) - +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -106,7 +111,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/openapi/swagger/usejakartaswaggerartifacts.md b/docs/recipes/openapi/swagger/usejakartaswaggerartifacts.md index fb03d4a35d..b11b643b05 100644 --- a/docs/recipes/openapi/swagger/usejakartaswaggerartifacts.md +++ b/docs/recipes/openapi/swagger/usejakartaswaggerartifacts.md @@ -19,11 +19,16 @@ _Migrate from javax Swagger artifacts to Jakarta versions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) - +[GitHub](https://github.com/openrewrite/rewrite-openapi/blob/main/src/main/resources/META-INF/rewrite/swagger-2.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-openapi/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-openapi/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -132,7 +137,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-openapi` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/camelmigrationrecipe.md index ed432f6333..083b8c3c44 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/camelmigrationrecipe.md @@ -13,11 +13,16 @@ _Migrate `camel3` application to `camel4`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.CamelMigrationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.CamelMigrationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedchoicembeanmethodname.md b/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedchoicembeanmethodname.md index 46c71123d9..a0ff79b043 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedchoicembeanmethodname.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedchoicembeanmethodname.md @@ -13,7 +13,12 @@ _MBeans now use a consistent method name of `extendedInformation`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.ChangeManagedChoiceMBeanMethodName), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.ChangeManagedChoiceMBeanMethodName), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedfailoverloadbalancermbeanmethodname.md b/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedfailoverloadbalancermbeanmethodname.md index 50c1e3e79f..d1a3ab4c0e 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedfailoverloadbalancermbeanmethodname.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/changemanagedfailoverloadbalancermbeanmethodname.md @@ -13,7 +13,12 @@ _MBeans now use a consistent method name of `extendedInformation`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.ChangeManagedFailoverLoadBalancerMBeanMethodName), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.ChangeManagedFailoverLoadBalancerMBeanMethodName), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/changetypes.md b/docs/recipes/org/apache/camel/upgrade/camel40/changetypes.md index 76882df5c4..1a560cd005 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/changetypes.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/changetypes.md @@ -13,7 +13,12 @@ _Change type of classes related to change of API._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.ChangeTypes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.ChangeTypes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelapisrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelapisrecipe.md index aecea9823b..b67f64e4fa 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelapisrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelapisrecipe.md @@ -13,12 +13,17 @@ _Apache Camel API migration from version 3.20 or higher to 4.0. Removal of depre ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.java.CamelAPIsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.java.CamelAPIsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelbeanrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelbeanrecipe.md index fafc76ae30..630e9b5010 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelbeanrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelbeanrecipe.md @@ -13,12 +13,17 @@ _Camel bean recipe._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.java.CamelBeanRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.java.CamelBeanRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/java/cameleiprecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/java/cameleiprecipe.md index 1cdb08eefd..e538a1e4bf 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/java/cameleiprecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/java/cameleiprecipe.md @@ -13,12 +13,17 @@ _The InOnly and InOut EIPs have been removed. Instead, use 'SetExchangePattern' ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.java.CamelEIPRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.java.CamelEIPRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelhttprecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelhttprecipe.md index b842df7c17..2cd5273077 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/java/camelhttprecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/java/camelhttprecipe.md @@ -13,12 +13,17 @@ _Camel Http Extension changes._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.java.CamelHttpRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.java.CamelHttpRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/usepluginhelperforcontextgetters.md b/docs/recipes/org/apache/camel/upgrade/camel40/usepluginhelperforcontextgetters.md index 71eb61a1d4..16520fe974 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/usepluginhelperforcontextgetters.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/usepluginhelperforcontextgetters.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.UsePluginHelperForContextGetters), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.UsePluginHelperForContextGetters), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -57,7 +62,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/xml/circuitbreakerxmldslrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/xml/circuitbreakerxmldslrecipe.md index 185ca45a54..7b7a4ef179 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/xml/circuitbreakerxmldslrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/xml/circuitbreakerxmldslrecipe.md @@ -13,12 +13,17 @@ _Apache Camel XML DSL Circuit Breaker migration from version 3.20 or higher to 4 ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.xml.CircuitBreakerXmlDslRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.xml.CircuitBreakerXmlDslRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/xml/xmldslrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/xml/xmldslrecipe.md index a7955645d9..af85295cab 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/xml/xmldslrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/xml/xmldslrecipe.md @@ -13,12 +13,17 @@ _Apache Camel XML DSL migration from version 3.20 or higher to 4.0._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.xml.XmlDslRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.xml.XmlDslRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlrouteconfigurationsequencerecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlrouteconfigurationsequencerecipe.md index 29b4843969..fe6e78aa4d 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlrouteconfigurationsequencerecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlrouteconfigurationsequencerecipe.md @@ -13,12 +13,17 @@ _Camel YAML changes. route-configuration children sequence is replaced with map ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.yaml.CamelYamlRouteConfigurationSequenceRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.yaml.CamelYamlRouteConfigurationSequenceRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlstepsinfromrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlstepsinfromrecipe.md index bd18943b2e..b5dfcdebb3 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlstepsinfromrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel40/yaml/camelyamlstepsinfromrecipe.md @@ -13,12 +13,17 @@ _The YAML DSL backwards compatible mode in Camel 3.14 or older, which allowed 's ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.yaml.CamelYamlStepsInFromRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel40.yaml.CamelYamlStepsInFromRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel41/camelcorerecipe.md b/docs/recipes/org/apache/camel/upgrade/camel41/camelcorerecipe.md index 128a4c9051..5865e11d2d 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel41/camelcorerecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel41/camelcorerecipe.md @@ -13,12 +13,17 @@ _Apache Camel Core migration from version 4.0 to 4.1._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel41.CamelCoreRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel41.CamelCoreRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel41/tracingtag.md b/docs/recipes/org/apache/camel/upgrade/camel41/tracingtag.md index 8f3d702735..33c0ec4c99 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel41/tracingtag.md +++ b/docs/recipes/org/apache/camel/upgrade/camel41/tracingtag.md @@ -13,7 +13,12 @@ _The Tag Enum containing constants for tagging spans has been deprecated. Instea ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel41.TracingTag), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel41.TracingTag), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel41/xmldslrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel41/xmldslrecipe.md index 352eda7099..56b355e375 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel41/xmldslrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel41/xmldslrecipe.md @@ -13,12 +13,17 @@ _Apache Camel XML DSL migration from version 4.0 to 4.1._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel41.XmlDslRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel41.XmlDslRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel41/yamldslrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel41/yamldslrecipe.md index 2431e1eaba..677ba03053 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel41/yamldslrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel41/yamldslrecipe.md @@ -13,12 +13,17 @@ _If inlined bean is created, parameters `type` and `beanType` has bean changed._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel41.YamlDslRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel41.YamlDslRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel42/camelmaindebugger.md b/docs/recipes/org/apache/camel/upgrade/camel42/camelmaindebugger.md index ffed69844c..9986d99139 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel42/camelmaindebugger.md +++ b/docs/recipes/org/apache/camel/upgrade/camel42/camelmaindebugger.md @@ -13,7 +13,12 @@ _The option camel.main.debugger has been renamed to camel.debug.enabled._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel42.CamelMainDebugger), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel42.CamelMainDebugger), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel42/camelsagarecipe.md b/docs/recipes/org/apache/camel/upgrade/camel42/camelsagarecipe.md index 26a04962c1..128a437efe 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel42/camelsagarecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel42/camelsagarecipe.md @@ -13,12 +13,17 @@ _Apache Camel Core migration from version 4.0 to 4.1._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel42.CamelSagaRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel42.CamelSagaRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel43/camelresequenceeipxmlrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel43/camelresequenceeipxmlrecipe.md index 5441bde340..abb64fe6ac 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel43/camelresequenceeipxmlrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel43/camelresequenceeipxmlrecipe.md @@ -13,12 +13,17 @@ _Batch and stream attributes were renamed in Resequence EIP XML DSL._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel43.CamelResequenceEIPXmlRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel43.CamelResequenceEIPXmlRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel43/camelthrottleeiprecipe.md b/docs/recipes/org/apache/camel/upgrade/camel43/camelthrottleeiprecipe.md index 841570be9a..8874cd40ef 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel43/camelthrottleeiprecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel43/camelthrottleeiprecipe.md @@ -13,12 +13,17 @@ _Apache Camel Core migration from version 4.0 to 4.1._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel43.CamelThrottleEIPRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel43.CamelThrottleEIPRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel43/kafkametadata.md b/docs/recipes/org/apache/camel/upgrade/camel43/kafkametadata.md index 482293157d..1183b15df9 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel43/kafkametadata.md +++ b/docs/recipes/org/apache/camel/upgrade/camel43/kafkametadata.md @@ -13,11 +13,16 @@ _The header name for the List metadata has changed also the dsl method for metad ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel43.KafkaMetadata), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel43.KafkaMetadata), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel43/staterepository.md b/docs/recipes/org/apache/camel/upgrade/camel43/staterepository.md index 8c09af3ef2..c9ac8bcf3c 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel43/staterepository.md +++ b/docs/recipes/org/apache/camel/upgrade/camel43/staterepository.md @@ -13,11 +13,16 @@ _Moved classes MemoryStateRepository and FileStateRepositor from camel-base-engi ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel43.StateRepository), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel43.StateRepository), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel44/camelcorerecipe.md b/docs/recipes/org/apache/camel/upgrade/camel44/camelcorerecipe.md index bbae47bde8..780c010da3 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel44/camelcorerecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel44/camelcorerecipe.md @@ -13,12 +13,17 @@ _Apache Camel Core migration from version 4.3 to 4.4._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel44.CamelCoreRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel44.CamelCoreRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel44/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel44/camelmigrationrecipe.md index 3aa7cab674..367cb975d5 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel44/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel44/camelmigrationrecipe.md @@ -13,11 +13,16 @@ _Migrates `camel 4.0` application to `camel 4.4`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel44.CamelMigrationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel44.CamelMigrationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel44/defaultjsonschemaloader.md b/docs/recipes/org/apache/camel/upgrade/camel44/defaultjsonschemaloader.md index 339873723e..98a8918969 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel44/defaultjsonschemaloader.md +++ b/docs/recipes/org/apache/camel/upgrade/camel44/defaultjsonschemaloader.md @@ -13,7 +13,12 @@ _Replaces deprecated class with its successor._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel44.DefaultJsonSchemaLoader), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel44.DefaultJsonSchemaLoader), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel44/routecontrollerproperties.md b/docs/recipes/org/apache/camel/upgrade/camel44/routecontrollerproperties.md index da626108b7..79f2b74523 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel44/routecontrollerproperties.md +++ b/docs/recipes/org/apache/camel/upgrade/camel44/routecontrollerproperties.md @@ -12,11 +12,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel44.RouteControllerProperties), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel44.RouteControllerProperties), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -65,7 +70,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel45/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel45/camelmigrationrecipe.md index 8f6ef073a4..7b575a7153 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel45/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel45/camelmigrationrecipe.md @@ -13,11 +13,16 @@ _Migrates `camel 4.4` application to `camel 4.5`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel45.CamelMigrationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel45.CamelMigrationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -47,7 +52,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel45/renamedclasses.md b/docs/recipes/org/apache/camel/upgrade/camel45/renamedclasses.md index b30227bae9..b1a01f0ed2 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel45/renamedclasses.md +++ b/docs/recipes/org/apache/camel/upgrade/camel45/renamedclasses.md @@ -13,11 +13,16 @@ _Renamed classes for elasticsearch,opensearch and spring regis._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel45.renamedClasses), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel45.renamedClasses), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel45/traceproperties.md b/docs/recipes/org/apache/camel/upgrade/camel45/traceproperties.md index 05e1771a7a..a0fa2675e0 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel45/traceproperties.md +++ b/docs/recipes/org/apache/camel/upgrade/camel45/traceproperties.md @@ -12,7 +12,12 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel45.TraceProperties), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel45.TraceProperties), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -44,7 +49,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel46/camelmigrationrecipe.md index d23f71ec70..70290d65c8 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/camelmigrationrecipe.md @@ -13,11 +13,16 @@ _Migrates `camel 4.5` application to `camel 4.6`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.CamelMigrationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.CamelMigrationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/renamedclasses.md b/docs/recipes/org/apache/camel/upgrade/camel46/renamedclasses.md index 3e0578fd40..c2cad39dec 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/renamedclasses.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/renamedclasses.md @@ -13,11 +13,16 @@ _Renamed classes for elasticsearch,opensearch and spring regis._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.renamedClasses), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.renamedClasses), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -120,7 +125,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/renameddependencies.md b/docs/recipes/org/apache/camel/upgrade/camel46/renameddependencies.md index 6bb034b3c9..8b28d4d757 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/renameddependencies.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/renameddependencies.md @@ -13,11 +13,16 @@ _Renamed dependencies._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.renamedDependencies), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.renamedDependencies), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/xmldsl46recipe.md b/docs/recipes/org/apache/camel/upgrade/camel46/xmldsl46recipe.md index 8a2bc97631..a7674a9285 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/xmldsl46recipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/xmldsl46recipe.md @@ -13,12 +13,17 @@ _Apache Camel XML DSL migration from version 3.20 or higher to 4.0._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.XmlDsl46Recipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.XmlDsl46Recipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/yamldsl46recipe.md b/docs/recipes/org/apache/camel/upgrade/camel46/yamldsl46recipe.md index d26e01b3d8..6f92aa8906 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/yamldsl46recipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/yamldsl46recipe.md @@ -13,12 +13,17 @@ _Each bean property is changed to bean properties._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.YamlDsl46Recipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.YamlDsl46Recipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel46/yamstreamcaching.md b/docs/recipes/org/apache/camel/upgrade/camel46/yamstreamcaching.md index a24eb5e542..ee5276a776 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel46/yamstreamcaching.md +++ b/docs/recipes/org/apache/camel/upgrade/camel46/yamstreamcaching.md @@ -13,7 +13,12 @@ _Renamed streamCaching to streamCache on the route._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.yamStreamCaching), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel46.yamStreamCaching), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/camelmigrationrecipe.md b/docs/recipes/org/apache/camel/upgrade/camel47/camelmigrationrecipe.md index 3cd7304c90..eab0d731a7 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/camelmigrationrecipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/camelmigrationrecipe.md @@ -13,11 +13,16 @@ _Migrates `camel 4.6` application to `camel 4.7`._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.CamelMigrationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.CamelMigrationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/java47recipes.md b/docs/recipes/org/apache/camel/upgrade/camel47/java47recipes.md index d55ab6ab77..e5cbbb0d89 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/java47recipes.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/java47recipes.md @@ -13,12 +13,17 @@ _Change of headers with embedded HTTP server (consumer). The headers CamelHttpSe ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.Java47Recipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.Java47Recipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/removeddependencies.md b/docs/recipes/org/apache/camel/upgrade/camel47/removeddependencies.md index 47234c4361..620163d54f 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/removeddependencies.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/removeddependencies.md @@ -13,7 +13,12 @@ _Moved the camel-cloudevents api into camel-api and removed the camel-cloudevent ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.removedDependencies), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.removedDependencies), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/renamedclasses.md b/docs/recipes/org/apache/camel/upgrade/camel47/renamedclasses.md index e5a2ba7263..4fd55641ff 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/renamedclasses.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/renamedclasses.md @@ -13,11 +13,16 @@ _Renamed classes for API._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.renamedClasses), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.renamedClasses), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/xmldsl47recipe.md b/docs/recipes/org/apache/camel/upgrade/camel47/xmldsl47recipe.md index b61d90a62a..e20cf43319 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/xmldsl47recipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/xmldsl47recipe.md @@ -13,12 +13,17 @@ _Apache Camel XML DSL migration from version 4.6 o 4.7._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.XmlDsl47Recipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.XmlDsl47Recipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/camel47/yamldsl47recipe.md b/docs/recipes/org/apache/camel/upgrade/camel47/yamldsl47recipe.md index 3085e08064..1d92f0e0aa 100644 --- a/docs/recipes/org/apache/camel/upgrade/camel47/yamldsl47recipe.md +++ b/docs/recipes/org/apache/camel/upgrade/camel47/yamldsl47recipe.md @@ -13,12 +13,17 @@ _Apache Camel YML DSL migration from version 4.6 o 4.7._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.YamlDsl47Recipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.camel47.YamlDsl47Recipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/camel/upgrade/customrecipes/changepropertykeywithcasechange.md b/docs/recipes/org/apache/camel/upgrade/customrecipes/changepropertykeywithcasechange.md index de28e36a6c..666394d9fd 100644 --- a/docs/recipes/org/apache/camel/upgrade/customrecipes/changepropertykeywithcasechange.md +++ b/docs/recipes/org/apache/camel/upgrade/customrecipes/changepropertykeywithcasechange.md @@ -13,8 +13,9 @@ _Change prefix of property with Camel case_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.customRecipes.ChangePropertyKeyWithCaseChange), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.customRecipes.ChangePropertyKeyWithCaseChange), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Change prefix of property with Camel case_ | `String` | oldPropertyKey | The property key to rename. | | | `String` | newPrefix | The prefix to be replaced with. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyKeyWithCaseChangeExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyKeyWithCaseChangeExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePropertyKeyWithCaseChangeExample displayName: Change prefix of property with Camel case example recipeList: - - org.apache.camel.upgrade.customRecipes.ChangePropertyKeyWithCaseChange: - oldPropertyKey: null + - org.apache.camel.upgrade.customRecipes.ChangePropertyKeyWithCaseChange: oldPropertyKey: null newPrefix: null ``` diff --git a/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertoextendedcamelcontext.md b/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertoextendedcamelcontext.md index 8e30fb8a36..ab354b6733 100644 --- a/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertoextendedcamelcontext.md +++ b/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertoextendedcamelcontext.md @@ -13,18 +13,23 @@ _Move getter from context to ExtendedCamelContext_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.customRecipes.MoveGetterToExtendedCamelContext), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.customRecipes.MoveGetterToExtendedCamelContext), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | oldMethodName | Name of the method on external camel context. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.MoveGetterToExtendedCamelContextExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.MoveGetterToExtendedCamelContextExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.MoveGetterToExtendedCamelContextExample displayName: Move getter from context to ExtendedCamelContext. example recipeList: - - org.apache.camel.upgrade.customRecipes.MoveGetterToExtendedCamelContext: - oldMethodName: null + - org.apache.camel.upgrade.customRecipes.MoveGetterToExtendedCamelContext: oldMethodName: null ``` Now that `com.yourorg.MoveGetterToExtendedCamelContextExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-third-party:{{VERSION_REWRITE_THIRD_PARTY}}` in your build file: diff --git a/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertopluginhelper.md b/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertopluginhelper.md index 0252d0078b..4cbbae8173 100644 --- a/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertopluginhelper.md +++ b/docs/recipes/org/apache/camel/upgrade/customrecipes/movegettertopluginhelper.md @@ -13,18 +13,23 @@ _Move getter from context to PluginHelper_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.customRecipes.MoveGetterToPluginHelper), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.camel.upgrade.customRecipes.MoveGetterToPluginHelper), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | oldMethodName | Name of the method on external camel context. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.MoveGetterToPluginHelperExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.MoveGetterToPluginHelperExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.MoveGetterToPluginHelperExample displayName: Move getter from context to PluginHelper. example recipeList: - - org.apache.camel.upgrade.customRecipes.MoveGetterToPluginHelper: - oldMethodName: null + - org.apache.camel.upgrade.customRecipes.MoveGetterToPluginHelper: oldMethodName: null ``` Now that `com.yourorg.MoveGetterToPluginHelperExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-third-party:{{VERSION_REWRITE_THIRD_PARTY}}` in your build file: diff --git a/docs/recipes/org/apache/wicket/bestpractices.md b/docs/recipes/org/apache/wicket/bestpractices.md index f90d278752..dd70f9c639 100644 --- a/docs/recipes/org/apache/wicket/bestpractices.md +++ b/docs/recipes/org/apache/wicket/bestpractices.md @@ -13,7 +13,12 @@ _Applies Wicket best practices such as minimizing anonymous inner classes and up ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.wicket.BestPractices), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=org.apache.wicket.BestPractices), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -41,7 +46,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/apache/wicket/migratetowicket10.md b/docs/recipes/org/apache/wicket/migratetowicket10.md index 3a8287319f..9003469a4d 100644 --- a/docs/recipes/org/apache/wicket/migratetowicket10.md +++ b/docs/recipes/org/apache/wicket/migratetowicket10.md @@ -13,11 +13,16 @@ _Migrates Wicket 9.x to Wicket 10.x, as well as Java 17 and Jakarta._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.apache.wicket.MigrateToWicket10), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.apache.wicket.MigrateToWicket10), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -102,7 +107,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md b/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md index e514c18149..0832af601a 100644 --- a/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md +++ b/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_jakarta.md @@ -13,11 +13,16 @@ _Migration file to upgrade from an Axon Framework Javax-specific project to Jaka ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.axonframework.migration.UpgradeAxonFramework_4_Jakarta), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.axonframework.migration.UpgradeAxonFramework_4_Jakarta), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -182,7 +187,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_javax.md b/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_javax.md index 87f22994a5..31f9c1390a 100644 --- a/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_javax.md +++ b/docs/recipes/org/axonframework/migration/upgradeaxonframework_4_javax.md @@ -13,11 +13,16 @@ _Migration file to upgrade an Axon Framework Javax-specific project and remain o ## Recipe source -[GitHub](https://github.com/search?type=code&q=org.axonframework.migration.UpgradeAxonFramework_4_Javax), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=org.axonframework.migration.UpgradeAxonFramework_4_Javax), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -140,7 +145,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/properties/addproperty.md b/docs/recipes/properties/addproperty.md index 8f7dc1ebb5..53aa7e729c 100644 --- a/docs/recipes/properties/addproperty.md +++ b/docs/recipes/properties/addproperty.md @@ -13,8 +13,9 @@ _Adds a new property to a property file. Attempts to place the new property in a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/AddProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/AddProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Adds a new property to a property file. Attempts to place the new property in a | `String` | comment | *Optional*. A comment that will be added to the new property. | `This is a comment` | | `String` | delimiter | *Optional*. Property entries support different delimiters (`=`, `:`, or whitespace). The default value is `=` unless provided the delimiter of the new property entry. | `:` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddPropertyExample displayName: Add a new property example recipeList: - - org.openrewrite.properties.AddProperty: - property: management.metrics.enable.process.files + - org.openrewrite.properties.AddProperty: property: management.metrics.enable.process.files value: newPropValue comment: This is a comment delimiter: : diff --git a/docs/recipes/properties/addpropertycomment.md b/docs/recipes/properties/addpropertycomment.md index 9f3c5b2d64..b4b66b0834 100644 --- a/docs/recipes/properties/addpropertycomment.md +++ b/docs/recipes/properties/addpropertycomment.md @@ -13,8 +13,9 @@ _Add a new comment before a property key if not already present, optionally comm ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/AddPropertyComment.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/AddPropertyComment.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Add a new comment before a property key if not already present, optionally comm | `String` | comment | The comment to be added. | `comment` | | `Boolean` | commentOutProperty | *Optional*. If true, property will be commented out. | `true` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPropertyCommentExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddPropertyCommentExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddPropertyCommentExample displayName: Add comment before property key example recipeList: - - org.openrewrite.properties.AddPropertyComment: - propertyKey: management.metrics.binders + - org.openrewrite.properties.AddPropertyComment: propertyKey: management.metrics.binders comment: comment commentOutProperty: true ``` diff --git a/docs/recipes/properties/changepropertykey.md b/docs/recipes/properties/changepropertykey.md index b648fd3d7d..d2f124f0be 100644 --- a/docs/recipes/properties/changepropertykey.md +++ b/docs/recipes/properties/changepropertykey.md @@ -13,8 +13,9 @@ _Change a property key leaving the value intact._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/ChangePropertyKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/ChangePropertyKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Change a property key leaving the value intact._ | `Boolean` | relaxedBinding | *Optional*. Whether to match the `oldPropertyKey` using [relaxed binding](https://docs.spring.io/spring-boot/docs/2.5.6/reference/html/features.html#features.external-config.typesafe-configuration-properties.relaxed-binding) rules. Default is `true`. Set to `false` to use exact matching. | | | `Boolean` | regex | *Optional*. Default false. If enabled, `oldPropertyKey` will be interpreted as a Regular Expression, and capture group contents will be available in `newPropertyKey` | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePropertyKeyExample displayName: Change property key example recipeList: - - org.openrewrite.properties.ChangePropertyKey: - oldPropertyKey: management.metrics.binders.files.enabled + - org.openrewrite.properties.ChangePropertyKey: oldPropertyKey: management.metrics.binders.files.enabled newPropertyKey: management.metrics.enable.process.files ``` diff --git a/docs/recipes/properties/changepropertyvalue.md b/docs/recipes/properties/changepropertyvalue.md index 89f7301faa..14f67c58d4 100644 --- a/docs/recipes/properties/changepropertyvalue.md +++ b/docs/recipes/properties/changepropertyvalue.md @@ -13,8 +13,9 @@ _Change a property value leaving the key intact._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/ChangePropertyValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/ChangePropertyValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Change a property value leaving the key intact._ | `Boolean` | regex | *Optional*. Default `false`. If enabled, `oldValue` will be interpreted as a Regular Expression, to replace only all parts that match the regex. Capturing group can be used in `newValue`. | | | `Boolean` | relaxedBinding | *Optional*. Whether to match the `propertyKey` using [relaxed binding](https://docs.spring.io/spring-boot/docs/2.5.6/reference/html/features.html#features.external-config.typesafe-configuration-properties.relaxed-binding) rules. Default is `true`. Set to `false` to use exact matching. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePropertyValueExample displayName: Change property value example recipeList: - - org.openrewrite.properties.ChangePropertyValue: - propertyKey: management.metrics.binders.*.enabled + - org.openrewrite.properties.ChangePropertyValue: propertyKey: management.metrics.binders.*.enabled newValue: newValue oldValue: oldValue ``` diff --git a/docs/recipes/properties/createpropertiesfile.md b/docs/recipes/properties/createpropertiesfile.md index 32c847279c..d719f5b8bd 100644 --- a/docs/recipes/properties/createpropertiesfile.md +++ b/docs/recipes/properties/createpropertiesfile.md @@ -13,8 +13,9 @@ _Create a new Properties file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/CreatePropertiesFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/CreatePropertiesFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Create a new Properties file._ | `String` | fileContents | *Optional*. Multiline text content for the file. | `a.property=value` | | `Boolean` | overwriteExisting | *Optional*. If there is an existing file, should it be overwritten. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CreatePropertiesFileExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CreatePropertiesFileExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.CreatePropertiesFileExample displayName: Create Properties file example recipeList: - - org.openrewrite.properties.CreatePropertiesFile: - relativeFileName: foo/bar/baz.properties + - org.openrewrite.properties.CreatePropertiesFile: relativeFileName: foo/bar/baz.properties fileContents: a.property=value ``` diff --git a/docs/recipes/properties/deleteproperty.md b/docs/recipes/properties/deleteproperty.md index f3f8e60616..bc6843129f 100644 --- a/docs/recipes/properties/deleteproperty.md +++ b/docs/recipes/properties/deleteproperty.md @@ -13,8 +13,9 @@ _Deletes key/value pairs from properties files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/DeleteProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/DeleteProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Deletes key/value pairs from properties files._ | `String` | propertyKey | The key(s) to be deleted. This is a glob expression. | `management.metrics.binders.files.enabled or management.metrics.*` | | `Boolean` | relaxedBinding | *Optional*. Whether to match the `propertyKey` using [relaxed binding](https://docs.spring.io/spring-boot/docs/2.5.6/reference/html/features.html#features.external-config.typesafe-configuration-properties.relaxed-binding) rules. Default is `true`. Set to `false` to use exact matching. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeletePropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeletePropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DeletePropertyExample displayName: Delete Property example recipeList: - - org.openrewrite.properties.DeleteProperty: - propertyKey: management.metrics.binders.files.enabled or management.metrics.* + - org.openrewrite.properties.DeleteProperty: propertyKey: management.metrics.binders.files.enabled or management.metrics.* ``` Now that `com.yourorg.DeletePropertyExample` has been defined, activate it in your build file: diff --git a/docs/recipes/properties/search/findproperties.md b/docs/recipes/properties/search/findproperties.md index 90e7cea9ae..5e6a791921 100644 --- a/docs/recipes/properties/search/findproperties.md +++ b/docs/recipes/properties/search/findproperties.md @@ -13,8 +13,9 @@ _Finds occurrences of a property key._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/search/FindProperties.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-properties/src/main/java/org/openrewrite/properties/search/FindProperties.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-properties/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Finds occurrences of a property key._ | `String` | propertyKey | The property key to look for. | `management.metrics.binders.files.enabled` | | `Boolean` | relaxedBinding | *Optional*. Whether to match the `propertyKey` using [relaxed binding](https://docs.spring.io/spring-boot/docs/2.5.6/reference/html/features.html#features.external-config.typesafe-configuration-properties.relaxed-binding) rules. Default is `true`. Set to `false` to use exact matching. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindPropertiesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindPropertiesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindPropertiesExample displayName: Find property example recipeList: - - org.openrewrite.properties.search.FindProperties: - propertyKey: management.metrics.binders.files.enabled + - org.openrewrite.properties.search.FindProperties: propertyKey: management.metrics.binders.files.enabled ``` Now that `com.yourorg.FindPropertiesExample` has been defined, activate it in your build file: diff --git a/docs/recipes/quarkus/addquarkusproperty.md b/docs/recipes/quarkus/addquarkusproperty.md index be9898de02..cce8b4b5a3 100644 --- a/docs/recipes/quarkus/addquarkusproperty.md +++ b/docs/recipes/quarkus/addquarkusproperty.md @@ -13,8 +13,9 @@ _Add a Quarkus configuration property to an existing configuration file if it do ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/AddQuarkusProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/AddQuarkusProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Add a Quarkus configuration property to an existing configuration file if it do | `String` | profile | *Optional*. The profile to add the property to. If not specified, the property will be added to the default profile. | `dev` | | `List` | pathExpressions | *Optional*. Each value in this list represents a glob expression that is used to match which files will be modified. If this value is not present, this recipe will query the execution context for reasonable defaults. ("**/application.yml", "**/application.yaml", "**/application.properties" and "**/META-INF/microprofile-config.properties". | `["**/application.yaml"]` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddQuarkusPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddQuarkusPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddQuarkusPropertyExample displayName: Add a Quarkus configuration property example recipeList: - - org.openrewrite.quarkus.AddQuarkusProperty: - property: quarkus.http.port + - org.openrewrite.quarkus.AddQuarkusProperty: property: quarkus.http.port value: 9090 comment: This is a comment profile: dev diff --git a/docs/recipes/quarkus/changequarkuspropertykey.md b/docs/recipes/quarkus/changequarkuspropertykey.md index 4db1e7737b..13fd8b2806 100644 --- a/docs/recipes/quarkus/changequarkuspropertykey.md +++ b/docs/recipes/quarkus/changequarkuspropertykey.md @@ -13,8 +13,9 @@ _Change the key of a property in Quarkus configuration files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/ChangeQuarkusPropertyKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/ChangeQuarkusPropertyKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Change the key of a property in Quarkus configuration files._ | `Boolean` | changeAllProfiles | *Optional*. If set to true, the property will be changed on all available profiles. Defaults to `true` if a profile is not defined. | `false` | | `List` | pathExpressions | *Optional*. Each value in this list represents a glob expression that is used to match which files will be modified. If this value is not present, this recipe will query the execution context for reasonable defaults. ("**/application.yml", "**/application.yaml", "**/application.properties" and "**/META-INF/microprofile-config.properties". | `["**/application.yaml"]` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeQuarkusPropertyKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeQuarkusPropertyKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeQuarkusPropertyKeyExample displayName: Change Quarkus configuration property key example recipeList: - - org.openrewrite.quarkus.ChangeQuarkusPropertyKey: - oldPropertyKey: quarkus.hibernate-search-orm.automatic-indexing.synchronization.strategy + - org.openrewrite.quarkus.ChangeQuarkusPropertyKey: oldPropertyKey: quarkus.hibernate-search-orm.automatic-indexing.synchronization.strategy newPropertyKey: quarkus.hibernate-search-orm.indexing.plan.synchronization.strategy profile: dev changeAllProfiles: false diff --git a/docs/recipes/quarkus/changequarkuspropertyvalue.md b/docs/recipes/quarkus/changequarkuspropertyvalue.md index bf915da58e..7be102bfec 100644 --- a/docs/recipes/quarkus/changequarkuspropertyvalue.md +++ b/docs/recipes/quarkus/changequarkuspropertyvalue.md @@ -13,8 +13,9 @@ _Change the value of a property in Quarkus configuration files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/ChangeQuarkusPropertyValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/ChangeQuarkusPropertyValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Change the value of a property in Quarkus configuration files._ | `Boolean` | changeAllProfiles | *Optional*. If set to true, the property value will be changed on all available profiles. Defaults to `true` if a profile is not defined. | `false` | | `List` | pathExpressions | *Optional*. Each value in this list represents a glob expression that is used to match which files will be modified. If this value is not present, this recipe will query the execution context for reasonable defaults. ("**/application.yml", "**/application.yaml", "**/application.properties" and "**/META-INF/microprofile-config.properties". | `["**/application.yaml"]` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeQuarkusPropertyValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeQuarkusPropertyValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeQuarkusPropertyValueExample displayName: Change Quarkus configuration property value example recipeList: - - org.openrewrite.quarkus.ChangeQuarkusPropertyValue: - propertyKey: quarkus.hibernate-search-orm.indexing.plan.synchronization.strategy + - org.openrewrite.quarkus.ChangeQuarkusPropertyValue: propertyKey: quarkus.hibernate-search-orm.indexing.plan.synchronization.strategy newValue: read-sync oldValue: read-sync profile: dev diff --git a/docs/recipes/quarkus/configpropertiestoconfigmapping.md b/docs/recipes/quarkus/configpropertiestoconfigmapping.md index e358e6c9b2..b00c0d5072 100644 --- a/docs/recipes/quarkus/configpropertiestoconfigmapping.md +++ b/docs/recipes/quarkus/configpropertiestoconfigmapping.md @@ -13,12 +13,17 @@ _Migrate Quarkus configuration classes annotated with `@ConfigProperties` to the ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/ConfigPropertiesToConfigMapping.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/ConfigPropertiesToConfigMapping.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/configurequarkusmavenpluginwithreasonabledefaults.md b/docs/recipes/quarkus/configurequarkusmavenpluginwithreasonabledefaults.md index 3d0f9b3f26..246dcf1c71 100644 --- a/docs/recipes/quarkus/configurequarkusmavenpluginwithreasonabledefaults.md +++ b/docs/recipes/quarkus/configurequarkusmavenpluginwithreasonabledefaults.md @@ -16,12 +16,17 @@ Configures the `quarkus-maven-plugin` with reasonable defaults, such as default ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/ConfigureQuarkusMavenPluginWithReasonableDefaults.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/ConfigureQuarkusMavenPluginWithReasonableDefaults.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/deletequarkusproperty.md b/docs/recipes/quarkus/deletequarkusproperty.md index 27c36a35b3..57fe9624d2 100644 --- a/docs/recipes/quarkus/deletequarkusproperty.md +++ b/docs/recipes/quarkus/deletequarkusproperty.md @@ -13,8 +13,9 @@ _Delete a property from Quarkus configuration files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/DeleteQuarkusProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/DeleteQuarkusProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Delete a property from Quarkus configuration files._ | `Boolean` | deleteFromAllProfiles | *Optional*. If set to true, the property will be removed from all available profiles. Defaults to `true`. | `false` | | `List` | pathExpressions | *Optional*. Each value in this list represents a glob expression that is used to match which files will be modified. If this value is not present, this recipe will query the execution context for reasonable defaults. ("**/application.yml", "**/application.yaml", "**/application.properties" and "**/META-INF/microprofile-config.properties". | `["**/application.yaml"]` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteQuarkusPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteQuarkusPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DeleteQuarkusPropertyExample displayName: Delete Quarkus configuration property example recipeList: - - org.openrewrite.quarkus.DeleteQuarkusProperty: - propertyKey: quarkus.hibernate-search-orm.indexing.plan.synchronization.strategy + - org.openrewrite.quarkus.DeleteQuarkusProperty: propertyKey: quarkus.hibernate-search-orm.indexing.plan.synchronization.strategy oldValue: read-sync profile: dev deleteFromAllProfiles: false diff --git a/docs/recipes/quarkus/migrate/javaee/addquarkus2dependencies.md b/docs/recipes/quarkus/migrate/javaee/addquarkus2dependencies.md index 7d9045aa70..773d446b3b 100644 --- a/docs/recipes/quarkus/migrate/javaee/addquarkus2dependencies.md +++ b/docs/recipes/quarkus/migrate/javaee/addquarkus2dependencies.md @@ -13,11 +13,16 @@ _Add Quarkus 2 dependencies to the project._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/javaee7-to-quarkus.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/javaee7-to-quarkus.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -94,7 +99,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/migrate/javaee/addquarkus2mavenplugins.md b/docs/recipes/quarkus/migrate/javaee/addquarkus2mavenplugins.md index d46c5da7b5..8b79ee5cec 100644 --- a/docs/recipes/quarkus/migrate/javaee/addquarkus2mavenplugins.md +++ b/docs/recipes/quarkus/migrate/javaee/addquarkus2mavenplugins.md @@ -13,11 +13,16 @@ _Upgrade Standard JavaEE dependencies to Quarkus 2 dependencies._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/javaee7-to-quarkus.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/javaee7-to-quarkus.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -134,7 +139,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2codemigration.md b/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2codemigration.md index e8de361ed4..aacdeee10a 100644 --- a/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2codemigration.md +++ b/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2codemigration.md @@ -13,11 +13,16 @@ _Migrate Standard JavaEE Code to Quarkus 2._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/javaee7-to-quarkus.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/javaee7-to-quarkus.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -142,7 +147,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2migration.md b/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2migration.md index 9f9bcac74c..6a8e6a4a52 100644 --- a/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2migration.md +++ b/docs/recipes/quarkus/migrate/javaee/javaeetoquarkus2migration.md @@ -13,11 +13,16 @@ _These recipes help with the migration of a JavaEE application using EJBs and Hi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/javaee7-to-quarkus.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/javaee7-to-quarkus.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/migrate/javaee/removejavaeedependencies.md b/docs/recipes/quarkus/migrate/javaee/removejavaeedependencies.md index 941fba6b63..9cfb6a75f2 100644 --- a/docs/recipes/quarkus/migrate/javaee/removejavaeedependencies.md +++ b/docs/recipes/quarkus/migrate/javaee/removejavaeedependencies.md @@ -13,11 +13,16 @@ _Remove JavaEE dependencies from the project._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/javaee7-to-quarkus.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/javaee7-to-quarkus.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/migratequarkusmavenpluginnativeimagegoal.md b/docs/recipes/quarkus/migratequarkusmavenpluginnativeimagegoal.md index a7bbef6c9b..6d36642f90 100644 --- a/docs/recipes/quarkus/migratequarkusmavenpluginnativeimagegoal.md +++ b/docs/recipes/quarkus/migratequarkusmavenpluginnativeimagegoal.md @@ -16,12 +16,17 @@ Migrates the `quarkus-maven-plugin` deprecated `native-image` goal. If the `nati ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/MigrateQuarkusMavenPluginNativeImageGoal.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/MigrateQuarkusMavenPluginNativeImageGoal.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/multitransformhotstreamtomultihotstream.md b/docs/recipes/quarkus/multitransformhotstreamtomultihotstream.md index 577691e5cc..7771e8bd7d 100644 --- a/docs/recipes/quarkus/multitransformhotstreamtomultihotstream.md +++ b/docs/recipes/quarkus/multitransformhotstreamtomultihotstream.md @@ -13,12 +13,17 @@ _Replace Mutiny API usages of `multi.transform().toHotStream()` with `multi.toHo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/MultiTransformHotStreamToMultiHotStream.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/MultiTransformHotStreamToMultiHotStream.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/quarkus1to1_13migration.md b/docs/recipes/quarkus/quarkus1to1_13migration.md index 06b6a675b2..964a1a3eba 100644 --- a/docs/recipes/quarkus/quarkus1to1_13migration.md +++ b/docs/recipes/quarkus/quarkus1to1_13migration.md @@ -13,11 +13,16 @@ _Migrates Quarkus 1.11 to 1.13._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/quarkus.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/quarkus.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -134,7 +139,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/quarkus2/grpcserviceannotationtogrpcclient.md b/docs/recipes/quarkus/quarkus2/grpcserviceannotationtogrpcclient.md index c3fd657061..dadf89df5a 100644 --- a/docs/recipes/quarkus/quarkus2/grpcserviceannotationtogrpcclient.md +++ b/docs/recipes/quarkus/quarkus2/grpcserviceannotationtogrpcclient.md @@ -13,12 +13,17 @@ _The `@GrpcService` annotation is replaced with `@GrpcClient` in Quarkus 2.x. Re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/quarkus2/GrpcServiceAnnotationToGrpcClient.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/quarkus2/GrpcServiceAnnotationToGrpcClient.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/quarkus2/quarkus1to2migration.md b/docs/recipes/quarkus/quarkus2/quarkus1to2migration.md index fd4abf3623..7b4b651bf6 100644 --- a/docs/recipes/quarkus/quarkus2/quarkus1to2migration.md +++ b/docs/recipes/quarkus/quarkus2/quarkus1to2migration.md @@ -13,11 +13,16 @@ _Migrates Quarkus 1.x to 2.x._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/quarkus.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/resources/META-INF/rewrite/quarkus.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -160,7 +165,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/quarkus2/removeavromavenplugin.md b/docs/recipes/quarkus/quarkus2/removeavromavenplugin.md index 6063109e5d..ac7382a85e 100644 --- a/docs/recipes/quarkus/quarkus2/removeavromavenplugin.md +++ b/docs/recipes/quarkus/quarkus2/removeavromavenplugin.md @@ -13,12 +13,17 @@ _Removes the `avro-maven-plugin` if the `quarkus-maven-plugin` is found in the p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/quarkus2/RemoveAvroMavenPlugin.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/quarkus2/RemoveAvroMavenPlugin.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/quarkus2/useidentifierondefaultkafkabroker.md b/docs/recipes/quarkus/quarkus2/useidentifierondefaultkafkabroker.md index a17314a985..6732bb0e34 100644 --- a/docs/recipes/quarkus/quarkus2/useidentifierondefaultkafkabroker.md +++ b/docs/recipes/quarkus/quarkus2/useidentifierondefaultkafkabroker.md @@ -13,12 +13,17 @@ _Use `@io.smallrye.common.annotation.Identifier` on default kafka broker configu ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/quarkus2/UseIdentifierOnDefaultKafkaBroker.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/quarkus2/UseIdentifierOnDefaultKafkaBroker.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/quarkus2/usepanacheentitybasestaticmethods.md b/docs/recipes/quarkus/quarkus2/usepanacheentitybasestaticmethods.md index ad38e11b2e..1effc037ba 100644 --- a/docs/recipes/quarkus/quarkus2/usepanacheentitybasestaticmethods.md +++ b/docs/recipes/quarkus/quarkus2/usepanacheentitybasestaticmethods.md @@ -13,12 +13,17 @@ _The `getEntityManager()` and the `flush()` methods of `PanacheEntityBase` are n ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/quarkus2/UsePanacheEntityBaseStaticMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/quarkus2/UsePanacheEntityBaseStaticMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/quarkus2/usepanacheentitybaseunit.md b/docs/recipes/quarkus/quarkus2/usepanacheentitybaseunit.md index 65e2d072f2..0790c46399 100644 --- a/docs/recipes/quarkus/quarkus2/usepanacheentitybaseunit.md +++ b/docs/recipes/quarkus/quarkus2/usepanacheentitybaseunit.md @@ -16,12 +16,17 @@ The `persist()` and `persistAndFlush()` methods now return an `Uni diff --git a/docs/recipes/quarkus/quarkus2/usereactivepanachemongoentitybaseunit.md b/docs/recipes/quarkus/quarkus2/usereactivepanachemongoentitybaseunit.md index 2d5db0a423..046059e3ec 100644 --- a/docs/recipes/quarkus/quarkus2/usereactivepanachemongoentitybaseunit.md +++ b/docs/recipes/quarkus/quarkus2/usereactivepanachemongoentitybaseunit.md @@ -16,12 +16,17 @@ The `persist()`, `update()`, and `persistOrUpdate()` methods now return a `Uni diff --git a/docs/recipes/quarkus/search/findquarkusprofiles.md b/docs/recipes/quarkus/search/findquarkusprofiles.md index 9ed6536ea7..e821c750ce 100644 --- a/docs/recipes/quarkus/search/findquarkusprofiles.md +++ b/docs/recipes/quarkus/search/findquarkusprofiles.md @@ -13,12 +13,17 @@ _Search the properties for existing Quarkus profiles._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/search/FindQuarkusProfiles.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/search/FindQuarkusProfiles.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-quarkus` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/quarkus/search/findquarkusproperties.md b/docs/recipes/quarkus/search/findquarkusproperties.md index 6f2e84b6c2..3c802d4c69 100644 --- a/docs/recipes/quarkus/search/findquarkusproperties.md +++ b/docs/recipes/quarkus/search/findquarkusproperties.md @@ -13,8 +13,9 @@ _Finds occurrences of a Quarkus property key._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/search/FindQuarkusProperties.java), [Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) - +[GitHub](https://github.com/openrewrite/rewrite-quarkus/blob/main/src/main/java/org/openrewrite/quarkus/search/FindQuarkusProperties.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-quarkus/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-quarkus/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Finds occurrences of a Quarkus property key._ | `String` | profile | *Optional*. The profile where the property is defined. If not specified, the property will be searched on all profiles. | `dev` | | `Boolean` | searchAllProfiles | *Optional*. If set, the property will be searched on all available profiles. Defaults to `true` if the profile is not defined. | `false` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindQuarkusPropertiesExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindQuarkusPropertiesExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindQuarkusPropertiesExample displayName: Find Quarkus property example recipeList: - - org.openrewrite.quarkus.search.FindQuarkusProperties: - propertyKey: quarkus.http.port + - org.openrewrite.quarkus.search.FindQuarkusProperties: propertyKey: quarkus.http.port profile: dev searchAllProfiles: false ``` diff --git a/docs/recipes/reactive/reactor/reactorbestpractices.md b/docs/recipes/reactive/reactor/reactorbestpractices.md index b2f2ccba3f..5c1b538bfa 100644 --- a/docs/recipes/reactive/reactor/reactorbestpractices.md +++ b/docs/recipes/reactive/reactor/reactorbestpractices.md @@ -17,12 +17,16 @@ _This recipe applies best practices for using Reactor._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/resources/META-INF/rewrite/reactor-3.5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactordoaftersuccessorerrortotap.md b/docs/recipes/reactive/reactor/reactordoaftersuccessorerrortotap.md index 8e27ad81bd..70d6532436 100644 --- a/docs/recipes/reactive/reactor/reactordoaftersuccessorerrortotap.md +++ b/docs/recipes/reactive/reactor/reactordoaftersuccessorerrortotap.md @@ -13,12 +13,16 @@ _As of reactor-core 3.5 the `doAfterSuccessOrError` method is removed, this reci ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorDoAfterSuccessOrErrorToTap.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes$replayprocessorcachedefaulttosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes$replayprocessorcachedefaulttosinkrecipe.md index 8bc70e6c43..5241a80cd6 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes$replayprocessorcachedefaulttosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes$replayprocessorcachedefaulttosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 ReplayProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCacheToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes$replayprocessorcachetosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes$replayprocessorcachetosinkrecipe.md index 0f6da74792..7f3f1e644f 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes$replayprocessorcachetosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes$replayprocessorcachetosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 ReplayProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCacheToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes.md b/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes.md index 147d262c2d..5a5fe77a2e 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcachetosinkrecipes.md @@ -13,15 +13,16 @@ _As of 3.5 Processors are deprecated and Sinks are preferred._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCacheToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$directprocessorcreatetosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$directprocessorcreatetosinkrecipe.md index e709d98595..46b7b05c7d 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$directprocessorcreatetosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$directprocessorcreatetosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 DirectProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreatebooleantosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreatebooleantosinkrecipe.md index 67585ea5b7..2afc8b45ad 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreatebooleantosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreatebooleantosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 EmitterProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreateintbooleantosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreateintbooleantosinkrecipe.md index 5d6050346d..a0c8cff293 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreateintbooleantosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreateintbooleantosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 EmitterProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreateinttosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreateinttosinkrecipe.md index cb0db02105..b14b14b951 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreateinttosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreateinttosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 EmitterProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreatetosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreatetosinkrecipe.md index 54b72344c1..a3817a20ac 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreatetosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$emitterprocessorcreatetosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 EmitterProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$monoprocessorcreatetosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$monoprocessorcreatetosinkrecipe.md index c2f2508e6c..aa724f4f82 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$monoprocessorcreatetosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$monoprocessorcreatetosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 MonoProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateintliteralfalsetosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateintliteralfalsetosinkrecipe.md index 9739e66e8c..511b9e1546 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateintliteralfalsetosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateintliteralfalsetosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 ReplayProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateintliteraltruetosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateintliteraltruetosinkrecipe.md index b78bc4ae43..0ae8ca2a3d 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateintliteraltruetosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateintliteraltruetosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 ReplayProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateinttosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateinttosinkrecipe.md index c3a0b57cd8..41144ffe38 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateinttosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreateinttosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 ReplayProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatesizeandtimeoutschedulertosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatesizeandtimeoutschedulertosinkrecipe.md index f281a56c1f..02952fa463 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatesizeandtimeoutschedulertosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatesizeandtimeoutschedulertosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 ReplayProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatesizeandtimeouttosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatesizeandtimeouttosinkrecipe.md index ff3dc7dae2..91de4d3363 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatesizeandtimeouttosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatesizeandtimeouttosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 ReplayProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetimeoutschedulertosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetimeoutschedulertosinkrecipe.md index 67b8455d04..d4eef9f113 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetimeoutschedulertosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetimeoutschedulertosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 ReplayProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetimeouttosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetimeouttosinkrecipe.md index 52373a6f6f..7d116e19df 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetimeouttosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetimeouttosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 ReplayProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetosinkrecipe.md index 766ee99b77..1b0b64d9da 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$replayprocessorcreatetosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 ReplayProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeueconsumerdisposabletosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeueconsumerdisposabletosinkrecipe.md index b7fb9d4194..6902c605b2 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeueconsumerdisposabletosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeueconsumerdisposabletosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 UnicastProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeuedisposabletosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeuedisposabletosinkrecipe.md index 152e78a644..2f93d2aac6 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeuedisposabletosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeuedisposabletosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 UnicastProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeuetosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeuetosinkrecipe.md index d7b3a451d1..2df9a710bc 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeuetosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatequeuetosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 UnicastProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatetosinkrecipe.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatetosinkrecipe.md index b816bfbb09..45fa604432 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatetosinkrecipe.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes$unicastprocessorcreatetosinkrecipe.md @@ -13,12 +13,16 @@ _As of 3.5 UnicastProcessor is deprecated and Sinks are preferred_ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes.md b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes.md index b77c4bc99e..22f6ed17e6 100644 --- a/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes.md +++ b/docs/recipes/reactive/reactor/reactorprocessorcreatetosinkrecipes.md @@ -13,15 +13,16 @@ _As of 3.5 Processors are deprecated and Sinks are preferred._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/java/org/openrewrite/reactive/reactor/ReactorProcessorCreateToSink.java), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/reactive/reactor/upgradereactor_3_5.md b/docs/recipes/reactive/reactor/upgradereactor_3_5.md index 5defed59d4..dc2d6eb6d3 100644 --- a/docs/recipes/reactive/reactor/upgradereactor_3_5.md +++ b/docs/recipes/reactive/reactor/upgradereactor_3_5.md @@ -17,15 +17,16 @@ _Adopt to [breaking changes in Reactor 3.5](https://projectreactor.io/docs/core/ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-reactive-streams/blob/main/src/main/resources/META-INF/rewrite/reactor-3.5.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-reactive-streams/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-reactive-streams/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-reactive-streams` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/recipes/javarecipebestpractices.md b/docs/recipes/recipes/javarecipebestpractices.md index e84ae86c07..fd17e2c61c 100644 --- a/docs/recipes/recipes/javarecipebestpractices.md +++ b/docs/recipes/recipes/javarecipebestpractices.md @@ -13,11 +13,16 @@ _Best practices for Java recipe development._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/openrewrite.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) - +[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/openrewrite.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -66,7 +71,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/recipes/openrewritebestpractices.md b/docs/recipes/recipes/openrewritebestpractices.md index 0e15929922..f70bc4946e 100644 --- a/docs/recipes/recipes/openrewritebestpractices.md +++ b/docs/recipes/recipes/openrewritebestpractices.md @@ -13,11 +13,16 @@ _Best practices for OpenRewrite recipe development._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/openrewrite.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) - +[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/openrewrite.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -74,7 +79,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/recipes/recipenullabilitybestpractices.md b/docs/recipes/recipes/recipenullabilitybestpractices.md index a84ee73eaa..edff788aca 100644 --- a/docs/recipes/recipes/recipenullabilitybestpractices.md +++ b/docs/recipes/recipes/recipenullabilitybestpractices.md @@ -13,11 +13,16 @@ _Use JSpecify nullable annotations; drop Nonnull annotations; use `NullMarked` o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/openrewrite.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) - +[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/openrewrite.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/recipes/recipetestingbestpractices.md b/docs/recipes/recipes/recipetestingbestpractices.md index 38e8363d36..59f33afb4d 100644 --- a/docs/recipes/recipes/recipetestingbestpractices.md +++ b/docs/recipes/recipes/recipetestingbestpractices.md @@ -13,11 +13,16 @@ _Best practices for testing recipes._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/openrewrite.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) - +[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/openrewrite.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/recommendations/codehealth.md b/docs/recipes/recommendations/codehealth.md index 9fe1dcec2b..1378bf35df 100644 --- a/docs/recipes/recommendations/codehealth.md +++ b/docs/recipes/recommendations/codehealth.md @@ -18,11 +18,16 @@ _Used for Code Health metric on moderne radar._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/radar.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) - +[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/radar.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/recommendations/codestyle.md b/docs/recipes/recommendations/codestyle.md index 617926ef58..ccc3bdf8fe 100644 --- a/docs/recipes/recommendations/codestyle.md +++ b/docs/recipes/recommendations/codestyle.md @@ -18,11 +18,16 @@ _Used for Code Style metric on moderne radar._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/radar.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) - +[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/radar.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -68,7 +73,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/recommendations/dependencymanagement.md b/docs/recipes/recommendations/dependencymanagement.md index 4a6b364f34..41b968bcc3 100644 --- a/docs/recipes/recommendations/dependencymanagement.md +++ b/docs/recipes/recommendations/dependencymanagement.md @@ -18,11 +18,16 @@ _Used for Dependency Management metric on moderne radar._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/radar.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) - +[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/radar.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/recommendations/infrastructureascode.md b/docs/recipes/recommendations/infrastructureascode.md index e312fda6ce..8e51b1759d 100644 --- a/docs/recipes/recommendations/infrastructureascode.md +++ b/docs/recipes/recommendations/infrastructureascode.md @@ -18,11 +18,16 @@ _Used for Infrastructure As Code metric on moderne radar._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/radar.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) - +[GitHub](https://github.com/openrewrite/rewrite-recommendations/blob/main/src/main/resources/META-INF/rewrite/radar.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-recommendations/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-recommendations/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-recommendations` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/scala/migrate/upgradescala_2_12.md b/docs/recipes/scala/migrate/upgradescala_2_12.md index cf1e61e51b..8893e49b2d 100644 --- a/docs/recipes/scala/migrate/upgradescala_2_12.md +++ b/docs/recipes/scala/migrate/upgradescala_2_12.md @@ -17,7 +17,12 @@ _Upgrade the Scala version for compatibility with newer Java versions._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/scala.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +[GitHub](https://github.com/openrewrite/rewrite-migrate-java/blob/main/src/main/resources/META-INF/rewrite/scala.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-migrate-java/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-migrate-java/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -53,7 +58,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-migrate-java` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/search/findbuildmetadata.md b/docs/recipes/search/findbuildmetadata.md index 4c54b8f1af..515c405caa 100644 --- a/docs/recipes/search/findbuildmetadata.md +++ b/docs/recipes/search/findbuildmetadata.md @@ -13,8 +13,9 @@ _Find source files with matching build metadata._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/search/FindBuildMetadata.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/search/FindBuildMetadata.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Find source files with matching build metadata._ | `String` | key | The key to search for in the build metadata. | `lstFormatVersion` | | `String` | value | The value to search for in the build metadata. | `2` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindBuildMetadataExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindBuildMetadataExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindBuildMetadataExample displayName: Find build metadata example recipeList: - - org.openrewrite.search.FindBuildMetadata: - key: lstFormatVersion + - org.openrewrite.search.FindBuildMetadata: key: lstFormatVersion value: 2 ``` diff --git a/docs/recipes/search/findcommitters.md b/docs/recipes/search/findcommitters.md index ba3cddf8d9..9275ac14ec 100644 --- a/docs/recipes/search/findcommitters.md +++ b/docs/recipes/search/findcommitters.md @@ -13,14 +13,19 @@ _List the committers on a repository._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/search/FindCommitters.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/search/FindCommitters.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | fromDate | *Optional*. Optional. Take into account only commits since this date (inclusive). Default will be the entire history. | `2023-01-01` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/search/findparsetoprintinequality.md b/docs/recipes/search/findparsetoprintinequality.md index 873205f141..cfaef9d202 100644 --- a/docs/recipes/search/findparsetoprintinequality.md +++ b/docs/recipes/search/findparsetoprintinequality.md @@ -13,7 +13,12 @@ _OpenRewrite `Parser` implementations should produce `SourceFile` objects whose ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/search/FindParseToPrintInequality.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/search/FindParseToPrintInequality.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/software/amazon/awssdk/v2migration/addcommenttomethod.md b/docs/recipes/software/amazon/awssdk/v2migration/addcommenttomethod.md index 2d2315c7bb..6d433c1dd6 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/addcommenttomethod.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/addcommenttomethod.md @@ -13,8 +13,9 @@ _Add a comment to a method._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.AddCommentToMethod), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.AddCommentToMethod), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Add a comment to a method._ | `String` | methodPattern | A [method pattern](/reference/method-patterns) that is used to find matching method invocations. | `org.mockito.Matchers anyVararg()` | | `String` | comment | A comment to add to this method. | `This method is not supported in AWS SDK for Java v2.` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddCommentToMethodExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddCommentToMethodExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddCommentToMethodExample displayName: Add a comment to a method example recipeList: - - software.amazon.awssdk.v2migration.AddCommentToMethod: - methodPattern: org.mockito.Matchers anyVararg() + - software.amazon.awssdk.v2migration.AddCommentToMethod: methodPattern: org.mockito.Matchers anyVararg() comment: This method is not supported in AWS SDK for Java v2. ``` diff --git a/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2.md b/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2.md index b8380c2059..591b36d226 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/awssdkjavav1tov2.md @@ -18,11 +18,16 @@ _This recipe will apply changes required for migrating from the AWS SDK for Java ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.AwsSdkJavaV1ToV2), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.AwsSdkJavaV1ToV2), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -80,7 +85,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changeauthtypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changeauthtypes.md index eba2747f53..7d57b745ab 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changeauthtypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changeauthtypes.md @@ -13,11 +13,16 @@ _Change auth related classes from v1 to v2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeAuthTypes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeAuthTypes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -258,7 +263,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changeconfigtypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changeconfigtypes.md index f0d7ce3327..dd73e523dd 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changeconfigtypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changeconfigtypes.md @@ -13,11 +13,16 @@ _Change config related classes from v1 to v2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeConfigTypes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeConfigTypes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -294,7 +299,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changeexceptiontypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changeexceptiontypes.md index 11677bee45..9e463c92e8 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changeexceptiontypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changeexceptiontypes.md @@ -13,11 +13,16 @@ _Change SDK Exception types from v1 to v2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeExceptionTypes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeExceptionTypes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -162,7 +167,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changeregiontypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changeregiontypes.md index 77fc829301..5e7e27e230 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changeregiontypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changeregiontypes.md @@ -13,11 +13,16 @@ _Change region related classes from v1 to v2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeRegionTypes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeRegionTypes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -60,7 +65,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changesdkcoretypes.md b/docs/recipes/software/amazon/awssdk/v2migration/changesdkcoretypes.md index 680787398b..165ea1868a 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changesdkcoretypes.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changesdkcoretypes.md @@ -13,11 +13,16 @@ _Change SDK core types from v1 to v2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeSdkCoreTypes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeSdkCoreTypes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/changesdktype.md b/docs/recipes/software/amazon/awssdk/v2migration/changesdktype.md index eecb5ebd1b..86dbffd887 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/changesdktype.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/changesdktype.md @@ -13,12 +13,17 @@ _Change AWS SDK for Java v1 types to v2 equivalents._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeSdkType), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ChangeSdkType), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/constructortofluent.md b/docs/recipes/software/amazon/awssdk/v2migration/constructortofluent.md index 641ed24fff..de3f3a6522 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/constructortofluent.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/constructortofluent.md @@ -13,12 +13,17 @@ _A recipe that takes constructor arguments and moves them to the specified fluen ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ConstructorToFluent), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.ConstructorToFluent), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/enumcasingtov2.md b/docs/recipes/software/amazon/awssdk/v2migration/enumcasingtov2.md index 169f581f47..e9130d21f3 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/enumcasingtov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/enumcasingtov2.md @@ -13,12 +13,17 @@ _Transforms V1 enum constants from pascal case to screaming snake case for v2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.EnumCasingToV2), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.EnumCasingToV2), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/enumgetterstov2.md b/docs/recipes/software/amazon/awssdk/v2migration/enumgetterstov2.md index b0a9c57292..3028194eb2 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/enumgetterstov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/enumgetterstov2.md @@ -13,11 +13,16 @@ _Change v1 enum getters to v2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.EnumGettersToV2), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.EnumGettersToV2), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -2040,7 +2045,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/httpsettingstohttpclient.md b/docs/recipes/software/amazon/awssdk/v2migration/httpsettingstohttpclient.md index abce93e33c..32f98324fe 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/httpsettingstohttpclient.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/httpsettingstohttpclient.md @@ -13,12 +13,17 @@ _Move HTTP settings from the ClientOverrideConfiguration to ApacheHttpClient for ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.HttpSettingsToHttpClient), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.HttpSettingsToHttpClient), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilder.md b/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilder.md index 4d1be6ea5f..1cedd608d2 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilder.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilder.md @@ -13,12 +13,17 @@ _Transforms 'new' expression for generated model, client objects and client conf ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.NewClassToBuilder), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.NewClassToBuilder), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilderpattern.md b/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilderpattern.md index a8f416de77..2336fa2138 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilderpattern.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/newclasstobuilderpattern.md @@ -13,11 +13,16 @@ _Transform the creation of a class using 'new' to builder pattern._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.NewClassToBuilderPattern), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.NewClassToBuilderPattern), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/newclasstostaticfactory.md b/docs/recipes/software/amazon/awssdk/v2migration/newclasstostaticfactory.md index 86c6a2ccc1..df9f4020ca 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/newclasstostaticfactory.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/newclasstostaticfactory.md @@ -13,12 +13,17 @@ _Transforms 'new' expression for client config related objects to the equivalent ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.NewClassToStaticFactory), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.NewClassToStaticFactory), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/numbertoduration.md b/docs/recipes/software/amazon/awssdk/v2migration/numbertoduration.md index 26d054a87c..8d86c9d1e3 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/numbertoduration.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/numbertoduration.md @@ -13,8 +13,9 @@ _Convert the method parameter from numeric types to duration._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.NumberToDuration), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.NumberToDuration), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Convert the method parameter from numeric types to duration._ | `String` | methodPattern | A [method pattern](/reference/method-patterns) that is used to find matching method invocations. | `com.amazonaws.ClientConfiguration setRequestTimeout(int)` | | `TimeUnit` | timeUnit | *Optional*. The TimeUnit enum value to convert. Defaults to `MILLISECONDS`. | `MILLISECONDS` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.NumberToDurationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.NumberToDurationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.NumberToDurationExample displayName: Convert the method parameter from numeric type to duration example recipeList: - - software.amazon.awssdk.v2migration.NumberToDuration: - methodPattern: com.amazonaws.ClientConfiguration setRequestTimeout(int) + - software.amazon.awssdk.v2migration.NumberToDuration: methodPattern: com.amazonaws.ClientConfiguration setRequestTimeout(int) timeUnit: MILLISECONDS ``` diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3methodsconstructortofluent.md b/docs/recipes/software/amazon/awssdk/v2migration/s3methodsconstructortofluent.md index 381d7e74ea..cea79ac2e3 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3methodsconstructortofluent.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3methodsconstructortofluent.md @@ -13,11 +13,16 @@ _Change S3 method constructors to fluent builder calls._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.S3MethodsConstructorToFluent), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.S3MethodsConstructorToFluent), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2.md index 342063ffde..b76d09a0b7 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3nonstreamingrequesttov2.md @@ -13,12 +13,17 @@ _Transform usage of V1 S3 non-streaming requests such as CreateBucket and Delete ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.S3NonStreamingRequestToV2), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.S3NonStreamingRequestToV2), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3streamingrequesttov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3streamingrequesttov2.md index 4b591e07e6..6498a2b2ec 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3streamingrequesttov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3streamingrequesttov2.md @@ -13,12 +13,17 @@ _Transform usage of V1 S3 streaming requests such as PutObject to V2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.S3StreamingRequestToV2), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.S3StreamingRequestToV2), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/s3streamingresponsetov2.md b/docs/recipes/software/amazon/awssdk/v2migration/s3streamingresponsetov2.md index 69e79875ae..e65daaafeb 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/s3streamingresponsetov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/s3streamingresponsetov2.md @@ -13,12 +13,17 @@ _Transform usage of V1 S3Object to V2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.S3StreamingResponseToV2), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.S3StreamingResponseToV2), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/upgradesdkdependencies.md b/docs/recipes/software/amazon/awssdk/v2migration/upgradesdkdependencies.md index c7b90a36f6..1e0798d221 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/upgradesdkdependencies.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/upgradesdkdependencies.md @@ -13,11 +13,16 @@ _Change v1 Maven/Gradle dependencies to v2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.UpgradeSdkDependencies), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.UpgradeSdkDependencies), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -4634,7 +4639,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/v1buildervariationstov2builder.md b/docs/recipes/software/amazon/awssdk/v2migration/v1buildervariationstov2builder.md index 1b928260d7..5ee7bf7d19 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/v1buildervariationstov2builder.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/v1buildervariationstov2builder.md @@ -13,12 +13,17 @@ _Transforms V1 builder variations to builder()_ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.V1BuilderVariationsToV2Builder), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.V1BuilderVariationsToV2Builder), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/v1gettertov2.md b/docs/recipes/software/amazon/awssdk/v2migration/v1gettertov2.md index 206d7383bc..f19b74721c 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/v1gettertov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/v1gettertov2.md @@ -13,12 +13,17 @@ _Transforms V1 getter to fluent getter in V2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.V1GetterToV2), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.V1GetterToV2), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/v1settertov2.md b/docs/recipes/software/amazon/awssdk/v2migration/v1settertov2.md index 1d96054f52..821f1946e4 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/v1settertov2.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/v1settertov2.md @@ -13,12 +13,17 @@ _Transforms V1 setter to fluent setter in V2._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.V1SetterToV2), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.V1SetterToV2), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/software/amazon/awssdk/v2migration/wrapsdkclientbuilderregionstr.md b/docs/recipes/software/amazon/awssdk/v2migration/wrapsdkclientbuilderregionstr.md index 7b7fbeb312..06d5e7e213 100644 --- a/docs/recipes/software/amazon/awssdk/v2migration/wrapsdkclientbuilderregionstr.md +++ b/docs/recipes/software/amazon/awssdk/v2migration/wrapsdkclientbuilderregionstr.md @@ -13,12 +13,17 @@ _Wrap the region string provided on the SDK client builder with Region.of._ ## Recipe source -[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.WrapSdkClientBuilderRegionStr), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=software.amazon.awssdk.v2migration.WrapSdkClientBuilderRegionStr), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/sql/changefunctionname.md b/docs/recipes/sql/changefunctionname.md index f2aa6a033e..e1f84345c9 100644 --- a/docs/recipes/sql/changefunctionname.md +++ b/docs/recipes/sql/changefunctionname.md @@ -13,7 +13,7 @@ _When migrating between dialects, often one name can be substituted for another. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-sql/blob/main/src/main/java/org/openrewrite/sql/ChangeFunctionName.java), [Issue Tracker](https://github.com/openrewrite/rewrite-sql/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-sql/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _When migrating between dialects, often one name can be substituted for another. | `String` | oldFunctionName | The name of the function to find, case insensitive. | `NVL` | | `String` | newFunctionName | The new name to use. This will match the casing of the original method when a replacement is made. | `COALESCE` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeFunctionNameExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeFunctionNameExample displayName: Change a SQL function name example recipeList: - - org.openrewrite.sql.ChangeFunctionName: + - org.openrewrite.sql.ChangeFunctionName: oldFunctionName: NVL newFunctionName: COALESCE ``` -Now that `com.yourorg.ChangeFunctionNameExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-sql:{{VERSION_REWRITE_SQL}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/sql/findsql.md b/docs/recipes/sql/findsql.md index b60758c4df..009c830cc1 100644 --- a/docs/recipes/sql/findsql.md +++ b/docs/recipes/sql/findsql.md @@ -13,12 +13,16 @@ _Find SQL in code (e.g. in string literals) and in resources like those ending w ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-sql/blob/main/src/main/java/org/openrewrite/sql/FindSql.java), [Issue Tracker](https://github.com/openrewrite/rewrite-sql/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-sql/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-sql` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/sql/formatsql.md b/docs/recipes/sql/formatsql.md index 24fa2a6735..ed07ebddb1 100644 --- a/docs/recipes/sql/formatsql.md +++ b/docs/recipes/sql/formatsql.md @@ -13,7 +13,7 @@ _Checks whether a text block may contain SQL, and if so, formats the text accord ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-sql/blob/main/src/main/java/org/openrewrite/sql/FormatSql.java), [Issue Tracker](https://github.com/openrewrite/rewrite-sql/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-sql/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -24,10 +24,14 @@ _Checks whether a text block may contain SQL, and if so, formats the text accord | `Integer` | maxColumnLength | *Optional*. Defaults to 50. | `100` | | `Boolean` | uppercase | *Optional*. Defaults to false (not safe to use when SQL dialect has case-sensitive identifiers). | `true` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-sql` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/sql/search/findfunction.md b/docs/recipes/sql/search/findfunction.md index 73f6d54c9d..1e2bb7ba4b 100644 --- a/docs/recipes/sql/search/findfunction.md +++ b/docs/recipes/sql/search/findfunction.md @@ -13,7 +13,7 @@ _Find SQL functions by name._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-sql/blob/main/src/main/java/org/openrewrite/sql/search/FindFunction.java), [Issue Tracker](https://github.com/openrewrite/rewrite-sql/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-sql/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,25 +21,28 @@ _Find SQL functions by name._ | -- | -- | -- | -- | | `String` | functionName | The name of the function to find, case insensitive. | `nvl` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindFunctionExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindFunctionExample displayName: Find SQL function example recipeList: - - org.openrewrite.sql.search.FindFunction: + - org.openrewrite.sql.search.FindFunction: functionName: nvl ``` -Now that `com.yourorg.FindFunctionExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-sql:{{VERSION_REWRITE_SQL}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/staticanalysis/addserialannotationtoserialversionuid.md b/docs/recipes/staticanalysis/addserialannotationtoserialversionuid.md index fb153e09f8..d351926a03 100644 --- a/docs/recipes/staticanalysis/addserialannotationtoserialversionuid.md +++ b/docs/recipes/staticanalysis/addserialannotationtoserialversionuid.md @@ -13,12 +13,17 @@ _Annotation any `serialVersionUID` fields with `@Serial` to indicate it's part o ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AddSerialAnnotationToSerialVersionUID.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AddSerialAnnotationToSerialVersionUID.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/addserialversionuidtoserializable.md b/docs/recipes/staticanalysis/addserialversionuidtoserializable.md index b8850e67ad..91ef8ea706 100644 --- a/docs/recipes/staticanalysis/addserialversionuidtoserializable.md +++ b/docs/recipes/staticanalysis/addserialversionuidtoserializable.md @@ -17,12 +17,17 @@ _A `serialVersionUID` field is strongly recommended in all `Serializable` classe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AddSerialVersionUidToSerializable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AddSerialVersionUidToSerializable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/annotatenullablemethods.md b/docs/recipes/staticanalysis/annotatenullablemethods.md index 25df411b5c..6e667469d3 100644 --- a/docs/recipes/staticanalysis/annotatenullablemethods.md +++ b/docs/recipes/staticanalysis/annotatenullablemethods.md @@ -13,12 +13,17 @@ _Add the `@org.jspecify.annotation.Nullable` to non-private methods that may ret ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AnnotateNullableMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AnnotateNullableMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/atomicprimitiveequalsusesget.md b/docs/recipes/staticanalysis/atomicprimitiveequalsusesget.md index b86730b5be..5593b8fd7f 100644 --- a/docs/recipes/staticanalysis/atomicprimitiveequalsusesget.md +++ b/docs/recipes/staticanalysis/atomicprimitiveequalsusesget.md @@ -17,12 +17,17 @@ _`AtomicBoolean#equals(Object)`, `AtomicInteger#equals(Object)` and `AtomicLong# ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AtomicPrimitiveEqualsUsesGet.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AtomicPrimitiveEqualsUsesGet.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/avoidboxedbooleanexpressions.md b/docs/recipes/staticanalysis/avoidboxedbooleanexpressions.md index ddd18e78bd..95cec3c78c 100644 --- a/docs/recipes/staticanalysis/avoidboxedbooleanexpressions.md +++ b/docs/recipes/staticanalysis/avoidboxedbooleanexpressions.md @@ -17,12 +17,17 @@ _Under certain conditions the `java.lang.Boolean` type is used as an expression, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AvoidBoxedBooleanExpressions.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/AvoidBoxedBooleanExpressions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/bigdecimaldoubleconstructorrecipe.md b/docs/recipes/staticanalysis/bigdecimaldoubleconstructorrecipe.md index 8c84dea8ff..9f36d4a61e 100644 --- a/docs/recipes/staticanalysis/bigdecimaldoubleconstructorrecipe.md +++ b/docs/recipes/staticanalysis/bigdecimaldoubleconstructorrecipe.md @@ -17,12 +17,17 @@ _Use of `new BigDecimal(double)` constructor can lead to loss of precision. Use ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BigDecimalDoubleConstructor.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BigDecimalDoubleConstructor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/bigdecimalroundingconstantstoenums.md b/docs/recipes/staticanalysis/bigdecimalroundingconstantstoenums.md index aac3b780d9..edac0622a8 100644 --- a/docs/recipes/staticanalysis/bigdecimalroundingconstantstoenums.md +++ b/docs/recipes/staticanalysis/bigdecimalroundingconstantstoenums.md @@ -17,12 +17,17 @@ _Convert `BigDecimal` rounding constants to the equivalent `RoundingMode` enum._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BigDecimalRoundingConstantsToEnums.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BigDecimalRoundingConstantsToEnums.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/booleanchecksnotinverted.md b/docs/recipes/staticanalysis/booleanchecksnotinverted.md index 1b4560a86c..a3d2c761cc 100644 --- a/docs/recipes/staticanalysis/booleanchecksnotinverted.md +++ b/docs/recipes/staticanalysis/booleanchecksnotinverted.md @@ -17,12 +17,17 @@ _Ensures that boolean checks are not unnecessarily inverted. Also fixes double n ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BooleanChecksNotInverted.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BooleanChecksNotInverted.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileandbooleanargumentsrecipe.md b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileandbooleanargumentsrecipe.md index 7da583a5dc..ba59986e9a 100644 --- a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileandbooleanargumentsrecipe.md +++ b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileandbooleanargumentsrecipe.md @@ -13,12 +13,17 @@ _Convert `new BufferedWriter(new FileWriter(f, b))` to `Files.newBufferedWriter( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileargumentrecipe.md b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileargumentrecipe.md index 42996d5d8c..bbc92ad217 100644 --- a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileargumentrecipe.md +++ b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithfileargumentrecipe.md @@ -13,12 +13,17 @@ _Convert `new BufferedWriter(new FileWriter(f))` to `Files.newBufferedWriter(f.t ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringandbooleanargumentsrecipe.md b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringandbooleanargumentsrecipe.md index b96e919f6a..4ae3292e61 100644 --- a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringandbooleanargumentsrecipe.md +++ b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringandbooleanargumentsrecipe.md @@ -13,12 +13,17 @@ _Convert `new BufferedWriter(new FileWriter(s, b))` to `Files.newBufferedWriter( ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringargumentrecipe.md b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringargumentrecipe.md index 5e2737b86e..e8e1f20866 100644 --- a/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringargumentrecipe.md +++ b/docs/recipes/staticanalysis/bufferedwritercreationrecipes$bufferedwriterfromnewfilewriterwithstringargumentrecipe.md @@ -13,12 +13,17 @@ _Convert `new BufferedWriter(new FileWriter(s))` to `Files.newBufferedWriter(new ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/bufferedwritercreationrecipes.md b/docs/recipes/staticanalysis/bufferedwritercreationrecipes.md index 57d6d20eca..46e05b2247 100644 --- a/docs/recipes/staticanalysis/bufferedwritercreationrecipes.md +++ b/docs/recipes/staticanalysis/bufferedwritercreationrecipes.md @@ -13,11 +13,16 @@ _The code `new BufferedWriter(new FileWriter(f))` creates a `BufferedWriter` tha ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/caseinsensitivecomparisonsdonotchangecase.md b/docs/recipes/staticanalysis/caseinsensitivecomparisonsdonotchangecase.md index 9d88e91ff4..17c4a7d550 100644 --- a/docs/recipes/staticanalysis/caseinsensitivecomparisonsdonotchangecase.md +++ b/docs/recipes/staticanalysis/caseinsensitivecomparisonsdonotchangecase.md @@ -17,12 +17,17 @@ _Remove `String#toLowerCase()` or `String#toUpperCase()` from `String#equalsIgno ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCase.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCase.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/catchclauseonlyrethrows.md b/docs/recipes/staticanalysis/catchclauseonlyrethrows.md index c46ebc2861..5cbd149b88 100644 --- a/docs/recipes/staticanalysis/catchclauseonlyrethrows.md +++ b/docs/recipes/staticanalysis/catchclauseonlyrethrows.md @@ -17,12 +17,17 @@ _A `catch` clause that only rethrows the caught exception is unnecessary. Lettin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/CatchClauseOnlyRethrows.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/CatchClauseOnlyRethrows.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md b/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md index 3a4ba00508..bebfae7770 100644 --- a/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md +++ b/docs/recipes/staticanalysis/chainstringbuilderappendcalls.md @@ -13,12 +13,17 @@ _String concatenation within calls to `StringBuilder.append()` causes unnecessar ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ChainStringBuilderAppendCalls.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ChainStringBuilderAppendCalls.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/codecleanup.md b/docs/recipes/staticanalysis/codecleanup.md index 429f96a9f2..ce158aa521 100644 --- a/docs/recipes/staticanalysis/codecleanup.md +++ b/docs/recipes/staticanalysis/codecleanup.md @@ -13,11 +13,16 @@ _Automatically cleanup code, e.g. remove unnecessary parentheses, simplify expre ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/static-analysis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/static-analysis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -84,7 +89,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md b/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md index 1e51576df6..e202e50dfe 100644 --- a/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md +++ b/docs/recipes/staticanalysis/combinesemanticallyequalcatchblocks.md @@ -17,12 +17,17 @@ _Combine catches in a try that contain semantically equivalent blocks. No change ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/CombineSemanticallyEqualCatchBlocks.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/CombineSemanticallyEqualCatchBlocks.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/commondeclarationsitetypevariances.md b/docs/recipes/staticanalysis/commondeclarationsitetypevariances.md index c0e82a5f62..75ba2804e1 100644 --- a/docs/recipes/staticanalysis/commondeclarationsitetypevariances.md +++ b/docs/recipes/staticanalysis/commondeclarationsitetypevariances.md @@ -20,7 +20,12 @@ When using a method parameter like `Function`, it should rather be `Fun ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/static-analysis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/static-analysis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/commonstaticanalysis.md b/docs/recipes/staticanalysis/commonstaticanalysis.md index 2714fc738a..6179e9a169 100644 --- a/docs/recipes/staticanalysis/commonstaticanalysis.md +++ b/docs/recipes/staticanalysis/commonstaticanalysis.md @@ -13,11 +13,16 @@ _Resolve common static analysis issues (also known as SAST issues)._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/common-static-analysis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/common-static-analysis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -174,7 +179,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/compareenumswithequalityoperator.md b/docs/recipes/staticanalysis/compareenumswithequalityoperator.md index 2cc727f8c0..c8ef7556c2 100644 --- a/docs/recipes/staticanalysis/compareenumswithequalityoperator.md +++ b/docs/recipes/staticanalysis/compareenumswithequalityoperator.md @@ -17,12 +17,17 @@ _Replaces `Enum equals(java.lang.Object)` with `Enum == java.lang.Object`. An `! ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/CompareEnumsWithEqualityOperator.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/CompareEnumsWithEqualityOperator.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/controlflowindentation.md b/docs/recipes/staticanalysis/controlflowindentation.md index e03154c069..a47be172b9 100644 --- a/docs/recipes/staticanalysis/controlflowindentation.md +++ b/docs/recipes/staticanalysis/controlflowindentation.md @@ -17,12 +17,17 @@ _Program flow control statements like `if`, `while`, and `for` can omit curly br ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ControlFlowIndentation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ControlFlowIndentation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/covariantequals.md b/docs/recipes/staticanalysis/covariantequals.md index 7243e75f9d..ed3ed05b78 100644 --- a/docs/recipes/staticanalysis/covariantequals.md +++ b/docs/recipes/staticanalysis/covariantequals.md @@ -17,12 +17,17 @@ _Checks that classes and records which define a covariant `equals()` method also ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/CovariantEquals.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/CovariantEquals.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/declarationsitetypevariance.md b/docs/recipes/staticanalysis/declarationsitetypevariance.md index fc977dfa2f..4325cdf0f7 100644 --- a/docs/recipes/staticanalysis/declarationsitetypevariance.md +++ b/docs/recipes/staticanalysis/declarationsitetypevariance.md @@ -16,8 +16,9 @@ Currently, Java requires use-site type variance, so if someone has `Function + - org.openrewrite.staticanalysis.DeclarationSiteTypeVariance: variantTypes: java.util.function.Function excludedBounds: java.lang.* ``` diff --git a/docs/recipes/staticanalysis/defaultcomeslast.md b/docs/recipes/staticanalysis/defaultcomeslast.md index 5dbd48c923..46ea23c918 100644 --- a/docs/recipes/staticanalysis/defaultcomeslast.md +++ b/docs/recipes/staticanalysis/defaultcomeslast.md @@ -17,12 +17,17 @@ _Ensure the `default` case comes last after all the cases in a switch statement. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/DefaultComesLast.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/DefaultComesLast.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/emptyblock.md b/docs/recipes/staticanalysis/emptyblock.md index b0568e44ae..22a4908b5f 100644 --- a/docs/recipes/staticanalysis/emptyblock.md +++ b/docs/recipes/staticanalysis/emptyblock.md @@ -17,12 +17,17 @@ _Remove empty blocks that effectively do nothing._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/EmptyBlock.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/EmptyBlock.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/equalsavoidsnull.md b/docs/recipes/staticanalysis/equalsavoidsnull.md index a27466d0b0..c07a121a74 100644 --- a/docs/recipes/staticanalysis/equalsavoidsnull.md +++ b/docs/recipes/staticanalysis/equalsavoidsnull.md @@ -17,12 +17,17 @@ _Checks that any combination of String literals is on the left side of an `equal ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/EqualsAvoidsNull.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/EqualsAvoidsNull.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/equalstocontentequals.md b/docs/recipes/staticanalysis/equalstocontentequals.md index 84eb677b14..25ffa63da8 100644 --- a/docs/recipes/staticanalysis/equalstocontentequals.md +++ b/docs/recipes/staticanalysis/equalstocontentequals.md @@ -13,12 +13,17 @@ _Use `String.contentEquals(CharSequence)` instead of `String.equals(CharSequence ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/EqualsToContentEquals.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/EqualsToContentEquals.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md b/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md index c657cffc03..b2349fcf31 100644 --- a/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md +++ b/docs/recipes/staticanalysis/explicitcharsetonstringgetbytes.md @@ -13,18 +13,23 @@ _This makes the behavior of the code platform neutral. It will not override any ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ExplicitCharsetOnStringGetBytes.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ExplicitCharsetOnStringGetBytes.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | encoding | *Optional*. The default encoding to supply to the `getBytes` call | `UTF_8` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/explicitinitialization.md b/docs/recipes/staticanalysis/explicitinitialization.md index 104d4f75a4..731fc57741 100644 --- a/docs/recipes/staticanalysis/explicitinitialization.md +++ b/docs/recipes/staticanalysis/explicitinitialization.md @@ -17,12 +17,17 @@ _Checks if any class or object member is explicitly initialized to default for i ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ExplicitInitialization.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ExplicitInitialization.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md b/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md index 58adcefa2c..601a5dfba8 100644 --- a/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md +++ b/docs/recipes/staticanalysis/explicitlambdaargumenttypes.md @@ -20,12 +20,17 @@ Adds explicit types on lambda arguments, which are otherwise optional. This can ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ExplicitLambdaArgumentTypes.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ExplicitLambdaArgumentTypes.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/externalizablehasnoargsconstructor.md b/docs/recipes/staticanalysis/externalizablehasnoargsconstructor.md index 633eb44860..8934870b91 100644 --- a/docs/recipes/staticanalysis/externalizablehasnoargsconstructor.md +++ b/docs/recipes/staticanalysis/externalizablehasnoargsconstructor.md @@ -17,12 +17,17 @@ _`Externalizable` classes handle both serialization and deserialization and must ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ExternalizableHasNoArgsConstructor.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ExternalizableHasNoArgsConstructor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/fallthrough.md b/docs/recipes/staticanalysis/fallthrough.md index 597da1521c..163faf40ca 100644 --- a/docs/recipes/staticanalysis/fallthrough.md +++ b/docs/recipes/staticanalysis/fallthrough.md @@ -17,12 +17,17 @@ _Checks for fall-through in switch statements, adding `break` statements in loca ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FallThrough.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FallThrough.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/finalclass.md b/docs/recipes/staticanalysis/finalclass.md index 3ccc49e03b..e3d0913c68 100644 --- a/docs/recipes/staticanalysis/finalclass.md +++ b/docs/recipes/staticanalysis/finalclass.md @@ -17,12 +17,17 @@ _Adds the `final` modifier to classes that expose no public or package-private c ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FinalClass.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FinalClass.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/finalizelocalvariables.md b/docs/recipes/staticanalysis/finalizelocalvariables.md index 844966a0b8..6f4c9f5e85 100644 --- a/docs/recipes/staticanalysis/finalizelocalvariables.md +++ b/docs/recipes/staticanalysis/finalizelocalvariables.md @@ -13,12 +13,17 @@ _Adds the `final` modifier keyword to local variables which are not reassigned._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FinalizeLocalVariables.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FinalizeLocalVariables.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/finalizemethodarguments.md b/docs/recipes/staticanalysis/finalizemethodarguments.md index 739d06323e..f9eaf502d0 100644 --- a/docs/recipes/staticanalysis/finalizemethodarguments.md +++ b/docs/recipes/staticanalysis/finalizemethodarguments.md @@ -13,12 +13,17 @@ _Adds the `final` modifier keyword to method parameters._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FinalizeMethodArguments.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FinalizeMethodArguments.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/finalizeprivatefields.md b/docs/recipes/staticanalysis/finalizeprivatefields.md index 36588b2880..23eba1b947 100644 --- a/docs/recipes/staticanalysis/finalizeprivatefields.md +++ b/docs/recipes/staticanalysis/finalizeprivatefields.md @@ -13,12 +13,17 @@ _Adds the `final` modifier keyword to private instance variables which are not r ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FinalizePrivateFields.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FinalizePrivateFields.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/fixstringformatexpressions.md b/docs/recipes/staticanalysis/fixstringformatexpressions.md index 50a55f6f1f..ead5f6b930 100644 --- a/docs/recipes/staticanalysis/fixstringformatexpressions.md +++ b/docs/recipes/staticanalysis/fixstringformatexpressions.md @@ -17,12 +17,17 @@ _Fix `String#format` and `String#formatted` expressions by replacing `\n` newlin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FixStringFormatExpressions.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/FixStringFormatExpressions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/forloopcontrolvariablepostfixoperators.md b/docs/recipes/staticanalysis/forloopcontrolvariablepostfixoperators.md index 6385b29a88..adb5a00579 100644 --- a/docs/recipes/staticanalysis/forloopcontrolvariablepostfixoperators.md +++ b/docs/recipes/staticanalysis/forloopcontrolvariablepostfixoperators.md @@ -13,12 +13,17 @@ _Replace `for` loop control variables using pre-increment (`++i`) or pre-decreme ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ForLoopControlVariablePostfixOperators.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ForLoopControlVariablePostfixOperators.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/forloopincrementinupdate.md b/docs/recipes/staticanalysis/forloopincrementinupdate.md index 9ddba39b87..69e0c30135 100644 --- a/docs/recipes/staticanalysis/forloopincrementinupdate.md +++ b/docs/recipes/staticanalysis/forloopincrementinupdate.md @@ -17,12 +17,17 @@ _The increment should be moved to the loop's increment clause if possible._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ForLoopIncrementInUpdate.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ForLoopIncrementInUpdate.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/hiddenfield.md b/docs/recipes/staticanalysis/hiddenfield.md index bddd833d54..2d611df155 100644 --- a/docs/recipes/staticanalysis/hiddenfield.md +++ b/docs/recipes/staticanalysis/hiddenfield.md @@ -17,12 +17,17 @@ _Refactor local variables or parameters which shadow a field defined in the same ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/HiddenField.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/HiddenField.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/hideutilityclassconstructor.md b/docs/recipes/staticanalysis/hideutilityclassconstructor.md index 471ce992e3..267c1e000e 100644 --- a/docs/recipes/staticanalysis/hideutilityclassconstructor.md +++ b/docs/recipes/staticanalysis/hideutilityclassconstructor.md @@ -17,12 +17,17 @@ _Ensures utility classes (classes containing only static methods or fields in th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/HideUtilityClassConstructor.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/HideUtilityClassConstructor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/indexofchecksshoulduseastartposition.md b/docs/recipes/staticanalysis/indexofchecksshoulduseastartposition.md index 9bf10ae16f..3f2d06852b 100644 --- a/docs/recipes/staticanalysis/indexofchecksshoulduseastartposition.md +++ b/docs/recipes/staticanalysis/indexofchecksshoulduseastartposition.md @@ -17,12 +17,17 @@ _Replaces `indexOf(String)` in binary operations if the compared value is an int ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPosition.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPosition.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/indexofreplaceablebycontains.md b/docs/recipes/staticanalysis/indexofreplaceablebycontains.md index 0941714e8b..4c8959a5ce 100644 --- a/docs/recipes/staticanalysis/indexofreplaceablebycontains.md +++ b/docs/recipes/staticanalysis/indexofreplaceablebycontains.md @@ -20,12 +20,17 @@ Checking if a value is included in a `String` or `List` using `indexOf(value)>-1 ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContains.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContains.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/indexofshouldnotcomparegreaterthanzero.md b/docs/recipes/staticanalysis/indexofshouldnotcomparegreaterthanzero.md index 800fca7c0e..9d2af85ce8 100644 --- a/docs/recipes/staticanalysis/indexofshouldnotcomparegreaterthanzero.md +++ b/docs/recipes/staticanalysis/indexofshouldnotcomparegreaterthanzero.md @@ -20,12 +20,17 @@ Replaces `String#indexOf(String) > 0` and `List#indexOf(Object) > 0` with `>=1`. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZero.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZero.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/inlinevariable.md b/docs/recipes/staticanalysis/inlinevariable.md index b8426cf463..ec46516103 100644 --- a/docs/recipes/staticanalysis/inlinevariable.md +++ b/docs/recipes/staticanalysis/inlinevariable.md @@ -17,12 +17,17 @@ _Inline variables when they are immediately used to return or throw._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/InlineVariable.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/InlineVariable.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/instanceofpatternmatch.md b/docs/recipes/staticanalysis/instanceofpatternmatch.md index 3a9934eabb..94300c65b7 100644 --- a/docs/recipes/staticanalysis/instanceofpatternmatch.md +++ b/docs/recipes/staticanalysis/instanceofpatternmatch.md @@ -13,12 +13,17 @@ _Adds pattern variables to `instanceof` expressions wherever the same (side effe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/InstanceOfPatternMatch.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/InstanceOfPatternMatch.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/isemptycalloncollections.md b/docs/recipes/staticanalysis/isemptycalloncollections.md index 9f17aa85d3..5cbbbba1f6 100644 --- a/docs/recipes/staticanalysis/isemptycalloncollections.md +++ b/docs/recipes/staticanalysis/isemptycalloncollections.md @@ -18,12 +18,17 @@ _Also check for _not_ `isEmpty()` when testing for not equal to zero size._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/IsEmptyCallOnCollections.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/IsEmptyCallOnCollections.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/java/movefieldannotationtotype.md b/docs/recipes/staticanalysis/java/movefieldannotationtotype.md index 11a9264307..8e3f446c36 100644 --- a/docs/recipes/staticanalysis/java/movefieldannotationtotype.md +++ b/docs/recipes/staticanalysis/java/movefieldannotationtotype.md @@ -13,18 +13,23 @@ _Annotations that could be applied to either a field or a type are better applie ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/java/MoveFieldAnnotationToType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/java/MoveFieldAnnotationToType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | annotationType | *Optional*. The type of annotation to move. | `org.openrewrite..*` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/javaapibestpractices.md b/docs/recipes/staticanalysis/javaapibestpractices.md index e3bbc6fee8..2f5ec8ec46 100644 --- a/docs/recipes/staticanalysis/javaapibestpractices.md +++ b/docs/recipes/staticanalysis/javaapibestpractices.md @@ -13,7 +13,12 @@ _Use the Java standard library in a way that is most idiomatic._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/java-best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/java-best-practices.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -41,7 +46,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/lambdablocktoexpression.md b/docs/recipes/staticanalysis/lambdablocktoexpression.md index 2ff2060f3c..e6b7ee52b2 100644 --- a/docs/recipes/staticanalysis/lambdablocktoexpression.md +++ b/docs/recipes/staticanalysis/lambdablocktoexpression.md @@ -13,12 +13,17 @@ _Single-line statement lambdas returning a value can be replaced with expression ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/LambdaBlockToExpression.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/LambdaBlockToExpression.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/lowercasepackage.md b/docs/recipes/staticanalysis/lowercasepackage.md index 7e6bfa2ea3..893899b32d 100644 --- a/docs/recipes/staticanalysis/lowercasepackage.md +++ b/docs/recipes/staticanalysis/lowercasepackage.md @@ -17,12 +17,17 @@ _By convention all Java package names should contain only lowercase letters, num ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/LowercasePackage.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/LowercasePackage.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/maskcreditcardnumbers.md b/docs/recipes/staticanalysis/maskcreditcardnumbers.md index 9b07739920..e5c1144424 100644 --- a/docs/recipes/staticanalysis/maskcreditcardnumbers.md +++ b/docs/recipes/staticanalysis/maskcreditcardnumbers.md @@ -13,12 +13,17 @@ _When encountering string literals which appear to be credit card numbers, mask ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/MaskCreditCardNumbers.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/MaskCreditCardNumbers.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/methodnamecasing.md b/docs/recipes/staticanalysis/methodnamecasing.md index 3631000937..01cd6bf7c0 100644 --- a/docs/recipes/staticanalysis/methodnamecasing.md +++ b/docs/recipes/staticanalysis/methodnamecasing.md @@ -17,8 +17,9 @@ _Fixes method names that do not follow standard naming conventions. For example, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/MethodNameCasing.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/MethodNameCasing.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Fixes method names that do not follow standard naming conventions. For example, | `Boolean` | includeTestSources | *Optional*. Changes only apply to main by default. `includeTestSources` will apply the recipe to `test` source files. | | | `Boolean` | renamePublicMethods | *Optional*. Changes are not applied to public methods unless specified. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/minimumswitchcases.md b/docs/recipes/staticanalysis/minimumswitchcases.md index b6e1517b00..7e4e47a2f3 100644 --- a/docs/recipes/staticanalysis/minimumswitchcases.md +++ b/docs/recipes/staticanalysis/minimumswitchcases.md @@ -17,12 +17,17 @@ _`switch` statements are useful when many code paths branch depending on the val ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/MinimumSwitchCases.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/MinimumSwitchCases.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/missingoverrideannotation.md b/docs/recipes/staticanalysis/missingoverrideannotation.md index 0ab565d2bc..72710d2e7a 100644 --- a/docs/recipes/staticanalysis/missingoverrideannotation.md +++ b/docs/recipes/staticanalysis/missingoverrideannotation.md @@ -17,18 +17,23 @@ _Adds `@Override` to methods overriding superclass methods or implementing inter ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/MissingOverrideAnnotation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/MissingOverrideAnnotation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | ignoreAnonymousClassMethods | *Optional*. When enabled, ignore missing annotations on methods which override methods when the class definition is within an anonymous class. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/modifierorder.md b/docs/recipes/staticanalysis/modifierorder.md index cbe2db35b4..03647a42b9 100644 --- a/docs/recipes/staticanalysis/modifierorder.md +++ b/docs/recipes/staticanalysis/modifierorder.md @@ -17,12 +17,17 @@ _Modifiers should be declared in the correct order as recommended by the JLS._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ModifierOrder.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ModifierOrder.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/multiplevariabledeclarations.md b/docs/recipes/staticanalysis/multiplevariabledeclarations.md index 324bdbedfd..7cf9f2adfc 100644 --- a/docs/recipes/staticanalysis/multiplevariabledeclarations.md +++ b/docs/recipes/staticanalysis/multiplevariabledeclarations.md @@ -17,12 +17,17 @@ _Places each variable declaration in its own statement and on its own line. Usin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/MultipleVariableDeclarations.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/MultipleVariableDeclarations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/needbraces.md b/docs/recipes/staticanalysis/needbraces.md index bd02113400..0926165fa1 100644 --- a/docs/recipes/staticanalysis/needbraces.md +++ b/docs/recipes/staticanalysis/needbraces.md @@ -17,12 +17,17 @@ _Adds missing braces around code such as single-line `if`, `for`, `while`, and ` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NeedBraces.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NeedBraces.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/nestedenumsarenotstatic.md b/docs/recipes/staticanalysis/nestedenumsarenotstatic.md index 3f6223f3ad..e216b6789e 100644 --- a/docs/recipes/staticanalysis/nestedenumsarenotstatic.md +++ b/docs/recipes/staticanalysis/nestedenumsarenotstatic.md @@ -17,12 +17,17 @@ _Remove static modifier from nested enum types since they are implicitly static. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NestedEnumsAreNotStatic.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NestedEnumsAreNotStatic.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/newstringbuilderbufferwithcharargument.md b/docs/recipes/staticanalysis/newstringbuilderbufferwithcharargument.md index 0f3e269f9c..cadc60f324 100644 --- a/docs/recipes/staticanalysis/newstringbuilderbufferwithcharargument.md +++ b/docs/recipes/staticanalysis/newstringbuilderbufferwithcharargument.md @@ -17,12 +17,17 @@ _Instantiating a `StringBuilder` or a `StringBuffer` with a `Character` results ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NewStringBuilderBufferWithCharArgument.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NewStringBuilderBufferWithCharArgument.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/nodoublebraceinitialization.md b/docs/recipes/staticanalysis/nodoublebraceinitialization.md index 436cdb8e19..d4e74250ae 100644 --- a/docs/recipes/staticanalysis/nodoublebraceinitialization.md +++ b/docs/recipes/staticanalysis/nodoublebraceinitialization.md @@ -18,12 +18,17 @@ _Replace `List`, `Map`, and `Set` double brace initialization with an initializa ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoDoubleBraceInitialization.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoDoubleBraceInitialization.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/noemptycollectionwithrawtype.md b/docs/recipes/staticanalysis/noemptycollectionwithrawtype.md index fe468f19c3..4de7295357 100644 --- a/docs/recipes/staticanalysis/noemptycollectionwithrawtype.md +++ b/docs/recipes/staticanalysis/noemptycollectionwithrawtype.md @@ -17,12 +17,17 @@ _Replaces `Collections#EMPTY_...` with methods that return generic types._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoEmptyCollectionWithRawType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoEmptyCollectionWithRawType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/noequalityinforcondition.md b/docs/recipes/staticanalysis/noequalityinforcondition.md index d4ef52cdf8..9e824b72f5 100644 --- a/docs/recipes/staticanalysis/noequalityinforcondition.md +++ b/docs/recipes/staticanalysis/noequalityinforcondition.md @@ -17,12 +17,17 @@ _Testing for loop termination using an equality operator (`==` and `!=`) is dang ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoEqualityInForCondition.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoEqualityInForCondition.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/nofinalizedlocalvariables.md b/docs/recipes/staticanalysis/nofinalizedlocalvariables.md index 1626b9890a..26f35d98e9 100644 --- a/docs/recipes/staticanalysis/nofinalizedlocalvariables.md +++ b/docs/recipes/staticanalysis/nofinalizedlocalvariables.md @@ -13,12 +13,17 @@ _Remove the `final` modifier keyword from local variables regardless of whether ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoFinalizedLocalVariables.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoFinalizedLocalVariables.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/nofinalizer.md b/docs/recipes/staticanalysis/nofinalizer.md index 82a5d5c5f5..56ad8963d9 100644 --- a/docs/recipes/staticanalysis/nofinalizer.md +++ b/docs/recipes/staticanalysis/nofinalizer.md @@ -17,12 +17,17 @@ _Finalizers are deprecated. Use of `finalize()` can lead to performance issues, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoFinalizer.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoFinalizer.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/noprimitivewrappersfortostringorcompareto.md b/docs/recipes/staticanalysis/noprimitivewrappersfortostringorcompareto.md index 5eb1ff93e9..06484661cf 100644 --- a/docs/recipes/staticanalysis/noprimitivewrappersfortostringorcompareto.md +++ b/docs/recipes/staticanalysis/noprimitivewrappersfortostringorcompareto.md @@ -17,12 +17,17 @@ _Primitive wrappers should not be instantiated only for `#toString()` or `#compa ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoPrimitiveWrappersForToStringOrCompareTo.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoPrimitiveWrappersForToStringOrCompareTo.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/noredundantjumpstatements.md b/docs/recipes/staticanalysis/noredundantjumpstatements.md index 3f937c3ba5..f539972959 100644 --- a/docs/recipes/staticanalysis/noredundantjumpstatements.md +++ b/docs/recipes/staticanalysis/noredundantjumpstatements.md @@ -17,12 +17,17 @@ _Jump statements such as return and continue let you change the default flow of ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoRedundantJumpStatements.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoRedundantJumpStatements.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/notostringonstringtype.md b/docs/recipes/staticanalysis/notostringonstringtype.md index 0817bc5688..fe4a9babfd 100644 --- a/docs/recipes/staticanalysis/notostringonstringtype.md +++ b/docs/recipes/staticanalysis/notostringonstringtype.md @@ -17,12 +17,17 @@ _Remove unnecessary `String#toString` invocations on objects which are already a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoToStringOnStringType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoToStringOnStringType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/novalueofonstringtype.md b/docs/recipes/staticanalysis/novalueofonstringtype.md index da856be2d8..f332ce73bd 100644 --- a/docs/recipes/staticanalysis/novalueofonstringtype.md +++ b/docs/recipes/staticanalysis/novalueofonstringtype.md @@ -17,12 +17,17 @@ _Replace unnecessary `String#valueOf(..)` method invocations with the argument d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoValueOfOnStringType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NoValueOfOnStringType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/nullableonmethodreturntype.md b/docs/recipes/staticanalysis/nullableonmethodreturntype.md index e1a48101e0..e989ec8f69 100644 --- a/docs/recipes/staticanalysis/nullableonmethodreturntype.md +++ b/docs/recipes/staticanalysis/nullableonmethodreturntype.md @@ -13,12 +13,17 @@ _This is the way the cool kids do it._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NullableOnMethodReturnType.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/NullableOnMethodReturnType.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/objectfinalizecallssuper.md b/docs/recipes/staticanalysis/objectfinalizecallssuper.md index 91e471ca80..f0818b46f3 100644 --- a/docs/recipes/staticanalysis/objectfinalizecallssuper.md +++ b/docs/recipes/staticanalysis/objectfinalizecallssuper.md @@ -17,12 +17,17 @@ _Overrides of `Object#finalize()` should call super._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuper.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuper.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/operatorwrap.md b/docs/recipes/staticanalysis/operatorwrap.md index 817858fcae..4c971e0f72 100644 --- a/docs/recipes/staticanalysis/operatorwrap.md +++ b/docs/recipes/staticanalysis/operatorwrap.md @@ -13,18 +13,23 @@ _Fixes line wrapping policies on operators._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/OperatorWrap.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/OperatorWrap.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `WrapOption` | wrapOption | *Optional*. The operator wrapping style to enforce, which may differ from the configured or detected style. Valid options: `EOL`, `NL` | `NL` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/primitivewrapperclassconstructortovalueof.md b/docs/recipes/staticanalysis/primitivewrapperclassconstructortovalueof.md index 5bf7cd15da..f09d50b7e6 100644 --- a/docs/recipes/staticanalysis/primitivewrapperclassconstructortovalueof.md +++ b/docs/recipes/staticanalysis/primitivewrapperclassconstructortovalueof.md @@ -17,12 +17,17 @@ _The constructor of all primitive types has been deprecated in favor of using th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOf.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOf.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/redundantfilecreation.md b/docs/recipes/staticanalysis/redundantfilecreation.md index 8abeed4dc6..dbff584951 100644 --- a/docs/recipes/staticanalysis/redundantfilecreation.md +++ b/docs/recipes/staticanalysis/redundantfilecreation.md @@ -13,12 +13,17 @@ _Remove unnecessary intermediate creations of files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RedundantFileCreation.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RedundantFileCreation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/referentialequalitytoobjectequals.md b/docs/recipes/staticanalysis/referentialequalitytoobjectequals.md index 5dacd230d9..d90035373a 100644 --- a/docs/recipes/staticanalysis/referentialequalitytoobjectequals.md +++ b/docs/recipes/staticanalysis/referentialequalitytoobjectequals.md @@ -17,12 +17,17 @@ _Using `==` or `!=` compares object references, not the equality of two objects. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReferentialEqualityToObjectEquals.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReferentialEqualityToObjectEquals.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removecallstoobjectfinalize.md b/docs/recipes/staticanalysis/removecallstoobjectfinalize.md index 60d27290a2..19f9cbe125 100644 --- a/docs/recipes/staticanalysis/removecallstoobjectfinalize.md +++ b/docs/recipes/staticanalysis/removecallstoobjectfinalize.md @@ -17,12 +17,17 @@ _Remove calls to `Object.finalize()`. This method is called during garbage colle ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveCallsToObjectFinalize.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveCallsToObjectFinalize.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removecallstosystemgc.md b/docs/recipes/staticanalysis/removecallstosystemgc.md index 3711eccdbe..46ebb8b6fa 100644 --- a/docs/recipes/staticanalysis/removecallstosystemgc.md +++ b/docs/recipes/staticanalysis/removecallstosystemgc.md @@ -17,12 +17,17 @@ _Removes calls to `System.gc()` and `Runtime.gc()`. When to invoke garbage colle ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveCallsToSystemGc.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveCallsToSystemGc.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removeemptyjavadocparameters.md b/docs/recipes/staticanalysis/removeemptyjavadocparameters.md index ddc5669b9a..3380f00283 100644 --- a/docs/recipes/staticanalysis/removeemptyjavadocparameters.md +++ b/docs/recipes/staticanalysis/removeemptyjavadocparameters.md @@ -13,12 +13,17 @@ _Removes `@param`, `@return`, and `@throws` with no description from JavaDocs._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveEmptyJavaDocParameters.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveEmptyJavaDocParameters.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removeextrasemicolons.md b/docs/recipes/staticanalysis/removeextrasemicolons.md index 673cddd530..3628bd1e55 100644 --- a/docs/recipes/staticanalysis/removeextrasemicolons.md +++ b/docs/recipes/staticanalysis/removeextrasemicolons.md @@ -18,12 +18,17 @@ _Optional semicolons at the end of try-with-resources are also removed._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveExtraSemicolons.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveExtraSemicolons.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removehashcodecallsfromarrayinstances.md b/docs/recipes/staticanalysis/removehashcodecallsfromarrayinstances.md index 698b354352..02c2eb3198 100644 --- a/docs/recipes/staticanalysis/removehashcodecallsfromarrayinstances.md +++ b/docs/recipes/staticanalysis/removehashcodecallsfromarrayinstances.md @@ -17,12 +17,17 @@ _Replace `hashCode()` calls on arrays with `Arrays.hashCode()` because the resul ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveHashCodeCallsFromArrayInstances.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveHashCodeCallsFromArrayInstances.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removeinstanceofpatternmatch.md b/docs/recipes/staticanalysis/removeinstanceofpatternmatch.md index 9e7199cb72..4b93e496a8 100644 --- a/docs/recipes/staticanalysis/removeinstanceofpatternmatch.md +++ b/docs/recipes/staticanalysis/removeinstanceofpatternmatch.md @@ -13,12 +13,17 @@ _Adds an explicit variable declaration at the beginning of `if` statement instea ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveInstanceOfPatternMatch.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveInstanceOfPatternMatch.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removejavadocauthortag.md b/docs/recipes/staticanalysis/removejavadocauthortag.md index 6b300f808f..5116a56069 100644 --- a/docs/recipes/staticanalysis/removejavadocauthortag.md +++ b/docs/recipes/staticanalysis/removejavadocauthortag.md @@ -13,12 +13,17 @@ _Removes author tags from JavaDocs to reduce code maintenance._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveJavaDocAuthorTag.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveJavaDocAuthorTag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removeredundanttypecast.md b/docs/recipes/staticanalysis/removeredundanttypecast.md index 51723672b1..0d44af38d0 100644 --- a/docs/recipes/staticanalysis/removeredundanttypecast.md +++ b/docs/recipes/staticanalysis/removeredundanttypecast.md @@ -17,12 +17,17 @@ _Removes unnecessary type casts. Does not currently check casts in lambdas, clas ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveRedundantTypeCast.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveRedundantTypeCast.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removesystemoutprintln.md b/docs/recipes/staticanalysis/removesystemoutprintln.md index 3ea66bd0fb..e531b9ba8e 100644 --- a/docs/recipes/staticanalysis/removesystemoutprintln.md +++ b/docs/recipes/staticanalysis/removesystemoutprintln.md @@ -13,12 +13,17 @@ _Print statements are often left accidentally after debugging an issue._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveSystemOutPrintln.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveSystemOutPrintln.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removetostringcallsfromarrayinstances.md b/docs/recipes/staticanalysis/removetostringcallsfromarrayinstances.md index 8b1f739add..f85570705b 100644 --- a/docs/recipes/staticanalysis/removetostringcallsfromarrayinstances.md +++ b/docs/recipes/staticanalysis/removetostringcallsfromarrayinstances.md @@ -17,12 +17,17 @@ _The result from `toString()` calls on arrays is largely useless. The output doe ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveToStringCallsFromArrayInstances.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveToStringCallsFromArrayInstances.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removeunneededassertion.md b/docs/recipes/staticanalysis/removeunneededassertion.md index 749c4047e0..92a629c9d8 100644 --- a/docs/recipes/staticanalysis/removeunneededassertion.md +++ b/docs/recipes/staticanalysis/removeunneededassertion.md @@ -13,12 +13,17 @@ _Remove unneeded assertions like `assert true`, `assertTrue(true)`, or `assertFa ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveUnneededAssertion.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveUnneededAssertion.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removeunneededblock.md b/docs/recipes/staticanalysis/removeunneededblock.md index 871b91dcc6..0467d6842a 100644 --- a/docs/recipes/staticanalysis/removeunneededblock.md +++ b/docs/recipes/staticanalysis/removeunneededblock.md @@ -13,12 +13,17 @@ _Flatten blocks into inline statements when possible._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveUnneededBlock.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveUnneededBlock.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removeunusedlocalvariables.md b/docs/recipes/staticanalysis/removeunusedlocalvariables.md index a19a90ff7e..fb6d0e366b 100644 --- a/docs/recipes/staticanalysis/removeunusedlocalvariables.md +++ b/docs/recipes/staticanalysis/removeunusedlocalvariables.md @@ -17,8 +17,9 @@ _If a local variable is declared but not used, it is dead code and should be rem ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedLocalVariables.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedLocalVariables.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _If a local variable is declared but not used, it is dead code and should be rem | `String[]` | ignoreVariablesNamed | *Optional*. An array of variable identifier names for local variables to ignore, even if the local variable is unused. | `[unused, notUsed, IGNORE_ME]` | | `Boolean` | withSideEffects | *Optional*. Whether to remove unused local variables despite side effects in the initializer. Default false. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removeunusedprivatefields.md b/docs/recipes/staticanalysis/removeunusedprivatefields.md index 56d73e9e38..56a3074749 100644 --- a/docs/recipes/staticanalysis/removeunusedprivatefields.md +++ b/docs/recipes/staticanalysis/removeunusedprivatefields.md @@ -17,12 +17,17 @@ _If a private field is declared but not used in the program, it can be considere ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateFields.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateFields.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/removeunusedprivatemethods.md b/docs/recipes/staticanalysis/removeunusedprivatemethods.md index 2ad2eee9f8..29ab6afcc3 100644 --- a/docs/recipes/staticanalysis/removeunusedprivatemethods.md +++ b/docs/recipes/staticanalysis/removeunusedprivatemethods.md @@ -17,12 +17,17 @@ _`private` methods that are never executed are dead code and should be removed._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/renameexceptioninemptycatch.md b/docs/recipes/staticanalysis/renameexceptioninemptycatch.md index 3fb4ba4b30..e6b00af7da 100644 --- a/docs/recipes/staticanalysis/renameexceptioninemptycatch.md +++ b/docs/recipes/staticanalysis/renameexceptioninemptycatch.md @@ -13,12 +13,17 @@ _Renames caught exceptions in empty catch blocks to `ignored`. `ignored` will be ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RenameExceptionInEmptyCatch.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RenameExceptionInEmptyCatch.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/renamelocalvariablestocamelcase.md b/docs/recipes/staticanalysis/renamelocalvariablestocamelcase.md index 49a7b63d26..a8f4cc39ea 100644 --- a/docs/recipes/staticanalysis/renamelocalvariablestocamelcase.md +++ b/docs/recipes/staticanalysis/renamelocalvariablestocamelcase.md @@ -17,12 +17,17 @@ _Reformat local variable and method parameter names to camelCase to comply with ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RenameLocalVariablesToCamelCase.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RenameLocalVariablesToCamelCase.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/renamemethodsnamedhashcodeequalortostring.md b/docs/recipes/staticanalysis/renamemethodsnamedhashcodeequalortostring.md index d7c8d48ecf..3793d9ea00 100644 --- a/docs/recipes/staticanalysis/renamemethodsnamedhashcodeequalortostring.md +++ b/docs/recipes/staticanalysis/renamemethodsnamedhashcodeequalortostring.md @@ -17,12 +17,17 @@ _Methods should not be named `hashcode`, `equal`, or `tostring`. Any of these ar ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RenameMethodsNamedHashcodeEqualOrToString.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RenameMethodsNamedHashcodeEqualOrToString.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/renameprivatefieldstocamelcase.md b/docs/recipes/staticanalysis/renameprivatefieldstocamelcase.md index 92387c2489..a7ddd887d5 100644 --- a/docs/recipes/staticanalysis/renameprivatefieldstocamelcase.md +++ b/docs/recipes/staticanalysis/renameprivatefieldstocamelcase.md @@ -18,12 +18,17 @@ _Reformat private field names to camelCase to comply with Java naming convention ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RenamePrivateFieldsToCamelCase.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/RenamePrivateFieldsToCamelCase.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replaceapachecommonslang3validatenotnullwithobjectsrequirenonnull.md b/docs/recipes/staticanalysis/replaceapachecommonslang3validatenotnullwithobjectsrequirenonnull.md index 4d6355af25..08600e5a3e 100644 --- a/docs/recipes/staticanalysis/replaceapachecommonslang3validatenotnullwithobjectsrequirenonnull.md +++ b/docs/recipes/staticanalysis/replaceapachecommonslang3validatenotnullwithobjectsrequirenonnull.md @@ -13,11 +13,16 @@ _Replace `org.apache.commons.lang3.Validate.notNull(..)` with `Objects.requireNo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/java-best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/java-best-practices.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replaceclassisinstancewithinstanceof.md b/docs/recipes/staticanalysis/replaceclassisinstancewithinstanceof.md index 666f5a5c27..0632f76dba 100644 --- a/docs/recipes/staticanalysis/replaceclassisinstancewithinstanceof.md +++ b/docs/recipes/staticanalysis/replaceclassisinstancewithinstanceof.md @@ -17,12 +17,17 @@ _There should be no `A.class.isInstance(a)`, it should be replaced by `a instanc ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceClassIsInstanceWithInstanceof.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceClassIsInstanceWithInstanceof.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replacecollectiontoarrayargwithemptyarray.md b/docs/recipes/staticanalysis/replacecollectiontoarrayargwithemptyarray.md index b8988d23f7..64a3f7a628 100644 --- a/docs/recipes/staticanalysis/replacecollectiontoarrayargwithemptyarray.md +++ b/docs/recipes/staticanalysis/replacecollectiontoarrayargwithemptyarray.md @@ -24,12 +24,17 @@ H2 achieved significant performance gains by [switching to empty arrays instead ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceCollectionToArrayArgWithEmptyArray.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceCollectionToArrayArgWithEmptyArray.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replacedeprecatedruntimeexecmethods.md b/docs/recipes/staticanalysis/replacedeprecatedruntimeexecmethods.md index 94aadc48ee..da51907448 100644 --- a/docs/recipes/staticanalysis/replacedeprecatedruntimeexecmethods.md +++ b/docs/recipes/staticanalysis/replacedeprecatedruntimeexecmethods.md @@ -13,12 +13,17 @@ _Replace `Runtime#exec(String)` methods to use `exec(String[])` instead because ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceDeprecatedRuntimeExecMethods.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceDeprecatedRuntimeExecMethods.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replaceduplicatestringliterals.md b/docs/recipes/staticanalysis/replaceduplicatestringliterals.md index d68444e907..162635363a 100644 --- a/docs/recipes/staticanalysis/replaceduplicatestringliterals.md +++ b/docs/recipes/staticanalysis/replaceduplicatestringliterals.md @@ -18,18 +18,23 @@ _Replaces `String` literals with a length of 5 or greater repeated a minimum of ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceDuplicateStringLiterals.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceDuplicateStringLiterals.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `Boolean` | includeTestSources | *Optional*. Changes only apply to main by default. `includeTestSources` will apply the recipe to `test` source files. | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replacelambdawithmethodreference.md b/docs/recipes/staticanalysis/replacelambdawithmethodreference.md index f5e81d62a9..deac4a36dc 100644 --- a/docs/recipes/staticanalysis/replacelambdawithmethodreference.md +++ b/docs/recipes/staticanalysis/replacelambdawithmethodreference.md @@ -20,12 +20,17 @@ Replaces the single statement lambdas `o -> o instanceOf X`, `o -> (A) o`, `o -> ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceLambdaWithMethodReference.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceLambdaWithMethodReference.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md b/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md index 006bc843c9..b6f52fceb4 100644 --- a/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md +++ b/docs/recipes/staticanalysis/replaceoptionalispresentwithifpresent.md @@ -13,12 +13,17 @@ _Replace `Optional#isPresent()` with `Optional#ifPresent()`. Please note that th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceOptionalIsPresentWithIfPresent.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceOptionalIsPresentWithIfPresent.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replaceredundantformatwithprintf.md b/docs/recipes/staticanalysis/replaceredundantformatwithprintf.md index 0c20e382f6..f0226e975d 100644 --- a/docs/recipes/staticanalysis/replaceredundantformatwithprintf.md +++ b/docs/recipes/staticanalysis/replaceredundantformatwithprintf.md @@ -13,12 +13,17 @@ _Replaces `PrintStream.print(String.format(format, ...args))` with `PrintStream. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceRedundantFormatWithPrintf.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceRedundantFormatWithPrintf.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replacestackwithdeque.md b/docs/recipes/staticanalysis/replacestackwithdeque.md index feac70e542..8eaf86928c 100644 --- a/docs/recipes/staticanalysis/replacestackwithdeque.md +++ b/docs/recipes/staticanalysis/replacestackwithdeque.md @@ -17,12 +17,17 @@ From the Javadoc of `Stack`: ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceStackWithDeque.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceStackWithDeque.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replacestreamtolistwithcollect.md b/docs/recipes/staticanalysis/replacestreamtolistwithcollect.md index 1d2da449c8..8e2f309577 100644 --- a/docs/recipes/staticanalysis/replacestreamtolistwithcollect.md +++ b/docs/recipes/staticanalysis/replacestreamtolistwithcollect.md @@ -13,12 +13,17 @@ _Replace Java 16 `Stream.toList()` with Java 11 `Stream.collect(Collectors.toLis ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceStreamToListWithCollect.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceStreamToListWithCollect.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replacestringbuilderwithstring.md b/docs/recipes/staticanalysis/replacestringbuilderwithstring.md index a5b2068203..0538a7cf39 100644 --- a/docs/recipes/staticanalysis/replacestringbuilderwithstring.md +++ b/docs/recipes/staticanalysis/replacestringbuilderwithstring.md @@ -13,12 +13,17 @@ _Replace `StringBuilder.append()` with String if you are only concatenating a sm ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceStringBuilderWithString.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceStringBuilderWithString.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replacetextblockwithstring.md b/docs/recipes/staticanalysis/replacetextblockwithstring.md index 3460e8916a..e274085fae 100644 --- a/docs/recipes/staticanalysis/replacetextblockwithstring.md +++ b/docs/recipes/staticanalysis/replacetextblockwithstring.md @@ -13,12 +13,17 @@ _Replace text block with a regular multi-line string._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceTextBlockWithString.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceTextBlockWithString.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replacethreadrunwiththreadstart.md b/docs/recipes/staticanalysis/replacethreadrunwiththreadstart.md index c736c379a7..bec60bd562 100644 --- a/docs/recipes/staticanalysis/replacethreadrunwiththreadstart.md +++ b/docs/recipes/staticanalysis/replacethreadrunwiththreadstart.md @@ -17,7 +17,12 @@ _`Thread.run()` should not be called directly._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/static-analysis.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/static-analysis.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -51,7 +56,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replacevalidatenotnullhavingsingleargwithobjectsrequirenonnull.md b/docs/recipes/staticanalysis/replacevalidatenotnullhavingsingleargwithobjectsrequirenonnull.md index e7deb00ad5..fed5624b20 100644 --- a/docs/recipes/staticanalysis/replacevalidatenotnullhavingsingleargwithobjectsrequirenonnull.md +++ b/docs/recipes/staticanalysis/replacevalidatenotnullhavingsingleargwithobjectsrequirenonnull.md @@ -13,11 +13,16 @@ _Replace `org.apache.commons.lang3.Validate.notNull(Object)` with `Objects.requi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/java-best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/java-best-practices.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replacevalidatenotnullhavingvarargswithobjectsrequirenonnull.md b/docs/recipes/staticanalysis/replacevalidatenotnullhavingvarargswithobjectsrequirenonnull.md index 648fb44d9f..469bbf1bbd 100644 --- a/docs/recipes/staticanalysis/replacevalidatenotnullhavingvarargswithobjectsrequirenonnull.md +++ b/docs/recipes/staticanalysis/replacevalidatenotnullhavingvarargswithobjectsrequirenonnull.md @@ -13,12 +13,17 @@ _Replace `org.apache.commons.lang3.Validate.notNull(Object, String, Object[])` w ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNull.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNull.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/replaceweekyearwithyear.md b/docs/recipes/staticanalysis/replaceweekyearwithyear.md index 3bd8978064..1f71ad9536 100644 --- a/docs/recipes/staticanalysis/replaceweekyearwithyear.md +++ b/docs/recipes/staticanalysis/replaceweekyearwithyear.md @@ -17,12 +17,17 @@ _For most dates Week Year (YYYY) and Year (yyyy) yield the same results. However ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceWeekYearWithYear.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/ReplaceWeekYearWithYear.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/simplifybooleanexpression.md b/docs/recipes/staticanalysis/simplifybooleanexpression.md index 1cd8d313f3..87358bcb38 100644 --- a/docs/recipes/staticanalysis/simplifybooleanexpression.md +++ b/docs/recipes/staticanalysis/simplifybooleanexpression.md @@ -17,12 +17,17 @@ _Checks for overly complicated boolean expressions, such as `if (b == true)`, `b ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyBooleanExpression.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyBooleanExpression.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/simplifybooleanreturn.md b/docs/recipes/staticanalysis/simplifybooleanreturn.md index fdf3a8ea8e..a051f62026 100644 --- a/docs/recipes/staticanalysis/simplifybooleanreturn.md +++ b/docs/recipes/staticanalysis/simplifybooleanreturn.md @@ -17,12 +17,17 @@ _Simplifies Boolean expressions by removing redundancies. For example, `a && tru ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyBooleanReturn.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyBooleanReturn.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/simplifycompoundstatement.md b/docs/recipes/staticanalysis/simplifycompoundstatement.md index d63c691e61..0d361b2874 100644 --- a/docs/recipes/staticanalysis/simplifycompoundstatement.md +++ b/docs/recipes/staticanalysis/simplifycompoundstatement.md @@ -13,12 +13,17 @@ _Fixes or removes useless compound statements. For example, removing `b &= true` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyCompoundStatement.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyCompoundStatement.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/simplifyconsecutiveassignments.md b/docs/recipes/staticanalysis/simplifyconsecutiveassignments.md index 1a4c118953..18772e7785 100644 --- a/docs/recipes/staticanalysis/simplifyconsecutiveassignments.md +++ b/docs/recipes/staticanalysis/simplifyconsecutiveassignments.md @@ -13,12 +13,17 @@ _Combine consecutive assignments into a single statement where possible._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyConsecutiveAssignments.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyConsecutiveAssignments.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/simplifyconstantifbranchexecution.md b/docs/recipes/staticanalysis/simplifyconstantifbranchexecution.md index 56aff9d90d..eeef90b017 100644 --- a/docs/recipes/staticanalysis/simplifyconstantifbranchexecution.md +++ b/docs/recipes/staticanalysis/simplifyconstantifbranchexecution.md @@ -13,12 +13,17 @@ _Checks for if expressions that are always `true` or `false` and simplifies them ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyConstantIfBranchExecution.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyConstantIfBranchExecution.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/simplifydurationcreationunits.md b/docs/recipes/staticanalysis/simplifydurationcreationunits.md index 531d56d151..02b591cffb 100644 --- a/docs/recipes/staticanalysis/simplifydurationcreationunits.md +++ b/docs/recipes/staticanalysis/simplifydurationcreationunits.md @@ -13,12 +13,17 @@ _Simplifies `java.time.Duration` units to be more human-readable._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyDurationCreationUnits.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyDurationCreationUnits.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternaryfalsetruerecipe.md b/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternaryfalsetruerecipe.md index bf3b3b940c..ead670a17e 100644 --- a/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternaryfalsetruerecipe.md +++ b/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternaryfalsetruerecipe.md @@ -13,12 +13,17 @@ _Replace ternary expressions like `booleanExpression ? false : true` with `!bool ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyTernary.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyTernary.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternarytruefalserecipe.md b/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternarytruefalserecipe.md index 3cedbb5f63..4d71038213 100644 --- a/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternarytruefalserecipe.md +++ b/docs/recipes/staticanalysis/simplifyternaryrecipes$simplifyternarytruefalserecipe.md @@ -13,12 +13,17 @@ _Replace ternary expressions like `booleanExpression ? true : false` with `boole ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyTernary.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyTernary.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/simplifyternaryrecipes.md b/docs/recipes/staticanalysis/simplifyternaryrecipes.md index 6273167380..a74f9a099a 100644 --- a/docs/recipes/staticanalysis/simplifyternaryrecipes.md +++ b/docs/recipes/staticanalysis/simplifyternaryrecipes.md @@ -13,11 +13,16 @@ _Simplifies various types of ternary expressions to improve code readability._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyTernary.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SimplifyTernary.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md b/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md index 96f1933395..24685edddc 100644 --- a/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md +++ b/docs/recipes/staticanalysis/sortedsetstreamtolinkedhashset.md @@ -13,12 +13,17 @@ _Converts `set.stream().sorted().collect(Collectors.toSet())` to `set.stream().s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SortedSetStreamToLinkedHashSet.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/SortedSetStreamToLinkedHashSet.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/staticmethodnotfinal.md b/docs/recipes/staticanalysis/staticmethodnotfinal.md index d3faba40c6..ca94e48920 100644 --- a/docs/recipes/staticanalysis/staticmethodnotfinal.md +++ b/docs/recipes/staticanalysis/staticmethodnotfinal.md @@ -17,12 +17,17 @@ _Static methods do not need to be declared final because they cannot be overridd ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/StaticMethodNotFinal.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/StaticMethodNotFinal.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/stringliteralequality.md b/docs/recipes/staticanalysis/stringliteralequality.md index a4a0a07fa5..9f07c57edd 100644 --- a/docs/recipes/staticanalysis/stringliteralequality.md +++ b/docs/recipes/staticanalysis/stringliteralequality.md @@ -17,12 +17,17 @@ _`String.equals()` should be used when checking value equality on String literal ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/StringLiteralEquality.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/StringLiteralEquality.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/ternaryoperatorsshouldnotbenested.md b/docs/recipes/staticanalysis/ternaryoperatorsshouldnotbenested.md index 2797c11058..617fcb09f5 100644 --- a/docs/recipes/staticanalysis/ternaryoperatorsshouldnotbenested.md +++ b/docs/recipes/staticanalysis/ternaryoperatorsshouldnotbenested.md @@ -17,12 +17,17 @@ _Nested ternary operators can be hard to read quickly. Prefer simpler constructs ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/TernaryOperatorsShouldNotBeNested.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/TernaryOperatorsShouldNotBeNested.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/typecastparenpad.md b/docs/recipes/staticanalysis/typecastparenpad.md index 829f78334d..2f72e7ba71 100644 --- a/docs/recipes/staticanalysis/typecastparenpad.md +++ b/docs/recipes/staticanalysis/typecastparenpad.md @@ -13,12 +13,17 @@ _Fixes whitespace padding between a typecast type identifier and the enclosing l ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/TypecastParenPad.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/TypecastParenPad.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/unnecessarycatch.md b/docs/recipes/staticanalysis/unnecessarycatch.md index e6eef89c46..a739561850 100644 --- a/docs/recipes/staticanalysis/unnecessarycatch.md +++ b/docs/recipes/staticanalysis/unnecessarycatch.md @@ -13,18 +13,23 @@ _A refactoring operation may result in a checked exception that is no longer thr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryCatch.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryCatch.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `boolean` | includeJavaLangException | *Optional*. Whether to include java.lang.Exception in the list of checked exceptions to remove. Unlike other checked exceptions, `java.lang.Exception` is also the superclass of unchecked exceptions. So removing `catch(Exception e)` may result in changed runtime behavior in the presence of unchecked exceptions. Default `false` | | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/unnecessarycloseintrywithresources.md b/docs/recipes/staticanalysis/unnecessarycloseintrywithresources.md index feda007da0..e7203d48ad 100644 --- a/docs/recipes/staticanalysis/unnecessarycloseintrywithresources.md +++ b/docs/recipes/staticanalysis/unnecessarycloseintrywithresources.md @@ -17,12 +17,17 @@ _Remove unnecessary `AutoCloseable#close()` statements in try-with-resources._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryCloseInTryWithResources.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryCloseInTryWithResources.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/unnecessaryexplicittypearguments.md b/docs/recipes/staticanalysis/unnecessaryexplicittypearguments.md index 1a142a3644..6c759d452d 100644 --- a/docs/recipes/staticanalysis/unnecessaryexplicittypearguments.md +++ b/docs/recipes/staticanalysis/unnecessaryexplicittypearguments.md @@ -13,12 +13,17 @@ _When explicit type arguments are inferable by the compiler, they may be removed ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryExplicitTypeArguments.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryExplicitTypeArguments.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/unnecessaryparentheses.md b/docs/recipes/staticanalysis/unnecessaryparentheses.md index c6370a1a14..69b227c43e 100644 --- a/docs/recipes/staticanalysis/unnecessaryparentheses.md +++ b/docs/recipes/staticanalysis/unnecessaryparentheses.md @@ -18,12 +18,17 @@ _Removes unnecessary parentheses from code where extra parentheses pairs are red ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryParentheses.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryParentheses.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/unnecessaryprimitiveannotations.md b/docs/recipes/staticanalysis/unnecessaryprimitiveannotations.md index bcbdea4e79..fc18c1a723 100644 --- a/docs/recipes/staticanalysis/unnecessaryprimitiveannotations.md +++ b/docs/recipes/staticanalysis/unnecessaryprimitiveannotations.md @@ -17,12 +17,17 @@ _Primitives can't be null anyway, so these annotations are not useful in this co ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryPrimitiveAnnotations.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryPrimitiveAnnotations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/unnecessaryreturnaslaststatement.md b/docs/recipes/staticanalysis/unnecessaryreturnaslaststatement.md index 90f2fc59f8..593d4efdf7 100644 --- a/docs/recipes/staticanalysis/unnecessaryreturnaslaststatement.md +++ b/docs/recipes/staticanalysis/unnecessaryreturnaslaststatement.md @@ -13,12 +13,17 @@ _Removes `return` from a `void` method if it's the last statement._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryReturnAsLastStatement.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryReturnAsLastStatement.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/unnecessarythrows.md b/docs/recipes/staticanalysis/unnecessarythrows.md index ee1a35caba..dc9172841f 100644 --- a/docs/recipes/staticanalysis/unnecessarythrows.md +++ b/docs/recipes/staticanalysis/unnecessarythrows.md @@ -17,12 +17,17 @@ _Remove unnecessary `throws` declarations. This recipe will only remove unused, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryThrows.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnnecessaryThrows.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/unwraprepeatableannotations.md b/docs/recipes/staticanalysis/unwraprepeatableannotations.md index b179cfb088..26d084d554 100644 --- a/docs/recipes/staticanalysis/unwraprepeatableannotations.md +++ b/docs/recipes/staticanalysis/unwraprepeatableannotations.md @@ -13,12 +13,17 @@ _Java 8 introduced the concept of `@Repeatable` annotations, making the wrapper ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnwrapRepeatableAnnotations.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UnwrapRepeatableAnnotations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/uppercaseliteralsuffixes.md b/docs/recipes/staticanalysis/uppercaseliteralsuffixes.md index d25291e38a..6627d802f0 100644 --- a/docs/recipes/staticanalysis/uppercaseliteralsuffixes.md +++ b/docs/recipes/staticanalysis/uppercaseliteralsuffixes.md @@ -17,12 +17,17 @@ _Using upper case literal suffixes for declaring literals is less ambiguous, e.g ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UpperCaseLiteralSuffixes.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UpperCaseLiteralSuffixes.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlequalsrecipe.md b/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlequalsrecipe.md index f2040d98ab..becc90000b 100644 --- a/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlequalsrecipe.md +++ b/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlequalsrecipe.md @@ -17,12 +17,17 @@ _Uses of `equals()` cause `java.net.URL` to make blocking internet connections. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/URLEqualsHashCode.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/URLEqualsHashCode.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlhashcoderecipe.md b/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlhashcoderecipe.md index bf6f151495..3eb18cdac6 100644 --- a/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlhashcoderecipe.md +++ b/docs/recipes/staticanalysis/urlequalshashcoderecipes$urlhashcoderecipe.md @@ -17,12 +17,17 @@ _Uses of `hashCode()` cause `java.net.URL` to make blocking internet connections ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/URLEqualsHashCode.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/URLEqualsHashCode.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/urlequalshashcoderecipes.md b/docs/recipes/staticanalysis/urlequalshashcoderecipes.md index 98ad4cff8d..862c6b3385 100644 --- a/docs/recipes/staticanalysis/urlequalshashcoderecipes.md +++ b/docs/recipes/staticanalysis/urlequalshashcoderecipes.md @@ -17,11 +17,16 @@ _Uses of `equals()` and `hashCode()` cause `java.net.URL` to make blocking inter ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/URLEqualsHashCode.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/URLEqualsHashCode.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/useasbuilder.md b/docs/recipes/staticanalysis/useasbuilder.md index 99fdbbbfa9..a39ad6e4d0 100644 --- a/docs/recipes/staticanalysis/useasbuilder.md +++ b/docs/recipes/staticanalysis/useasbuilder.md @@ -13,8 +13,9 @@ _Chain calls to builder methods that are on separate lines into one chain of bui ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseAsBuilder.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) - +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseAsBuilder.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Chain calls to builder methods that are on separate lines into one chain of bui | `Boolean` | immutable | *Optional*. The builder is immutable if you must assign the result of calls to intermediate variables or use directly. Defaults to true as many purpose-built builders will be immutable. | | | `String` | builderCreator | *Optional*. The method that creates the builder instance, which may not be a method of the builder itself. | `org.example.Buildable builder()` | +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseAsBuilderExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UseAsBuilderExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UseAsBuilderExample displayName: Chain calls to builder methods example recipeList: - - org.openrewrite.staticanalysis.UseAsBuilder: - builderType: org.example.Buildable.Builder + - org.openrewrite.staticanalysis.UseAsBuilder: builderType: org.example.Buildable.Builder builderCreator: org.example.Buildable builder() ``` diff --git a/docs/recipes/staticanalysis/usecollectioninterfaces.md b/docs/recipes/staticanalysis/usecollectioninterfaces.md index a88dfdf174..41a5e26b70 100644 --- a/docs/recipes/staticanalysis/usecollectioninterfaces.md +++ b/docs/recipes/staticanalysis/usecollectioninterfaces.md @@ -17,12 +17,17 @@ _Use `Deque`, `List`, `Map`, `ConcurrentMap`, `Queue`, and `Set` instead of impl ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseCollectionInterfaces.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseCollectionInterfaces.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/usediamondoperator.md b/docs/recipes/staticanalysis/usediamondoperator.md index ed72651377..c7575cef48 100644 --- a/docs/recipes/staticanalysis/usediamondoperator.md +++ b/docs/recipes/staticanalysis/usediamondoperator.md @@ -20,12 +20,17 @@ The diamond operator (`<>`) should be used. Java 7 introduced the diamond operat ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseDiamondOperator.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseDiamondOperator.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/useforeachremoveinsteadofsetremoveall.md b/docs/recipes/staticanalysis/useforeachremoveinsteadofsetremoveall.md index 29971b99d5..6d2f23346f 100644 --- a/docs/recipes/staticanalysis/useforeachremoveinsteadofsetremoveall.md +++ b/docs/recipes/staticanalysis/useforeachremoveinsteadofsetremoveall.md @@ -13,12 +13,17 @@ _Using `java.util.Collection#forEach(Set::remove)` rather than `java.util.Set#re ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseForEachRemoveInsteadOfSetRemoveAll.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseForEachRemoveInsteadOfSetRemoveAll.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/usejavastylearraydeclarations.md b/docs/recipes/staticanalysis/usejavastylearraydeclarations.md index 0009900c28..aff68490d5 100644 --- a/docs/recipes/staticanalysis/usejavastylearraydeclarations.md +++ b/docs/recipes/staticanalysis/usejavastylearraydeclarations.md @@ -17,12 +17,17 @@ _Change C-Style array declarations `int i[];` to `int[] i;`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseJavaStyleArrayDeclarations.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseJavaStyleArrayDeclarations.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/uselambdaforfunctionalinterface.md b/docs/recipes/staticanalysis/uselambdaforfunctionalinterface.md index 09cc213789..e7d02fa77d 100644 --- a/docs/recipes/staticanalysis/uselambdaforfunctionalinterface.md +++ b/docs/recipes/staticanalysis/uselambdaforfunctionalinterface.md @@ -17,12 +17,17 @@ _Instead of anonymous class declarations, use a lambda where possible. Using lam ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseLambdaForFunctionalInterface.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseLambdaForFunctionalInterface.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/uselistsort.md b/docs/recipes/staticanalysis/uselistsort.md index 54d84cc6ab..2ca8a9f8d0 100644 --- a/docs/recipes/staticanalysis/uselistsort.md +++ b/docs/recipes/staticanalysis/uselistsort.md @@ -13,12 +13,17 @@ _The `java.util.Collections#sort(..)` implementation defers to the `java.util.Li ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseListSort.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseListSort.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/usemapcontainskey.md b/docs/recipes/staticanalysis/usemapcontainskey.md index e7f0fb8333..c36b5bc15e 100644 --- a/docs/recipes/staticanalysis/usemapcontainskey.md +++ b/docs/recipes/staticanalysis/usemapcontainskey.md @@ -13,7 +13,12 @@ _`map.keySet().contains(a)` can be simplified to `map.containsKey(a)`._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/java-best-practices.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/resources/META-INF/rewrite/java-best-practices.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Definition @@ -45,7 +50,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/useobjectnotifyall.md b/docs/recipes/staticanalysis/useobjectnotifyall.md index f2b7cf6677..cf1b0b8add 100644 --- a/docs/recipes/staticanalysis/useobjectnotifyall.md +++ b/docs/recipes/staticanalysis/useobjectnotifyall.md @@ -17,12 +17,17 @@ _`Object.notifyAll()` and `Object.notify()` both wake up sleeping threads, but ` ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseObjectNotifyAll.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseObjectNotifyAll.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/usestandardcharset.md b/docs/recipes/staticanalysis/usestandardcharset.md index 65e3ddbbdd..90f2e21d68 100644 --- a/docs/recipes/staticanalysis/usestandardcharset.md +++ b/docs/recipes/staticanalysis/usestandardcharset.md @@ -13,12 +13,17 @@ _Replaces `Charset.forName(java.lang.String)` with the equivalent `StandardChars ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseStandardCharset.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseStandardCharset.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/usestringreplace.md b/docs/recipes/staticanalysis/usestringreplace.md index 6b0eb28bc0..82354feb19 100644 --- a/docs/recipes/staticanalysis/usestringreplace.md +++ b/docs/recipes/staticanalysis/usestringreplace.md @@ -17,12 +17,17 @@ _When `String::replaceAll` is used, the first argument should be a real regular ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseStringReplace.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseStringReplace.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/usesystemlineseparator.md b/docs/recipes/staticanalysis/usesystemlineseparator.md index 246ee7b1c1..8ecbd7e92c 100644 --- a/docs/recipes/staticanalysis/usesystemlineseparator.md +++ b/docs/recipes/staticanalysis/usesystemlineseparator.md @@ -13,12 +13,17 @@ _Replace calls to `System.getProperty("line.separator")` with `System.lineSepara ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseSystemLineSeparator.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/UseSystemLineSeparator.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/whileinsteadoffor.md b/docs/recipes/staticanalysis/whileinsteadoffor.md index e9db1f96e3..9a3b91a30b 100644 --- a/docs/recipes/staticanalysis/whileinsteadoffor.md +++ b/docs/recipes/staticanalysis/whileinsteadoffor.md @@ -17,12 +17,17 @@ _When only the condition expression is defined in a for loop, and the initializa ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/WhileInsteadOfFor.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/WhileInsteadOfFor.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/staticanalysis/writeoctalvaluesasdecimal.md b/docs/recipes/staticanalysis/writeoctalvaluesasdecimal.md index c7857afcf8..994f88ed20 100644 --- a/docs/recipes/staticanalysis/writeoctalvaluesasdecimal.md +++ b/docs/recipes/staticanalysis/writeoctalvaluesasdecimal.md @@ -17,12 +17,17 @@ _Developers may not recognize octal values as such, mistaking them instead for d ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimal.java), [Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +[GitHub](https://github.com/openrewrite/rewrite-static-analysis/blob/main/src/main/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimal.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-static-analysis/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-static-analysis/) +## License + +This recipe is available under the [Moderne Source Available License](https://docs.moderne.io/licensing/moderne-source-available-license/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-static-analysis` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisequalbycomparingtorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisequalbycomparingtorecipe.md index 429dd6e7f0..8eb29bcbbb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisequalbycomparingtorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisequalbycomparingtorecipe.md @@ -31,12 +31,17 @@ static final class AbstractBigDecimalAssertIsEqualByComparingTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigDecimalRulesRecipes$AbstractBigDecimalAssertIsEqualByComparingToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigDecimalRulesRecipes$AbstractBigDecimalAssertIsEqualByComparingToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisnotequalbycomparingtorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisnotequalbycomparingtorecipe.md index b8cf1c1dec..666d0c148d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisnotequalbycomparingtorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes$abstractbigdecimalassertisnotequalbycomparingtorecipe.md @@ -31,12 +31,17 @@ static final class AbstractBigDecimalAssertIsNotEqualByComparingTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigDecimalRulesRecipes$AbstractBigDecimalAssertIsNotEqualByComparingToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigDecimalRulesRecipes$AbstractBigDecimalAssertIsNotEqualByComparingToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes.md index ac9d02a727..24ad9c4609 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigdecimalrulesrecipes.md @@ -19,11 +19,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigDecimalRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigDecimalRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md index e0c98b4050..963dd8bb3d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractBigIntegerAssertIsEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes$AbstractBigIntegerAssertIsEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes$AbstractBigIntegerAssertIsEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md index bb799083d1..443f7be4a5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractBigIntegerAssertIsNotEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes$AbstractBigIntegerAssertIsNotEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes$AbstractBigIntegerAssertIsNotEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md index 9abd47172a..d3062b487e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisnotzerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractBigIntegerAssertIsNotZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes$AbstractBigIntegerAssertIsNotZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes$AbstractBigIntegerAssertIsNotZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md index c43702be40..457cdb845e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertisonerecipe.md @@ -31,12 +31,17 @@ static final class AbstractBigIntegerAssertIsOne { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes$AbstractBigIntegerAssertIsOneRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes$AbstractBigIntegerAssertIsOneRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md index 0a3b1ad049..a7400e7ffb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes$abstractbigintegerassertiszerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractBigIntegerAssertIsZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes$AbstractBigIntegerAssertIsZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes$AbstractBigIntegerAssertIsZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes.md index fe5b8bd6e1..4c7112d170 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbigintegerrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJBigI ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBigIntegerRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisequaltorecipe.md index ababf31e99..0ab887d5ba 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractBooleanAssertIsEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AbstractBooleanAssertIsEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AbstractBooleanAssertIsEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisfalserecipe.md index 0a87a305e5..d3c3321436 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisfalserecipe.md @@ -31,12 +31,17 @@ static final class AbstractBooleanAssertIsFalse { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AbstractBooleanAssertIsFalseRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AbstractBooleanAssertIsFalseRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisnotequaltorecipe.md index 2ad3a5894e..c08801b917 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertisnotequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractBooleanAssertIsNotEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AbstractBooleanAssertIsNotEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AbstractBooleanAssertIsNotEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertistruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertistruerecipe.md index 9cda97376f..e33ebac458 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertistruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$abstractbooleanassertistruerecipe.md @@ -31,12 +31,17 @@ static final class AbstractBooleanAssertIsTrue { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AbstractBooleanAssertIsTrueRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AbstractBooleanAssertIsTrueRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanisfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanisfalserecipe.md index 1d540a04fa..e772d39c0f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanisfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanisfalserecipe.md @@ -32,12 +32,17 @@ static final class AssertThatBooleanIsFalse { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AssertThatBooleanIsFalseRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AssertThatBooleanIsFalseRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanistruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanistruerecipe.md index 68df9bf42f..f164d8aaf9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanistruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes$assertthatbooleanistruerecipe.md @@ -32,12 +32,17 @@ static final class AssertThatBooleanIsTrue { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AssertThatBooleanIsTrueRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes$AssertThatBooleanIsTrueRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes.md index 42de71294b..44d406e123 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbooleanrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJBool ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJBooleanRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md index e1981650fd..64e8313f5f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractByteAssertIsEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes$AbstractByteAssertIsEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes$AbstractByteAssertIsEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md index b9c721d91b..af534bf77e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractByteAssertIsNotEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes$AbstractByteAssertIsNotEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes$AbstractByteAssertIsNotEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md index b27b01f876..6bb7a345ef 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisnotzerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractByteAssertIsNotZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes$AbstractByteAssertIsNotZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes$AbstractByteAssertIsNotZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md index 7d49bf44d1..220c4533d1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertisonerecipe.md @@ -31,12 +31,17 @@ static final class AbstractByteAssertIsOne { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes$AbstractByteAssertIsOneRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes$AbstractByteAssertIsOneRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md index 8fbd923f5c..d49f99c9ed 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes$abstractbyteassertiszerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractByteAssertIsZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes$AbstractByteAssertIsZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes$AbstractByteAssertIsZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes.md index be8c5dd96b..27125e7fd1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjbyterulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJByte ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJByteRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequencehassizerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequencehassizerecipe.md index 73c97cf2a0..1519f1382b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequencehassizerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequencehassizerecipe.md @@ -32,12 +32,17 @@ static final class AssertThatCharSequenceHasSize { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJCharSequenceRulesRecipes$AssertThatCharSequenceHasSizeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJCharSequenceRulesRecipes$AssertThatCharSequenceHasSizeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisemptyrecipe.md index 287fe1e027..a831b44357 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisemptyrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatCharSequenceIsEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJCharSequenceRulesRecipes$AssertThatCharSequenceIsEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJCharSequenceRulesRecipes$AssertThatCharSequenceIsEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisnotemptyrecipe.md index a8f033bfe9..58d29f7f20 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes$assertthatcharsequenceisnotemptyrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatCharSequenceIsNotEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJCharSequenceRulesRecipes$AssertThatCharSequenceIsNotEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJCharSequenceRulesRecipes$AssertThatCharSequenceIsNotEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes.md index 682b75291c..8fabdbab60 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjcharsequencerulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJChar ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJCharSequenceRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJCharSequenceRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md index 04c74f15f0..5483c2c069 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisclosetowithoffsetrecipe.md @@ -36,12 +36,17 @@ static final class AbstractDoubleAssertIsCloseToWithOffset { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsCloseToWithOffsetRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsCloseToWithOffsetRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md index b3f62f069b..daea6b2a77 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractDoubleAssertIsEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md index fe280e256c..22b5092391 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractDoubleAssertIsNotEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsNotEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsNotEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md index 570f264fb9..d9fd54a7c4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisnotzerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractDoubleAssertIsNotZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsNotZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsNotZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md index d68b947b72..965cd9b749 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertisonerecipe.md @@ -31,12 +31,17 @@ static final class AbstractDoubleAssertIsOne { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsOneRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsOneRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md index 8647d411f8..97901f6576 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes$abstractdoubleassertiszerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractDoubleAssertIsZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes$AbstractDoubleAssertIsZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes.md index 9e5af2541f..0238df65ed 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjdoublerulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJDoub ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJDoubleRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md index 43be3b3ff8..74a0d2e520 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisclosetowithoffsetrecipe.md @@ -36,12 +36,17 @@ static final class AbstractFloatAssertIsCloseToWithOffset { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsCloseToWithOffsetRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsCloseToWithOffsetRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md index f79e509142..3a342dfd79 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractFloatAssertIsEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md index 8656d008c6..014d8f3372 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractFloatAssertIsNotEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsNotEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsNotEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md index 7dc1b889b2..b8c559b231 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisnotzerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractFloatAssertIsNotZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsNotZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsNotZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md index 76c497e843..f2b906be57 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertisonerecipe.md @@ -31,12 +31,17 @@ static final class AbstractFloatAssertIsOne { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsOneRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsOneRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md index a480295965..868df68967 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes$abstractfloatassertiszerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractFloatAssertIsZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes$AbstractFloatAssertIsZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes.md index 0c26932fbd..a30c0ed8b2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjfloatrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJFloa ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJFloatRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md index 74fb88d75d..171a3796b6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractIntegerAssertIsEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes$AbstractIntegerAssertIsEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes$AbstractIntegerAssertIsEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md index 7ffc3c8c94..aa0330b027 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractIntegerAssertIsNotEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes$AbstractIntegerAssertIsNotEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes$AbstractIntegerAssertIsNotEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md index 71840211cb..0565da1e4b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisnotzerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractIntegerAssertIsNotZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes$AbstractIntegerAssertIsNotZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes$AbstractIntegerAssertIsNotZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md index ecbb2bbb0c..e90efec600 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertisonerecipe.md @@ -31,12 +31,17 @@ static final class AbstractIntegerAssertIsOne { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes$AbstractIntegerAssertIsOneRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes$AbstractIntegerAssertIsOneRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md index 95031a8336..b1aeb856e6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes$abstractintegerassertiszerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractIntegerAssertIsZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes$AbstractIntegerAssertIsZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes$AbstractIntegerAssertIsZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes.md index 327bc80809..39e71669d5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjintegerrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJInte ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJIntegerRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md index 3ad39e80c4..23d36de72c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractLongAssertIsEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes$AbstractLongAssertIsEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes$AbstractLongAssertIsEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md index 6b3e7a2833..357a998880 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractLongAssertIsNotEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes$AbstractLongAssertIsNotEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes$AbstractLongAssertIsNotEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md index cb6c584e0d..bba5b27313 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisnotzerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractLongAssertIsNotZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes$AbstractLongAssertIsNotZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes$AbstractLongAssertIsNotZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisonerecipe.md index 7585bbac8f..9e6a77a0cb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertisonerecipe.md @@ -31,12 +31,17 @@ static final class AbstractLongAssertIsOne { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes$AbstractLongAssertIsOneRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes$AbstractLongAssertIsOneRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md index 2c084b4e32..d0600d662f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes$abstractlongassertiszerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractLongAssertIsZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes$AbstractLongAssertIsZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes$AbstractLongAssertIsZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes.md index 3c5b314c1b..4159b5d995 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjlongrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJLong ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJLongRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnegativerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnegativerecipe.md index f916b519e0..1a3009fbfa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnegativerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnegativerecipe.md @@ -66,12 +66,17 @@ static final class NumberAssertIsNegative { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes$NumberAssertIsNegativeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes$NumberAssertIsNegativeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotnegativerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotnegativerecipe.md index 65b2069c68..6136949b72 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotnegativerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotnegativerecipe.md @@ -66,12 +66,17 @@ static final class NumberAssertIsNotNegative { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes$NumberAssertIsNotNegativeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes$NumberAssertIsNotNegativeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotpositiverecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotpositiverecipe.md index 2deec1d03b..7eae8fb93e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotpositiverecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertisnotpositiverecipe.md @@ -66,12 +66,17 @@ static final class NumberAssertIsNotPositive { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes$NumberAssertIsNotPositiveRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes$NumberAssertIsNotPositiveRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertispositiverecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertispositiverecipe.md index 5718c4e09d..806cb1e754 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertispositiverecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes$numberassertispositiverecipe.md @@ -66,12 +66,17 @@ static final class NumberAssertIsPositive { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes$NumberAssertIsPositiveRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes$NumberAssertIsPositiveRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes.md index 2d7589621b..8eb59b8e4d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjnumberrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJNumb ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJNumberRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisequaltorecipe.md index 21c03c65ff..07b0cef0ba 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisequaltorecipe.md @@ -38,12 +38,17 @@ static final class AssertThatIsEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanorequaltorecipe.md index 6431d313d2..a2d8f4efa5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanorequaltorecipe.md @@ -32,12 +32,17 @@ static final class AssertThatIsGreaterThanOrEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsGreaterThanOrEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsGreaterThanOrEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanrecipe.md index c771456895..7a6a693a48 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisgreaterthanrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatIsGreaterThan { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsGreaterThanRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsGreaterThanRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanorequaltorecipe.md index a3226b5b5f..dba8d72578 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanorequaltorecipe.md @@ -32,12 +32,17 @@ static final class AssertThatIsLessThanOrEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsLessThanOrEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsLessThanOrEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanrecipe.md index 3582ba8c92..d5a727adfa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatislessthanrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatIsLessThan { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsLessThanRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsLessThanRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisnotequaltorecipe.md index 1fc82569dd..1924867a9a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes$assertthatisnotequaltorecipe.md @@ -38,12 +38,17 @@ static final class AssertThatIsNotEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsNotEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes$AssertThatIsNotEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes.md index e5a4d94ea0..71ae280d71 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjprimitiverulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJPrim ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJPrimitiveRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionaldoublerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionaldoublerecipe.md index a9d1f7a47d..2afeb87742 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionaldoublerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionaldoublerecipe.md @@ -32,12 +32,17 @@ static final class AssertThatOptionalDouble { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatOptionalDoubleRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatOptionalDoubleRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionalintrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionalintrecipe.md index 880ff81748..7f204e1049 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionalintrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionalintrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatOptionalInt { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatOptionalIntRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatOptionalIntRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionallongrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionallongrecipe.md index abba888f69..58a76754a9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionallongrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes$assertthatoptionallongrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatOptionalLong { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatOptionalLongRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatOptionalLongRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes.md index fc2e3c71f5..8f7dde6e7c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJRule ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md index 18898c6275..87bda64511 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractShortAssertIsEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes$AbstractShortAssertIsEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes$AbstractShortAssertIsEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md index 16970727e9..8bee14560c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotequaltorecipe.md @@ -31,12 +31,17 @@ static final class AbstractShortAssertIsNotEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes$AbstractShortAssertIsNotEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes$AbstractShortAssertIsNotEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md index 7062c88084..81f128a232 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisnotzerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractShortAssertIsNotZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes$AbstractShortAssertIsNotZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes$AbstractShortAssertIsNotZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisonerecipe.md index 6adb7ac785..e957b054f3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertisonerecipe.md @@ -31,12 +31,17 @@ static final class AbstractShortAssertIsOne { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes$AbstractShortAssertIsOneRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes$AbstractShortAssertIsOneRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md index 620982f0ca..c8b59721ce 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes$abstractshortassertiszerorecipe.md @@ -31,12 +31,17 @@ static final class AbstractShortAssertIsZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes$AbstractShortAssertIsZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes$AbstractShortAssertIsZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes.md index 3f4a744ab6..39ca0640cb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjshortrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJShor ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJShortRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisemptyrecipe.md index 3405a5812a..3f36acc75b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisemptyrecipe.md @@ -31,12 +31,17 @@ static final class AbstractStringAssertStringIsEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AbstractStringAssertStringIsEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AbstractStringAssertStringIsEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisnotemptyrecipe.md index 253feb44c0..e1f5df61b2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$abstractstringassertstringisnotemptyrecipe.md @@ -31,12 +31,17 @@ static final class AbstractStringAssertStringIsNotEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AbstractStringAssertStringIsNotEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AbstractStringAssertStringIsNotEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatdoesnotmatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatdoesnotmatchrecipe.md index 2e5dc0f309..cc40473af1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatdoesnotmatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatdoesnotmatchrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatDoesNotMatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatDoesNotMatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatDoesNotMatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatmatchesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatmatchesrecipe.md index 74d25cc673..fb5ab4aeac 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatmatchesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatmatchesrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatMatches { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatMatchesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatMatchesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentrecipe.md index 674914e847..8f4f635c54 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatPathContent { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatPathContentRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatPathContentRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentutf8recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentutf8recipe.md index 79daf4ed54..8d1eee9f2e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentutf8recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatpathcontentutf8recipe.md @@ -32,12 +32,17 @@ static final class AssertThatPathContentUtf8 { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatPathContentUtf8Recipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatPathContentUtf8Recipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringisemptyrecipe.md index dce26e7436..26b0e6882f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringisemptyrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatStringIsEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatStringIsEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatStringIsEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringisnotemptyrecipe.md index d1d2c9cc97..84afc969bb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes$assertthatstringisnotemptyrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatStringIsNotEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatStringIsNotEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes$AssertThatStringIsNotEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes.md index 8f9dad0114..1e190b39cc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjstringrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssertJStri ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJStringRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -58,7 +63,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagecontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagecontainingrecipe.md index fc660b96c3..c1fdbfc326 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagecontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagecontainingrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByHasMessageContaining { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByHasMessageContainingRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByHasMessageContainingRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagenotcontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagenotcontainingrecipe.md index 78bed119b9..f464fcab29 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagenotcontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagenotcontainingrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByHasMessageNotContaining { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByHasMessageNotContainingRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByHasMessageNotContainingRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagerecipe.md index cb0ccb05f7..ba5f734355 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagerecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByHasMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByHasMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByHasMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagestartingwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagestartingwithrecipe.md index 492f4ea936..353c1e1d1f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagestartingwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyhasmessagestartingwithrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByHasMessageStartingWith { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByHasMessageStartingWithRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByHasMessageStartingWithRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagecontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagecontainingrecipe.md index eafdfe8710..bcc0f06ec0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagecontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagecontainingrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIllegalArgumentExceptionHasMessageContainin ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalArgumentExceptionHasMessageContainingRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalArgumentExceptionHasMessageContainingRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagerecipe.md index 5f3804455f..304c298ae8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagerecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIllegalArgumentExceptionHasMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalArgumentExceptionHasMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalArgumentExceptionHasMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagestartingwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagestartingwithrecipe.md index a116d9a237..e65b84bcc6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagestartingwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionhasmessagestartingwithrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIllegalArgumentExceptionHasMessageStartingW ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalArgumentExceptionHasMessageStartingWithRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalArgumentExceptionHasMessageStartingWithRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrecipe.md index 98f93226aa..34913473db 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalargumentexceptionrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatThrownByIllegalArgumentException { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalArgumentExceptionRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalArgumentExceptionRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagecontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagecontainingrecipe.md index ef71c2ffdf..7e2bc4b39d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagecontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagecontainingrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIllegalStateExceptionHasMessageContaining { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalStateExceptionHasMessageContainingRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalStateExceptionHasMessageContainingRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagenotcontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagenotcontainingrecipe.md index 7c30c5dba5..e00d25e9c7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagenotcontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagenotcontainingrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIllegalStateExceptionHasMessageNotContainin ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalStateExceptionHasMessageNotContainingRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalStateExceptionHasMessageNotContainingRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagerecipe.md index 1b69510dc9..423ac26b4c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagerecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIllegalStateExceptionHasMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalStateExceptionHasMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalStateExceptionHasMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagestartingwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagestartingwithrecipe.md index dc739e3453..fd07d81f03 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagestartingwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionhasmessagestartingwithrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIllegalStateExceptionHasMessageStartingWith ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalStateExceptionHasMessageStartingWithRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalStateExceptionHasMessageStartingWithRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrecipe.md index a894d006dc..4d32bb45ec 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyillegalstateexceptionrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatThrownByIllegalStateException { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalStateExceptionRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIllegalStateExceptionRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagecontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagecontainingrecipe.md index 0a24d8145a..40057dfe3e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagecontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagecontainingrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIOExceptionHasMessageContaining { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIOExceptionHasMessageContainingRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIOExceptionHasMessageContainingRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagenotcontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagenotcontainingrecipe.md index 0c2aa0e60c..83862bcca7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagenotcontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagenotcontainingrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIOExceptionHasMessageNotContaining { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIOExceptionHasMessageNotContainingRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIOExceptionHasMessageNotContainingRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagerecipe.md index db8a328084..0f732010f6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagerecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIOExceptionHasMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIOExceptionHasMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIOExceptionHasMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagestartingwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagestartingwithrecipe.md index 0d4ad60f62..5eba816f9f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagestartingwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionhasmessagestartingwithrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByIOExceptionHasMessageStartingWith { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIOExceptionHasMessageStartingWithRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIOExceptionHasMessageStartingWithRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrecipe.md index a9e0462450..3db3269c06 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyioexceptionrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatThrownByIOException { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIOExceptionRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByIOExceptionRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagecontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagecontainingrecipe.md index d0d2a95e52..486b6f93e3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagecontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagecontainingrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByNullPointerExceptionHasMessageContaining { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByNullPointerExceptionHasMessageContainingRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByNullPointerExceptionHasMessageContainingRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagenotcontainingrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagenotcontainingrecipe.md index f8cf3d125e..ce1b56dd0b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagenotcontainingrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagenotcontainingrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByNullPointerExceptionHasMessageNotContaining ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByNullPointerExceptionHasMessageNotContainingRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByNullPointerExceptionHasMessageNotContainingRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagerecipe.md index 0a750f8122..58f954f0f4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagerecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByNullPointerExceptionHasMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByNullPointerExceptionHasMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByNullPointerExceptionHasMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagestartingwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagestartingwithrecipe.md index 197c3160bf..3a4f21fdb7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagestartingwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionhasmessagestartingwithrecipe.md @@ -33,12 +33,17 @@ static final class AssertThatThrownByNullPointerExceptionHasMessageStartingWith ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByNullPointerExceptionHasMessageStartingWithRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByNullPointerExceptionHasMessageStartingWithRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrecipe.md index 075692b934..ef894f9aa6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbynullpointerexceptionrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatThrownByNullPointerException { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByNullPointerExceptionRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByNullPointerExceptionRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyrecipe.md index 89c4b0a153..cc08d3c45c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes$assertthatthrownbyrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatThrownBy { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes$AssertThatThrownByRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes.md index 38f20f2bca..bac988e5e0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assertjthrowingcallablerulesrecipes.md @@ -18,11 +18,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssertJThrowingCallableRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -95,7 +100,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$checkindexrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$checkindexrecipe.md index fb9cb41271..cd9c67f636 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$checkindexrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$checkindexrecipe.md @@ -32,12 +32,17 @@ static final class CheckIndex { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssortedRulesRecipes$CheckIndexRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssortedRulesRecipes$CheckIndexRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$logicalimplicationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$logicalimplicationrecipe.md index 256f0315a8..54f85e0d78 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$logicalimplicationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$logicalimplicationrecipe.md @@ -32,12 +32,17 @@ static final class LogicalImplication { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssortedRulesRecipes$LogicalImplicationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssortedRulesRecipes$LogicalImplicationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$splittostreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$splittostreamrecipe.md index 29abbab72e..729d17d4e5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$splittostreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes$splittostreamrecipe.md @@ -31,12 +31,17 @@ static final class SplitToStream { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssortedRulesRecipes$SplitToStreamRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssortedRulesRecipes$SplitToStreamRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes.md index 53e7ed941c..d46babfc70 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/assortedrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.AssortedRul ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssortedRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.AssortedRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalonerecipe.md index 774a78c790..274e824744 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalonerecipe.md @@ -31,12 +31,17 @@ static final class BigDecimalOne { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalOneRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalOneRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumisnegativerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumisnegativerecipe.md index 33ffefda6f..c6296e0324 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumisnegativerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumisnegativerecipe.md @@ -32,12 +32,17 @@ static final class BigDecimalSignumIsNegative { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalSignumIsNegativeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalSignumIsNegativeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumispositiverecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumispositiverecipe.md index 37aae802c7..a4b4799f28 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumispositiverecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumispositiverecipe.md @@ -32,12 +32,17 @@ static final class BigDecimalSignumIsPositive { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalSignumIsPositiveRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalSignumIsPositiveRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumiszerorecipe.md index 89cb4b5d27..268ec53a85 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalsignumiszerorecipe.md @@ -32,12 +32,17 @@ static final class BigDecimalSignumIsZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalSignumIsZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalSignumIsZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimaltenrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimaltenrecipe.md index 622593a9e2..c39600837a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimaltenrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimaltenrecipe.md @@ -31,12 +31,17 @@ static final class BigDecimalTen { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalTenRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalTenRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalvalueofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalvalueofrecipe.md index 737949bcaf..2f1bf644bc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalvalueofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalvalueofrecipe.md @@ -32,12 +32,17 @@ static final class BigDecimalValueOf { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalValueOfRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalValueOfRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalzerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalzerorecipe.md index 76b6bf8372..6e10dae875 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalzerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes$bigdecimalzerorecipe.md @@ -31,12 +31,17 @@ static final class BigDecimalZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes$BigDecimalZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes.md index 8517ab8a80..b696cb01f5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bigdecimalrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.BigDecimalR ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BigDecimalRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperaddinputlinesexpectunchangedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperaddinputlinesexpectunchangedrecipe.md index 5f4ad022b8..c32f591d7a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperaddinputlinesexpectunchangedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperaddinputlinesexpectunchangedrecipe.md @@ -31,12 +31,17 @@ static final class BugCheckerRefactoringTestHelperAddInputLinesExpectUnchanged { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BugCheckerRulesRecipes$BugCheckerRefactoringTestHelperAddInputLinesExpectUnchangedRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BugCheckerRulesRecipes$BugCheckerRefactoringTestHelperAddInputLinesExpectUnchangedRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperidentityrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperidentityrecipe.md index 5760110790..1f61a25862 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperidentityrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$bugcheckerrefactoringtesthelperidentityrecipe.md @@ -32,12 +32,17 @@ static final class BugCheckerRefactoringTestHelperIdentity { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BugCheckerRulesRecipes$BugCheckerRefactoringTestHelperIdentityRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BugCheckerRulesRecipes$BugCheckerRefactoringTestHelperIdentityRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$constantsformatrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$constantsformatrecipe.md index 9e596784af..d88eabc472 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$constantsformatrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$constantsformatrecipe.md @@ -31,12 +31,17 @@ static final class ConstantsFormat { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BugCheckerRulesRecipes$ConstantsFormatRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BugCheckerRulesRecipes$ConstantsFormatRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$namecontentequalsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$namecontentequalsrecipe.md index 34845075ed..3904118386 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$namecontentequalsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes$namecontentequalsrecipe.md @@ -36,12 +36,17 @@ static final class NameContentEquals { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BugCheckerRulesRecipes$NameContentEqualsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BugCheckerRulesRecipes$NameContentEqualsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes.md index 2f24252c96..ffe912ea5a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/bugcheckerrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.BugCheckerR ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BugCheckerRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.BugCheckerRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concatonedoublestreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concatonedoublestreamrecipe.md index a77534ca5d..2bcb2e9c80 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concatonedoublestreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concatonedoublestreamrecipe.md @@ -32,12 +32,17 @@ static final class ConcatOneDoubleStream { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$ConcatOneDoubleStreamRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$ConcatOneDoubleStreamRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concattwodoublestreamsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concattwodoublestreamsrecipe.md index 242064779a..f138b7657a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concattwodoublestreamsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$concattwodoublestreamsrecipe.md @@ -31,12 +31,17 @@ static final class ConcatTwoDoubleStreams { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$ConcatTwoDoubleStreamsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$ConcatTwoDoubleStreamsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamallmatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamallmatchrecipe.md index 45d9029597..4610440da3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamallmatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamallmatchrecipe.md @@ -31,12 +31,17 @@ static final class DoubleStreamAllMatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamAllMatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamAllMatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamanymatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamanymatchrecipe.md index 1abb7451c8..2e3adbb3bc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamanymatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamanymatchrecipe.md @@ -32,12 +32,17 @@ static final class DoubleStreamAnyMatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamAnyMatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamAnyMatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamfiltersortedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamfiltersortedrecipe.md index d1d376d8ba..b635743cf9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamfiltersortedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamfiltersortedrecipe.md @@ -31,12 +31,17 @@ static final class DoubleStreamFilterSorted { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamFilterSortedRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamFilterSortedRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisemptyrecipe.md index 666d8ba50b..e3514cb9f8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisemptyrecipe.md @@ -31,12 +31,17 @@ static final class DoubleStreamIsEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamIsEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamIsEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisnotemptyrecipe.md index 6b7615473f..79ce94feb9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamisnotemptyrecipe.md @@ -31,12 +31,17 @@ static final class DoubleStreamIsNotEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamIsNotEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamIsNotEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamminrecipe.md index 8326ed02d0..ea097d6a7e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamminrecipe.md @@ -31,12 +31,17 @@ static final class DoubleStreamMin { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamMinRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamMinRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamnonematchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamnonematchrecipe.md index dba2f3eb59..efe8c162d7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamnonematchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamnonematchrecipe.md @@ -31,12 +31,17 @@ static final class DoubleStreamNoneMatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamNoneMatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamNoneMatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamtakewhilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamtakewhilerecipe.md index 098d64bd0f..7ce16eb872 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamtakewhilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes$doublestreamtakewhilerecipe.md @@ -31,12 +31,17 @@ static final class DoubleStreamTakeWhile { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamTakeWhileRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes$DoubleStreamTakeWhileRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes.md index d409049183..eb011ca854 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/doublestreamrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.DoubleStrea ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.DoubleStreamRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -62,7 +67,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$doublenegationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$doublenegationrecipe.md index 314ee7f7a3..6dd6e88674 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$doublenegationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$doublenegationrecipe.md @@ -33,12 +33,17 @@ static final class DoubleNegation { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.EqualityRulesRecipes$DoubleNegationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.EqualityRulesRecipes$DoubleNegationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$indirectdoublenegationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$indirectdoublenegationrecipe.md index 103542a98b..825b65fe5d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$indirectdoublenegationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$indirectdoublenegationrecipe.md @@ -43,12 +43,17 @@ static final class IndirectDoubleNegation { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.EqualityRulesRecipes$IndirectDoubleNegationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.EqualityRulesRecipes$IndirectDoubleNegationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$negationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$negationrecipe.md index c99ac3d4b0..bf064eedb4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$negationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes$negationrecipe.md @@ -43,12 +43,17 @@ static final class Negation { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.EqualityRulesRecipes$NegationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.EqualityRulesRecipes$NegationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes.md index 8bca79bc7c..3a4308f292 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/equalityrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.EqualityRul ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.EqualityRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.EqualityRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -48,7 +53,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfileincustomdirectorytofilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfileincustomdirectorytofilerecipe.md index 7318497f7d..2bdac9af1b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfileincustomdirectorytofilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfileincustomdirectorytofilerecipe.md @@ -31,12 +31,17 @@ static final class FilesCreateTempFileInCustomDirectoryToFile { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$FilesCreateTempFileInCustomDirectoryToFileRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$FilesCreateTempFileInCustomDirectoryToFileRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfiletofilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfiletofilerecipe.md index 3b0124a94f..a98159e25d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfiletofilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filescreatetempfiletofilerecipe.md @@ -33,12 +33,17 @@ static final class FilesCreateTempFileToFile { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$FilesCreateTempFileToFileRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$FilesCreateTempFileToFileRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringrecipe.md index c02a4a8864..70225c08c7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringrecipe.md @@ -31,12 +31,17 @@ static final class FilesReadString { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$FilesReadStringRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$FilesReadStringRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringwithcharsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringwithcharsetrecipe.md index f2ca7abd64..4ff58917b2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringwithcharsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$filesreadstringwithcharsetrecipe.md @@ -31,12 +31,17 @@ static final class FilesReadStringWithCharset { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$FilesReadStringWithCharsetRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$FilesReadStringWithCharsetRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathinstancerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathinstancerecipe.md index 1f3761f527..affeae2c9c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathinstancerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathinstancerecipe.md @@ -31,12 +31,17 @@ static final class PathInstance { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$PathInstanceRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$PathInstanceRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathofurirecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathofurirecipe.md index dc4c51d67c..1d83621c25 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathofurirecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes$pathofurirecipe.md @@ -31,12 +31,17 @@ static final class PathOfUri { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$PathOfUriRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes$PathOfUriRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes.md index dae9f65a6d..f2d7dd6556 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/filerulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.FileRules`. ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.FileRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadallbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadallbytesrecipe.md index 8351c449c1..e53d43f8b2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadallbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadallbytesrecipe.md @@ -31,12 +31,17 @@ static final class InputStreamReadAllBytes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.InputStreamRulesRecipes$InputStreamReadAllBytesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.InputStreamRulesRecipes$InputStreamReadAllBytesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadnbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadnbytesrecipe.md index 1a9ceca3f1..3be8d47c67 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadnbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamreadnbytesrecipe.md @@ -31,12 +31,17 @@ static final class InputStreamReadNBytes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.InputStreamRulesRecipes$InputStreamReadNBytesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.InputStreamRulesRecipes$InputStreamReadNBytesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamskipnbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamskipnbytesrecipe.md index a4d53e2c8f..f9160da9d8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamskipnbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamskipnbytesrecipe.md @@ -31,12 +31,17 @@ static final class InputStreamSkipNBytes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.InputStreamRulesRecipes$InputStreamSkipNBytesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.InputStreamRulesRecipes$InputStreamSkipNBytesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamtransfertorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamtransfertorecipe.md index 79b20271d1..7fb4236a22 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamtransfertorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes$inputstreamtransfertorecipe.md @@ -31,12 +31,17 @@ static final class InputStreamTransferTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.InputStreamRulesRecipes$InputStreamTransferToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.InputStreamRulesRecipes$InputStreamTransferToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes.md index 3e5fa7ede3..bc77558780 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/inputstreamrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.InputStream ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.InputStreamRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.InputStreamRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -50,7 +55,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concatoneintstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concatoneintstreamrecipe.md index ccb566f548..dd0cb0c68d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concatoneintstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concatoneintstreamrecipe.md @@ -32,12 +32,17 @@ static final class ConcatOneIntStream { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$ConcatOneIntStreamRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$ConcatOneIntStreamRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concattwointstreamsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concattwointstreamsrecipe.md index 6bf3e75e4b..66e7fa5ac1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concattwointstreamsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$concattwointstreamsrecipe.md @@ -31,12 +31,17 @@ static final class ConcatTwoIntStreams { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$ConcatTwoIntStreamsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$ConcatTwoIntStreamsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamallmatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamallmatchrecipe.md index 4e223da1b7..d908f96ca7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamallmatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamallmatchrecipe.md @@ -31,12 +31,17 @@ static final class IntStreamAllMatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamAllMatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamAllMatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamanymatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamanymatchrecipe.md index 55c816f547..a2e84bf9b0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamanymatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamanymatchrecipe.md @@ -32,12 +32,17 @@ static final class IntStreamAnyMatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamAnyMatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamAnyMatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamclosedopenrangerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamclosedopenrangerecipe.md index 3daec5f8c8..a2209a31e9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamclosedopenrangerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamclosedopenrangerecipe.md @@ -31,12 +31,17 @@ static final class IntStreamClosedOpenRange { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamClosedOpenRangeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamClosedOpenRangeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamfiltersortedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamfiltersortedrecipe.md index 988dd6ffca..f0f5fbea2a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamfiltersortedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamfiltersortedrecipe.md @@ -31,12 +31,17 @@ static final class IntStreamFilterSorted { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamFilterSortedRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamFilterSortedRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisemptyrecipe.md index 070c6238e9..49e0fb4f42 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisemptyrecipe.md @@ -31,12 +31,17 @@ static final class IntStreamIsEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamIsEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamIsEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisnotemptyrecipe.md index 46a984ff7a..e9ec49875f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamisnotemptyrecipe.md @@ -31,12 +31,17 @@ static final class IntStreamIsNotEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamIsNotEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamIsNotEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamminrecipe.md index 5150dfb1a2..132928038a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamminrecipe.md @@ -31,12 +31,17 @@ static final class IntStreamMin { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamMinRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamMinRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamnonematchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamnonematchrecipe.md index 4c8a60ac0f..663763d4f0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamnonematchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamnonematchrecipe.md @@ -31,12 +31,17 @@ static final class IntStreamNoneMatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamNoneMatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamNoneMatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamtakewhilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamtakewhilerecipe.md index b4b659c8dd..662a9caea2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamtakewhilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes$intstreamtakewhilerecipe.md @@ -31,12 +31,17 @@ static final class IntStreamTakeWhile { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamTakeWhileRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes$IntStreamTakeWhileRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes.md index 888362e3ad..ae261fef4f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/intstreamrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.IntStreamRu ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.IntStreamRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodedoesnotthrowanyexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodedoesnotthrowanyexceptionrecipe.md index b4f2e20c4e..b6f00e2c23 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodedoesnotthrowanyexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodedoesnotthrowanyexceptionrecipe.md @@ -37,12 +37,17 @@ static final class AssertThatCodeDoesNotThrowAnyException { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatCodeDoesNotThrowAnyExceptionRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatCodeDoesNotThrowAnyExceptionRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagestringdoesnotthrowanyexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagestringdoesnotthrowanyexceptionrecipe.md index d5cb397283..cad2ab579a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagestringdoesnotthrowanyexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagestringdoesnotthrowanyexceptionrecipe.md @@ -37,12 +37,17 @@ static final class AssertThatCodeWithFailMessageStringDoesNotThrowAnyException { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatCodeWithFailMessageStringDoesNotThrowAnyExceptionRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatCodeWithFailMessageStringDoesNotThrowAnyExceptionRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagesupplierdoesnotthrowanyexceptionrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagesupplierdoesnotthrowanyexceptionrecipe.md index c6fbcc3bea..61cfa4b29d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagesupplierdoesnotthrowanyexceptionrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatcodewithfailmessagesupplierdoesnotthrowanyexceptionrecipe.md @@ -37,12 +37,17 @@ static final class AssertThatCodeWithFailMessageSupplierDoesNotThrowAnyException ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatCodeWithFailMessageSupplierDoesNotThrowAnyExceptionRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatCodeWithFailMessageSupplierDoesNotThrowAnyExceptionRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisfalserecipe.md index f04b4f5f28..64fd6f3dd0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisfalserecipe.md @@ -32,12 +32,17 @@ static final class AssertThatIsFalse { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsFalseRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsFalseRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotnullrecipe.md index 8c76a8c625..37db21b8e6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotnullrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatIsNotNull { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsNotNullRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsNotNullRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotsameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotsameasrecipe.md index 21c43e3b27..b89f1dc0db 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotsameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnotsameasrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatIsNotSameAs { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsNotSameAsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsNotSameAsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnullrecipe.md index 50ae9898e4..5031988d37 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatisnullrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatIsNull { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsNullRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsNullRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatissameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatissameasrecipe.md index 8419b512f1..ee6d74b00a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatissameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatissameasrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatIsSameAs { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsSameAsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsSameAsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatistruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatistruerecipe.md index 4dbb302754..525cf4f0df 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatistruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatistruerecipe.md @@ -32,12 +32,17 @@ static final class AssertThatIsTrue { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsTrueRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatIsTrueRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisfalserecipe.md index 3b01dee7fe..33b802d124 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisfalserecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageStringIsFalse { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsFalseRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsFalseRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotnullrecipe.md index 2acb89675d..68cf86cadb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotnullrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageStringIsNotNull { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsNotNullRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsNotNullRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotsameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotsameasrecipe.md index 413dd49ed7..6524bc1510 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotsameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnotsameasrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageStringIsNotSameAs { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsNotSameAsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsNotSameAsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnullrecipe.md index e88e7eb9de..3f0e6039cc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringisnullrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageStringIsNull { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsNullRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsNullRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringissameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringissameasrecipe.md index 4b97239d5d..0fc772f3ef 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringissameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringissameasrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageStringIsSameAs { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsSameAsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsSameAsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringistruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringistruerecipe.md index 07055f1a16..e4d143b285 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringistruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagestringistruerecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageStringIsTrue { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsTrueRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageStringIsTrueRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisfalserecipe.md index 84eefdf9ec..a4cf6532e9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisfalserecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageSupplierIsFalse { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsFalseRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsFalseRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotnullrecipe.md index e9a21d15c2..a1d86e52a1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotnullrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageSupplierIsNotNull { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsNotNullRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsNotNullRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotsameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotsameasrecipe.md index 2da7b67d48..9e1d601996 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotsameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnotsameasrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageSupplierIsNotSameAs { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsNotSameAsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsNotSameAsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnullrecipe.md index f21e0d027a..f900b8d7b4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierisnullrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageSupplierIsNull { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsNullRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsNullRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierissameasrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierissameasrecipe.md index f62e4c1167..8971752db4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierissameasrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplierissameasrecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageSupplierIsSameAs { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsSameAsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsSameAsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplieristruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplieristruerecipe.md index 9800a35dc9..2a657b3888 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplieristruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes$assertthatwithfailmessagesupplieristruerecipe.md @@ -32,12 +32,17 @@ static final class AssertThatWithFailMessageSupplierIsTrue { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsTrueRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes$AssertThatWithFailMessageSupplierIsTrueRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes.md index 1e137c6b7a..a9b0ad5207 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/junittoassertjrulesrecipes.md @@ -17,11 +17,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.JUnitToAssertJRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -88,7 +93,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concatonelongstreamrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concatonelongstreamrecipe.md index ca7caf4c5b..3377b46c7c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concatonelongstreamrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concatonelongstreamrecipe.md @@ -32,12 +32,17 @@ static final class ConcatOneLongStream { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$ConcatOneLongStreamRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$ConcatOneLongStreamRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concattwolongstreamsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concattwolongstreamsrecipe.md index c95862441f..88eb1f64ef 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concattwolongstreamsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$concattwolongstreamsrecipe.md @@ -31,12 +31,17 @@ static final class ConcatTwoLongStreams { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$ConcatTwoLongStreamsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$ConcatTwoLongStreamsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamallmatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamallmatchrecipe.md index dc28173f65..290d0a6eb6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamallmatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamallmatchrecipe.md @@ -31,12 +31,17 @@ static final class LongStreamAllMatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamAllMatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamAllMatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamanymatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamanymatchrecipe.md index 8c557153e7..6a753dca9a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamanymatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamanymatchrecipe.md @@ -32,12 +32,17 @@ static final class LongStreamAnyMatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamAnyMatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamAnyMatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamclosedopenrangerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamclosedopenrangerecipe.md index 207b34f45a..96fa9ef52f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamclosedopenrangerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamclosedopenrangerecipe.md @@ -31,12 +31,17 @@ static final class LongStreamClosedOpenRange { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamClosedOpenRangeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamClosedOpenRangeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamfiltersortedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamfiltersortedrecipe.md index bd8a20e77e..dde02c2d77 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamfiltersortedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamfiltersortedrecipe.md @@ -31,12 +31,17 @@ static final class LongStreamFilterSorted { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamFilterSortedRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamFilterSortedRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisemptyrecipe.md index 68b17a658e..2b8f638cf4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisemptyrecipe.md @@ -31,12 +31,17 @@ static final class LongStreamIsEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamIsEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamIsEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisnotemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisnotemptyrecipe.md index 21d97c7d79..1a1e7b5731 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisnotemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamisnotemptyrecipe.md @@ -31,12 +31,17 @@ static final class LongStreamIsNotEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamIsNotEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamIsNotEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamminrecipe.md index 1643347679..1a4f0651a9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamminrecipe.md @@ -31,12 +31,17 @@ static final class LongStreamMin { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamMinRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamMinRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamnonematchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamnonematchrecipe.md index 2be1a8adce..838c2a96e9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamnonematchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamnonematchrecipe.md @@ -31,12 +31,17 @@ static final class LongStreamNoneMatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamNoneMatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamNoneMatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamtakewhilerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamtakewhilerecipe.md index 2950e0ad3f..db55539aa5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamtakewhilerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes$longstreamtakewhilerecipe.md @@ -31,12 +31,17 @@ static final class LongStreamTakeWhile { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamTakeWhileRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes$LongStreamTakeWhileRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes.md index 40e01757d9..f2ec7db891 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/longstreamrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.LongStreamR ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.LongStreamRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -64,7 +69,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof1recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof1recipe.md index b3d63ce121..90d67e1b6b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof1recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof1recipe.md @@ -31,12 +31,17 @@ static final class TagsOf1 { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes$TagsOf1Recipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes$TagsOf1Recipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof2recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof2recipe.md index 65c0b6e0bd..5fb761caad 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof2recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof2recipe.md @@ -31,12 +31,17 @@ static final class TagsOf2 { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes$TagsOf2Recipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes$TagsOf2Recipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof3recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof3recipe.md index e898b9a606..d1281cc83f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof3recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof3recipe.md @@ -31,12 +31,17 @@ static final class TagsOf3 { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes$TagsOf3Recipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes$TagsOf3Recipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof4recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof4recipe.md index e6516b9b79..84e9a168ff 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof4recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof4recipe.md @@ -31,12 +31,17 @@ static final class TagsOf4 { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes$TagsOf4Recipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes$TagsOf4Recipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof5recipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof5recipe.md index 8952dc1c25..063ac1e438 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof5recipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes$tagsof5recipe.md @@ -31,12 +31,17 @@ static final class TagsOf5 { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes$TagsOf5Recipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes$TagsOf5Recipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes.md index e11190cb5b..9c55b35ca8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/micrometerrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.MicrometerR ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MicrometerRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -52,7 +57,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$invocationonmockgetargumentsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$invocationonmockgetargumentsrecipe.md index 445f51e676..da0f17a8fb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$invocationonmockgetargumentsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$invocationonmockgetargumentsrecipe.md @@ -31,12 +31,17 @@ static final class InvocationOnMockGetArguments { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MockitoRulesRecipes$InvocationOnMockGetArgumentsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MockitoRulesRecipes$InvocationOnMockGetArgumentsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$neverrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$neverrecipe.md index 109368641f..bef38132af 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$neverrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes$neverrecipe.md @@ -32,12 +32,17 @@ static final class Never { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MockitoRulesRecipes$NeverRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MockitoRulesRecipes$NeverRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes.md index cf0a1c8e0c..8e8671f1b4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/mockitorulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.MockitoRule ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MockitoRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.MockitoRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnotnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnotnullrecipe.md index a06c2814c2..ead9efa161 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnotnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnotnullrecipe.md @@ -33,12 +33,17 @@ static final class IsNotNull { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.NullRulesRecipes$IsNotNullRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.NullRulesRecipes$IsNotNullRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnullrecipe.md index 4cfd2d3a66..9b51165b53 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes$isnullrecipe.md @@ -33,12 +33,17 @@ static final class IsNull { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.NullRulesRecipes$IsNullRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.NullRulesRecipes$IsNullRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes.md index 7678b7ab17..3fd676dcd6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/nullrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.NullRules`. ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.NullRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.NullRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patternaspredicaterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patternaspredicaterecipe.md index e938f017ec..a8e3cbcaec 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patternaspredicaterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patternaspredicaterecipe.md @@ -31,12 +31,17 @@ static final class PatternAsPredicate { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PatternRulesRecipes$PatternAsPredicateRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PatternRulesRecipes$PatternAsPredicateRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patterncompileaspredicaterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patterncompileaspredicaterecipe.md index 2f8559603c..77a2535214 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patterncompileaspredicaterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes$patterncompileaspredicaterecipe.md @@ -31,12 +31,17 @@ static final class PatternCompileAsPredicate { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PatternRulesRecipes$PatternCompileAsPredicateRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PatternRulesRecipes$PatternCompileAsPredicateRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes.md index bd2c333c37..d7e6803d34 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/patternrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.PatternRule ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PatternRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PatternRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -46,7 +51,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$booleanhashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$booleanhashcoderecipe.md index 3e92518702..7d5858c219 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$booleanhashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$booleanhashcoderecipe.md @@ -31,12 +31,17 @@ static final class BooleanHashCode { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$BooleanHashCodeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$BooleanHashCodeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$bytehashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$bytehashcoderecipe.md index e094e8b1e9..4e1aa5f014 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$bytehashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$bytehashcoderecipe.md @@ -31,12 +31,17 @@ static final class ByteHashCode { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$ByteHashCodeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$ByteHashCodeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterbytesrecipe.md index e6bc0b51e3..8276adddb6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterbytesrecipe.md @@ -31,12 +31,17 @@ static final class CharacterBytes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$CharacterBytesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$CharacterBytesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterhashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterhashcoderecipe.md index 3d8e080556..76d0829d5a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterhashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$characterhashcoderecipe.md @@ -31,12 +31,17 @@ static final class CharacterHashCode { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$CharacterHashCodeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$CharacterHashCodeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublebytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublebytesrecipe.md index 5567097096..3f8ff951f9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublebytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublebytesrecipe.md @@ -31,12 +31,17 @@ static final class DoubleBytes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$DoubleBytesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$DoubleBytesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublehashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublehashcoderecipe.md index 44022e9f9b..7d841fda1c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublehashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doublehashcoderecipe.md @@ -31,12 +31,17 @@ static final class DoubleHashCode { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$DoubleHashCodeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$DoubleHashCodeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doubleisfiniterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doubleisfiniterecipe.md index 091f30f026..4f38cdf18b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doubleisfiniterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$doubleisfiniterecipe.md @@ -31,12 +31,17 @@ static final class DoubleIsFinite { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$DoubleIsFiniteRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$DoubleIsFiniteRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatbytesrecipe.md index 3041994a79..3124ef07b2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatbytesrecipe.md @@ -31,12 +31,17 @@ static final class FloatBytes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$FloatBytesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$FloatBytesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floathashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floathashcoderecipe.md index 3684b78a7a..cc6c581f3e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floathashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floathashcoderecipe.md @@ -31,12 +31,17 @@ static final class FloatHashCode { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$FloatHashCodeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$FloatHashCodeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatisfiniterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatisfiniterecipe.md index 2b32883843..d00a86ddc8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatisfiniterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$floatisfiniterecipe.md @@ -31,12 +31,17 @@ static final class FloatIsFinite { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$FloatIsFiniteRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$FloatIsFiniteRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanorequaltorecipe.md index c77df41234..620b8061ec 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanorequaltorecipe.md @@ -32,12 +32,17 @@ static final class GreaterThanOrEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$GreaterThanOrEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$GreaterThanOrEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanrecipe.md index 98ea76fd4a..096c33bcfa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$greaterthanrecipe.md @@ -32,12 +32,17 @@ static final class GreaterThan { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$GreaterThanRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$GreaterThanRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerbytesrecipe.md index de0bb41678..c0a2a3f24f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerbytesrecipe.md @@ -31,12 +31,17 @@ static final class IntegerBytes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerBytesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerBytesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integercompareunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integercompareunsignedrecipe.md index 68c3cf1546..7bab2926b2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integercompareunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integercompareunsignedrecipe.md @@ -31,12 +31,17 @@ static final class IntegerCompareUnsigned { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerCompareUnsignedRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerCompareUnsignedRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerdivideunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerdivideunsignedrecipe.md index 73d214f490..d0af3fa277 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerdivideunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerdivideunsignedrecipe.md @@ -31,12 +31,17 @@ static final class IntegerDivideUnsigned { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerDivideUnsignedRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerDivideUnsignedRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerhashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerhashcoderecipe.md index 47acc86655..c0092c9edf 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerhashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerhashcoderecipe.md @@ -31,12 +31,17 @@ static final class IntegerHashCode { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerHashCodeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerHashCodeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintrecipe.md index 37d4441bf9..035acb71fa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintrecipe.md @@ -31,12 +31,17 @@ static final class IntegerParseUnsignedInt { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerParseUnsignedIntRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerParseUnsignedIntRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintwithradixrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintwithradixrecipe.md index 2f1f7c4b2e..00e38ae1b4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintwithradixrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerparseunsignedintwithradixrecipe.md @@ -31,12 +31,17 @@ static final class IntegerParseUnsignedIntWithRadix { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerParseUnsignedIntWithRadixRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerParseUnsignedIntWithRadixRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerremainderunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerremainderunsignedrecipe.md index 1125238a4d..5d02b641fc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerremainderunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integerremainderunsignedrecipe.md @@ -31,12 +31,17 @@ static final class IntegerRemainderUnsigned { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerRemainderUnsignedRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerRemainderUnsignedRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumisnegativerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumisnegativerecipe.md index 281485afcf..5a25d9a37b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumisnegativerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumisnegativerecipe.md @@ -32,12 +32,17 @@ static final class IntegerSignumIsNegative { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerSignumIsNegativeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerSignumIsNegativeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumispositiverecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumispositiverecipe.md index e6390add6b..4857c49502 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumispositiverecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integersignumispositiverecipe.md @@ -32,12 +32,17 @@ static final class IntegerSignumIsPositive { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerSignumIsPositiveRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerSignumIsPositiveRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringrecipe.md index 08f1dfcfa3..47a546f63c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringrecipe.md @@ -31,12 +31,17 @@ static final class IntegerToUnsignedString { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerToUnsignedStringRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerToUnsignedStringRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringwithradixrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringwithradixrecipe.md index 4330f77059..0462cd3144 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringwithradixrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$integertounsignedstringwithradixrecipe.md @@ -31,12 +31,17 @@ static final class IntegerToUnsignedStringWithRadix { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerToUnsignedStringWithRadixRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerToUnsignedStringWithRadixRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanorequaltorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanorequaltorecipe.md index b4c56b28f1..7007877851 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanorequaltorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanorequaltorecipe.md @@ -32,12 +32,17 @@ static final class LessThanOrEqualTo { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LessThanOrEqualToRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LessThanOrEqualToRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanrecipe.md index 3b77023d9b..9164d825dd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$lessthanrecipe.md @@ -32,12 +32,17 @@ static final class LessThan { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LessThanRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LessThanRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longbytesrecipe.md index a73473cb4b..d23388563e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longbytesrecipe.md @@ -31,12 +31,17 @@ static final class LongBytes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongBytesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongBytesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longcompareunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longcompareunsignedrecipe.md index 5662a80e63..33faa5d56d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longcompareunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longcompareunsignedrecipe.md @@ -31,12 +31,17 @@ static final class LongCompareUnsigned { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongCompareUnsignedRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongCompareUnsignedRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longdivideunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longdivideunsignedrecipe.md index 5ab415b25b..7e687e5fea 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longdivideunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longdivideunsignedrecipe.md @@ -31,12 +31,17 @@ static final class LongDivideUnsigned { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongDivideUnsignedRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongDivideUnsignedRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longhashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longhashcoderecipe.md index 7452f2d403..a9ec36e36f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longhashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longhashcoderecipe.md @@ -31,12 +31,17 @@ static final class LongHashCode { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongHashCodeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongHashCodeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongrecipe.md index 5ae3d76a9e..2ada7f4cde 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongrecipe.md @@ -31,12 +31,17 @@ static final class LongParseUnsignedLong { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongParseUnsignedLongRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongParseUnsignedLongRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongwithradixrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongwithradixrecipe.md index 2c9d6db431..ef8f067c9a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongwithradixrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longparseunsignedlongwithradixrecipe.md @@ -31,12 +31,17 @@ static final class LongParseUnsignedLongWithRadix { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongParseUnsignedLongWithRadixRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongParseUnsignedLongWithRadixRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longremainderunsignedrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longremainderunsignedrecipe.md index 8351b748ac..812383f7ca 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longremainderunsignedrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longremainderunsignedrecipe.md @@ -31,12 +31,17 @@ static final class LongRemainderUnsigned { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongRemainderUnsignedRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongRemainderUnsignedRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumisnegativerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumisnegativerecipe.md index 98c47d67e9..c19a14acd2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumisnegativerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumisnegativerecipe.md @@ -32,12 +32,17 @@ static final class LongSignumIsNegative { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongSignumIsNegativeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongSignumIsNegativeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumispositiverecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumispositiverecipe.md index c84f7c2fcd..fbc35c10c5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumispositiverecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longsignumispositiverecipe.md @@ -32,12 +32,17 @@ static final class LongSignumIsPositive { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongSignumIsPositiveRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongSignumIsPositiveRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtointexactrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtointexactrecipe.md index 6242604523..2399e9106a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtointexactrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtointexactrecipe.md @@ -31,12 +31,17 @@ static final class LongToIntExact { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongToIntExactRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongToIntExactRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringrecipe.md index 034f8c4ac2..ffbf2f60a9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringrecipe.md @@ -31,12 +31,17 @@ static final class LongToUnsignedString { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongToUnsignedStringRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongToUnsignedStringRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringwithradixrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringwithradixrecipe.md index 0938d3df57..9101048968 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringwithradixrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$longtounsignedstringwithradixrecipe.md @@ -31,12 +31,17 @@ static final class LongToUnsignedStringWithRadix { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongToUnsignedStringWithRadixRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongToUnsignedStringWithRadixRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shortbytesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shortbytesrecipe.md index 7385e05d86..0e82ae7862 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shortbytesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shortbytesrecipe.md @@ -31,12 +31,17 @@ static final class ShortBytes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$ShortBytesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$ShortBytesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shorthashcoderecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shorthashcoderecipe.md index e0c8400efd..44f3598d33 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shorthashcoderecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes$shorthashcoderecipe.md @@ -31,12 +31,17 @@ static final class ShortHashCode { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$ShortHashCodeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$ShortHashCodeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes.md index b898879666..b985195d4f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/primitiverulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.PrimitiveRu ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -120,7 +125,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifycompleterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifycompleterecipe.md index 651efe468d..ab852fde4e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifycompleterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifycompleterecipe.md @@ -31,12 +31,17 @@ static final class StepVerifierLastStepVerifyComplete { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyCompleteRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyCompleteRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormatchesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormatchesrecipe.md index a8d02df196..4efb78dbdf 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormatchesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormatchesrecipe.md @@ -31,12 +31,17 @@ static final class StepVerifierLastStepVerifyErrorMatches { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyErrorMatchesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyErrorMatchesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormessagerecipe.md index 612a671186..f34c35a696 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrormessagerecipe.md @@ -31,12 +31,17 @@ static final class StepVerifierLastStepVerifyErrorMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyErrorMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyErrorMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorrecipe.md index 0abfa71f61..6ebc826d60 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorrecipe.md @@ -31,12 +31,17 @@ static final class StepVerifierLastStepVerifyError { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyErrorRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyErrorRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesrecipe.md index 47df16a0ea..8c5f68521d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifyerrorsatisfiesrecipe.md @@ -31,12 +31,17 @@ static final class StepVerifierLastStepVerifyErrorSatisfies { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyErrorSatisfiesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyErrorSatisfiesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifytimeoutrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifytimeoutrecipe.md index 5b2f83f9db..dcdb55dd41 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifytimeoutrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes$stepverifierlaststepverifytimeoutrecipe.md @@ -31,12 +31,17 @@ static final class StepVerifierLastStepVerifyTimeout { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyTimeoutRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes$StepVerifierLastStepVerifyTimeoutRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes.md index dcada273b6..bdf5242753 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/reactorrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.ReactorRule ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.ReactorRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$completabletomonorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$completabletomonorecipe.md index 39bee786c0..6e118b970b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$completabletomonorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes$completabletomonorecipe.md @@ -31,12 +31,17 @@ static final class CompletableToMono { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.RxJava2AdapterRulesRecipes$CompletableToMonoRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.RxJava2AdapterRulesRecipes$CompletableToMonoRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes.md index 2857547303..3d920b2224 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/rxjava2adapterrulesrecipes.md @@ -13,7 +13,12 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.RxJava2Adap ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.RxJava2AdapterRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.RxJava2AdapterRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -41,7 +46,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$joiningrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$joiningrecipe.md index 3de7621964..4003540908 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$joiningrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes$joiningrecipe.md @@ -32,12 +32,17 @@ static final class Joining { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StreamRulesRecipes$JoiningRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StreamRulesRecipes$JoiningRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes.md index 90939a9f9a..a6c06b4d40 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/streamrulesrecipes.md @@ -13,7 +13,12 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.StreamRules ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StreamRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StreamRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Definition @@ -41,7 +46,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$filteremptystringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$filteremptystringrecipe.md index bfcc13ca9e..3447e0072f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$filteremptystringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$filteremptystringrecipe.md @@ -32,12 +32,17 @@ static final class FilterEmptyString { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$FilterEmptyStringRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$FilterEmptyStringRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$joinstringsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$joinstringsrecipe.md index 43b0d8e68b..04941eefb0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$joinstringsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$joinstringsrecipe.md @@ -41,12 +41,17 @@ static final class JoinStrings { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$JoinStringsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$JoinStringsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararrayrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararrayrecipe.md index 29db6c397b..6db9f66a89 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararrayrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararrayrecipe.md @@ -31,12 +31,17 @@ static final class NewStringFromCharArray { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$NewStringFromCharArrayRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$NewStringFromCharArrayRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararraysubsequencerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararraysubsequencerecipe.md index dd7af7f3b2..3e36bcead0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararraysubsequencerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$newstringfromchararraysubsequencerecipe.md @@ -31,12 +31,17 @@ static final class NewStringFromCharArraySubSequence { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$NewStringFromCharArraySubSequenceRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$NewStringFromCharArraySubSequenceRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$optionalnonemptystringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$optionalnonemptystringrecipe.md index f0556e7bba..55fb2e104f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$optionalnonemptystringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$optionalnonemptystringrecipe.md @@ -31,12 +31,17 @@ static final class OptionalNonEmptyString { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$OptionalNonEmptyStringRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$OptionalNonEmptyStringRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofcharrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofcharrecipe.md index d0e37bc84e..de81f944b8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofcharrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofcharrecipe.md @@ -32,12 +32,17 @@ static final class StringIndexOfChar { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringIndexOfCharRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringIndexOfCharRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofstringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofstringrecipe.md index 96553bc452..2443b1084d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofstringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringindexofstringrecipe.md @@ -32,12 +32,17 @@ static final class StringIndexOfString { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringIndexOfStringRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringIndexOfStringRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisemptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisemptyrecipe.md index 218bdfc69f..a516e45282 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisemptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisemptyrecipe.md @@ -32,12 +32,17 @@ static final class StringIsEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringIsEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringIsEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisnulloremptyrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisnulloremptyrecipe.md index 57d9e4586d..d4e09a37fe 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisnulloremptyrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringisnulloremptyrecipe.md @@ -33,12 +33,17 @@ static final class StringIsNullOrEmpty { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringIsNullOrEmptyRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringIsNullOrEmptyRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharrecipe.md index e521300c21..4e924f6e13 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharrecipe.md @@ -32,12 +32,17 @@ static final class StringLastIndexOfChar { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringLastIndexOfCharRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringLastIndexOfCharRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharwithindexrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharwithindexrecipe.md index 29c8b50731..273c77b50e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharwithindexrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofcharwithindexrecipe.md @@ -31,12 +31,17 @@ static final class StringLastIndexOfCharWithIndex { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringLastIndexOfCharWithIndexRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringLastIndexOfCharWithIndexRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringrecipe.md index a7453880ca..46e22487f0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringrecipe.md @@ -32,12 +32,17 @@ static final class StringLastIndexOfString { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringLastIndexOfStringRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringLastIndexOfStringRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringwithindexrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringwithindexrecipe.md index e92077bff1..31c603db87 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringwithindexrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringlastindexofstringwithindexrecipe.md @@ -31,12 +31,17 @@ static final class StringLastIndexOfStringWithIndex { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringLastIndexOfStringWithIndexRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringLastIndexOfStringWithIndexRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringstartswithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringstartswithrecipe.md index 384d30da31..ed7ba2af6e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringstartswithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringstartswithrecipe.md @@ -32,12 +32,17 @@ static final class StringStartsWith { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringStartsWithRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringStartsWithRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringvalueofrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringvalueofrecipe.md index 75b112c6d3..142709df98 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringvalueofrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$stringvalueofrecipe.md @@ -31,12 +31,17 @@ static final class StringValueOf { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringValueOfRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$StringValueOfRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$substringremainderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$substringremainderrecipe.md index fe39f747c0..71741edb72 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$substringremainderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$substringremainderrecipe.md @@ -31,12 +31,17 @@ static final class SubstringRemainder { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$SubstringRemainderRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$SubstringRemainderRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$utf8encodedlengthrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$utf8encodedlengthrecipe.md index fe938045d2..1e20f9c5e2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$utf8encodedlengthrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes$utf8encodedlengthrecipe.md @@ -31,12 +31,17 @@ static final class Utf8EncodedLength { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$Utf8EncodedLengthRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes$Utf8EncodedLengthRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes.md index d4df3a93e2..8529f8bdc5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/stringrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.StringRules ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.StringRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -76,7 +81,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixdeleterecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixdeleterecipe.md index 9878d1fbb6..accb05b245 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixdeleterecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixdeleterecipe.md @@ -31,12 +31,17 @@ static final class SuggestedFixDelete { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixDeleteRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixDeleteRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixpostfixwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixpostfixwithrecipe.md index be385ed261..4056c19368 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixpostfixwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixpostfixwithrecipe.md @@ -31,12 +31,17 @@ static final class SuggestedFixPostfixWith { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixPostfixWithRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixPostfixWithRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixprefixwithrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixprefixwithrecipe.md index 74f94d62bc..12c141a351 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixprefixwithrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixprefixwithrecipe.md @@ -31,12 +31,17 @@ static final class SuggestedFixPrefixWith { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixPrefixWithRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixPrefixWithRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacestartendrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacestartendrecipe.md index 7fdff87d7d..9294a124b8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacestartendrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacestartendrecipe.md @@ -31,12 +31,17 @@ static final class SuggestedFixReplaceStartEnd { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixReplaceStartEndRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixReplaceStartEndRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreerecipe.md index 9c91c02893..7c30e2a584 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreerecipe.md @@ -31,12 +31,17 @@ static final class SuggestedFixReplaceTree { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixReplaceTreeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixReplaceTreeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreestartendrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreestartendrecipe.md index 30f1d635a9..d58bab3adc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreestartendrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixreplacetreestartendrecipe.md @@ -31,12 +31,17 @@ static final class SuggestedFixReplaceTreeStartEnd { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixReplaceTreeStartEndRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixReplaceTreeStartEndRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixswaprecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixswaprecipe.md index 2841d6d4c7..b72985589b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixswaprecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes$suggestedfixswaprecipe.md @@ -31,12 +31,17 @@ static final class SuggestedFixSwap { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixSwapRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes$SuggestedFixSwapRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes.md index 187225479a..624f8b15ac 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/suggestedfixrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.SuggestedFi ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.SuggestedFixRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -56,7 +61,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderrecipe.md index 648c9ea185..7dee23203b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderrecipe.md @@ -72,12 +72,17 @@ static final class AssertEqualArrayIterationOrder { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualArrayIterationOrderRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualArrayIterationOrderRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderwithmessagerecipe.md index 89451ae2cb..de3155e6ac 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarrayiterationorderwithmessagerecipe.md @@ -72,12 +72,17 @@ static final class AssertEqualArrayIterationOrderWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualArrayIterationOrderWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualArrayIterationOrderWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderrecipe.md index cb00084580..3f3fee1daa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderrecipe.md @@ -32,12 +32,17 @@ static final class AssertEqualArraysIrrespectiveOfOrder { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualArraysIrrespectiveOfOrderRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualArraysIrrespectiveOfOrderRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderwithmessagerecipe.md index b038185d2e..9875e96eed 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalarraysirrespectiveoforderwithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertEqualArraysIrrespectiveOfOrderWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualArraysIrrespectiveOfOrderWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualArraysIrrespectiveOfOrderWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltarecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltarecipe.md index 2a3d83510c..eece31f3e3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltarecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltarecipe.md @@ -32,12 +32,17 @@ static final class AssertEqualDoublesWithDelta { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualDoublesWithDeltaRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualDoublesWithDeltaRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltawithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltawithmessagerecipe.md index e5d01c4a66..5c772cbbc6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltawithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequaldoubleswithdeltawithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertEqualDoublesWithDeltaWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualDoublesWithDeltaWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualDoublesWithDeltaWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltarecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltarecipe.md index 106adec978..2075756421 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltarecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltarecipe.md @@ -32,12 +32,17 @@ static final class AssertEqualFloatsWithDelta { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualFloatsWithDeltaRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualFloatsWithDeltaRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltawithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltawithmessagerecipe.md index 3cc327cf6c..a357baa36e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltawithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalfloatswithdeltawithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertEqualFloatsWithDeltaWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualFloatsWithDeltaWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualFloatsWithDeltaWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalrecipe.md index 583460e6d6..6263025ce7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalrecipe.md @@ -82,12 +82,17 @@ static final class AssertEqual { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalwithmessagerecipe.md index 0ca0a0a5d0..c1c7a6371f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertequalwithmessagerecipe.md @@ -82,12 +82,17 @@ static final class AssertEqualWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertEqualWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalserecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalserecipe.md index 9611f95982..0e1ea5dbb9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalserecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalserecipe.md @@ -32,12 +32,17 @@ static final class AssertFalse { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertFalseRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertFalseRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalsewithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalsewithmessagerecipe.md index 8b9ca5c4a5..23c8b0d905 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalsewithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertfalsewithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertFalseWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertFalseWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertFalseWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullrecipe.md index 548df92589..55c58852c8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullrecipe.md @@ -32,12 +32,17 @@ static final class AssertNotNull { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNotNullRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNotNullRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullwithmessagerecipe.md index adb5ddbd43..73e824e0dd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotnullwithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertNotNullWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNotNullWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNotNullWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamerecipe.md index 0d8ea8ff11..8bf094a437 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamerecipe.md @@ -32,12 +32,17 @@ static final class AssertNotSame { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNotSameRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNotSameRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamewithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamewithmessagerecipe.md index d7d167a734..e423498b2d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamewithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnotsamewithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertNotSameWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNotSameWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNotSameWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullrecipe.md index 1c197cf453..238a43053a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullrecipe.md @@ -32,12 +32,17 @@ static final class AssertNull { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNullRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNullRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullwithmessagerecipe.md index d71c68d6f5..871b3528e6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertnullwithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertNullWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNullWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertNullWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamerecipe.md index f4203fd4b1..6497923a7a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamerecipe.md @@ -32,12 +32,17 @@ static final class AssertSame { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertSameRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertSameRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamewithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamewithmessagerecipe.md index f11a03d3e2..0c7ac22d66 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamewithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertsamewithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertSameWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertSameWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertSameWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowsrecipe.md index e928923174..fd8f83c7a5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertthrowsrecipe.md @@ -32,12 +32,17 @@ static final class AssertThrows { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertThrowsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertThrowsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruerecipe.md index 25d15fe272..048cc57546 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruerecipe.md @@ -32,12 +32,17 @@ static final class AssertTrue { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertTrueRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertTrueRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruewithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruewithmessagerecipe.md index 68635fd3d3..c128e09867 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruewithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$asserttruewithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertTrueWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertTrueWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertTrueWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltarecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltarecipe.md index cf56f6525a..f8dea19aab 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltarecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltarecipe.md @@ -32,12 +32,17 @@ static final class AssertUnequalDoublesWithDelta { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalDoublesWithDeltaRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalDoublesWithDeltaRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltawithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltawithmessagerecipe.md index 33e3638f6a..901f8dfe81 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltawithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequaldoubleswithdeltawithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertUnequalDoublesWithDeltaWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalDoublesWithDeltaWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalDoublesWithDeltaWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltarecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltarecipe.md index 93c866b337..e6a6ac0181 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltarecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltarecipe.md @@ -32,12 +32,17 @@ static final class AssertUnequalFloatsWithDelta { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalFloatsWithDeltaRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalFloatsWithDeltaRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltawithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltawithmessagerecipe.md index 4bf032b622..3592dc0e7f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltawithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalfloatswithdeltawithmessagerecipe.md @@ -32,12 +32,17 @@ static final class AssertUnequalFloatsWithDeltaWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalFloatsWithDeltaWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalFloatsWithDeltaWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalrecipe.md index 6846607efa..c930d142d4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalrecipe.md @@ -87,12 +87,17 @@ static final class AssertUnequal { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalwithmessagerecipe.md index fe120fad2f..ecd8da7cc6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$assertunequalwithmessagerecipe.md @@ -87,12 +87,17 @@ static final class AssertUnequalWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$AssertUnequalWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failrecipe.md index a0cba6d86d..667ca8702b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failrecipe.md @@ -33,12 +33,17 @@ static final class Fail { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$FailRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$FailRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessageandthrowablerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessageandthrowablerecipe.md index 43830a0af1..1864657c23 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessageandthrowablerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessageandthrowablerecipe.md @@ -32,12 +32,17 @@ static final class FailWithMessageAndThrowable { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$FailWithMessageAndThrowableRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$FailWithMessageAndThrowableRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessagerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessagerecipe.md index 16aad166e5..34afc10588 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessagerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes$failwithmessagerecipe.md @@ -32,12 +32,17 @@ static final class FailWithMessage { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$FailWithMessageRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes$FailWithMessageRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes.md index e4ab49d196..7af2480d09 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/testngtoassertjrulesrecipes.md @@ -30,11 +30,16 @@ import TabItem from '@theme/TabItem'; ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TestNGToAssertJRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -123,7 +128,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisafterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisafterrecipe.md index 22f59952e5..dbd8467c6d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisafterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisafterrecipe.md @@ -32,12 +32,17 @@ static final class ChronoLocalDateIsAfter { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoLocalDateIsAfterRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoLocalDateIsAfterRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisbeforerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisbeforerecipe.md index 1cd3552182..8b031b05f8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisbeforerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldateisbeforerecipe.md @@ -32,12 +32,17 @@ static final class ChronoLocalDateIsBefore { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoLocalDateIsBeforeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoLocalDateIsBeforeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisafterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisafterrecipe.md index 64399b5a24..88fb9ebccd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisafterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisafterrecipe.md @@ -32,12 +32,17 @@ static final class ChronoLocalDateTimeIsAfter { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoLocalDateTimeIsAfterRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoLocalDateTimeIsAfterRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisbeforerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisbeforerecipe.md index eaa5b515cb..fcbeef48dd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisbeforerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronolocaldatetimeisbeforerecipe.md @@ -32,12 +32,17 @@ static final class ChronoLocalDateTimeIsBefore { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoLocalDateTimeIsBeforeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoLocalDateTimeIsBeforeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisafterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisafterrecipe.md index 0c7ad3d9a8..a69dcf906a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisafterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisafterrecipe.md @@ -32,12 +32,17 @@ static final class ChronoZonedDateTimeIsAfter { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoZonedDateTimeIsAfterRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoZonedDateTimeIsAfterRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisbeforerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisbeforerecipe.md index e92f996814..7b9ced509a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisbeforerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$chronozoneddatetimeisbeforerecipe.md @@ -32,12 +32,17 @@ static final class ChronoZonedDateTimeIsBefore { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoZonedDateTimeIsBeforeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ChronoZonedDateTimeIsBeforeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$clockinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$clockinstantrecipe.md index 3ab3f59104..af2d4f8a4c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$clockinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$clockinstantrecipe.md @@ -31,12 +31,17 @@ static final class ClockInstant { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ClockInstantRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ClockInstantRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweeninstantsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweeninstantsrecipe.md index 806e2eefd7..218d327d8f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweeninstantsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweeninstantsrecipe.md @@ -31,12 +31,17 @@ static final class DurationBetweenInstants { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationBetweenInstantsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationBetweenInstantsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweenoffsetdatetimesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweenoffsetdatetimesrecipe.md index f31db877de..0cf0efe181 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweenoffsetdatetimesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationbetweenoffsetdatetimesrecipe.md @@ -31,12 +31,17 @@ static final class DurationBetweenOffsetDateTimes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationBetweenOffsetDateTimesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationBetweenOffsetDateTimesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationiszerorecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationiszerorecipe.md index eeb0a23457..b56889568b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationiszerorecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationiszerorecipe.md @@ -31,12 +31,17 @@ static final class DurationIsZero { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationIsZeroRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationIsZeroRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofdaysrecipe.md index 9d5aa8eba7..538eedc4b2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofdaysrecipe.md @@ -31,12 +31,17 @@ static final class DurationOfDays { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfDaysRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfDaysRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofhoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofhoursrecipe.md index 5a21684b80..15fff40813 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofhoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofhoursrecipe.md @@ -31,12 +31,17 @@ static final class DurationOfHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofmillisrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofmillisrecipe.md index 0973506874..3cb2c061d0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofmillisrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofmillisrecipe.md @@ -31,12 +31,17 @@ static final class DurationOfMillis { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfMillisRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfMillisRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofminutesrecipe.md index be112bdf2e..d28eebfc3f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofminutesrecipe.md @@ -31,12 +31,17 @@ static final class DurationOfMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofnanosrecipe.md index 2d49eb3138..05f18c3645 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofnanosrecipe.md @@ -31,12 +31,17 @@ static final class DurationOfNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofsecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofsecondsrecipe.md index 6835bfdeb0..1e9a8d2587 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofsecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$durationofsecondsrecipe.md @@ -31,12 +31,17 @@ static final class DurationOfSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$DurationOfSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$epochinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$epochinstantrecipe.md index 8269464655..0d497304f8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$epochinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$epochinstantrecipe.md @@ -31,12 +31,17 @@ static final class EpochInstant { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$EpochInstantRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$EpochInstantRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatoffsetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatoffsetrecipe.md index 749b5eae3c..05ef41a6da 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatoffsetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatoffsetrecipe.md @@ -31,12 +31,17 @@ static final class InstantAtOffset { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$InstantAtOffsetRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$InstantAtOffsetRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatzonerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatzonerecipe.md index 63c5930ba9..fb682ed5d5 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatzonerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantatzonerecipe.md @@ -31,12 +31,17 @@ static final class InstantAtZone { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$InstantAtZoneRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$InstantAtZoneRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisafterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisafterrecipe.md index 5c3b567e84..099bf309a6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisafterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisafterrecipe.md @@ -32,12 +32,17 @@ static final class InstantIsAfter { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$InstantIsAfterRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$InstantIsAfterRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisbeforerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisbeforerecipe.md index efd116711c..b08d9a0531 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisbeforerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$instantisbeforerecipe.md @@ -32,12 +32,17 @@ static final class InstantIsBefore { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$InstantIsBeforeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$InstantIsBeforeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateatstartofdayrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateatstartofdayrecipe.md index 0cc61d88e5..5a004b599e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateatstartofdayrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateatstartofdayrecipe.md @@ -31,12 +31,17 @@ static final class LocalDateAtStartOfDay { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateAtStartOfDayRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateAtStartOfDayRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusdaysrecipe.md index 7103846843..637b9ccd7c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusdaysrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateMinusDays { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateMinusDaysRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateMinusDaysRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusmonthsrecipe.md index 89baef92ec..79e9b35c72 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusmonthsrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateMinusMonths { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateMinusMonthsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateMinusMonthsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusweeksrecipe.md index fafba3f78b..d66197bc07 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusweeksrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateMinusWeeks { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateMinusWeeksRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateMinusWeeksRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusyearsrecipe.md index b880d13567..3f52c39b97 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateminusyearsrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateMinusYears { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateMinusYearsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateMinusYearsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateofinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateofinstantrecipe.md index 545ef79ae9..cef9c0d089 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateofinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateofinstantrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateOfInstant { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateOfInstantRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateOfInstantRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusdaysrecipe.md index e20dfb288d..5866c57867 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusdaysrecipe.md @@ -36,12 +36,17 @@ static final class LocalDatePlusDays { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDatePlusDaysRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDatePlusDaysRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusmonthsrecipe.md index 51e59cd499..2c43eb471b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusmonthsrecipe.md @@ -36,12 +36,17 @@ static final class LocalDatePlusMonths { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDatePlusMonthsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDatePlusMonthsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusweeksrecipe.md index 7d6bea959c..df91362144 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusweeksrecipe.md @@ -36,12 +36,17 @@ static final class LocalDatePlusWeeks { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDatePlusWeeksRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDatePlusWeeksRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusyearsrecipe.md index 840ac3f130..112fbbea15 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdateplusyearsrecipe.md @@ -36,12 +36,17 @@ static final class LocalDatePlusYears { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDatePlusYearsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDatePlusYearsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusdaysrecipe.md index 29fb91d6dd..86ca93e46d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusdaysrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimeMinusDays { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusDaysRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusDaysRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminushoursrecipe.md index ae57aadb83..d808027c2f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminushoursrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimeMinusHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusminutesrecipe.md index 88a601b795..272a2bf0a8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusminutesrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimeMinusMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusmonthsrecipe.md index 4e5b11de32..22c02d51f4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusmonthsrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimeMinusMonths { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusMonthsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusMonthsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusnanosrecipe.md index 95b41836ea..f84c390baa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusnanosrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimeMinusNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminussecondsrecipe.md index 17280c325f..1ab006bdda 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminussecondsrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimeMinusSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusweeksrecipe.md index 13c5d87dad..ccea3aec09 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusweeksrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimeMinusWeeks { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusWeeksRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusWeeksRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusyearsrecipe.md index 35a2298a17..08b2da8b01 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeminusyearsrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimeMinusYears { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusYearsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeMinusYearsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeofinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeofinstantrecipe.md index 0e251eb5be..d7fd457e14 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeofinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeofinstantrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimeOfInstant { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeOfInstantRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimeOfInstantRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusdaysrecipe.md index f3142ab32c..cb253d02f9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusdaysrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimePlusDays { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusDaysRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusDaysRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplushoursrecipe.md index bf7cddf99a..e357d7d368 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplushoursrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimePlusHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusminutesrecipe.md index 7da7264af5..51aa55e826 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusminutesrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimePlusMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusmonthsrecipe.md index ca9ad00123..5de494fe50 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusmonthsrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimePlusMonths { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusMonthsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusMonthsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusnanosrecipe.md index 7c4f1e610b..33ca41307d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusnanosrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimePlusNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplussecondsrecipe.md index 53765ef215..153eca2755 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplussecondsrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimePlusSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusweeksrecipe.md index 76c3ccd3d5..4842b5fbe3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusweeksrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimePlusWeeks { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusWeeksRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusWeeksRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusyearsrecipe.md index 2182f41108..ec25b3f9e9 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localdatetimeplusyearsrecipe.md @@ -36,12 +36,17 @@ static final class LocalDateTimePlusYears { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusYearsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalDateTimePlusYearsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminrecipe.md index 5451eb7a35..ddb1ca9f1f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminrecipe.md @@ -31,12 +31,17 @@ static final class LocalTimeMin { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeMinRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeMinRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminushoursrecipe.md index 843247ed0d..24f2c3a9eb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminushoursrecipe.md @@ -36,12 +36,17 @@ static final class LocalTimeMinusHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeMinusHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeMinusHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusminutesrecipe.md index 26f04c70bf..4836317e8b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusminutesrecipe.md @@ -36,12 +36,17 @@ static final class LocalTimeMinusMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeMinusMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeMinusMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusnanosrecipe.md index b3fcab9f28..1038e54338 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminusnanosrecipe.md @@ -36,12 +36,17 @@ static final class LocalTimeMinusNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeMinusNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeMinusNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminussecondsrecipe.md index cab352a77f..b23774bd0a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeminussecondsrecipe.md @@ -36,12 +36,17 @@ static final class LocalTimeMinusSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeMinusSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeMinusSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeofinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeofinstantrecipe.md index dbde6ad05e..60cbf3d3ff 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeofinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeofinstantrecipe.md @@ -36,12 +36,17 @@ static final class LocalTimeOfInstant { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeOfInstantRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimeOfInstantRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplushoursrecipe.md index 0186588641..5aaf1015b7 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplushoursrecipe.md @@ -36,12 +36,17 @@ static final class LocalTimePlusHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimePlusHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimePlusHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusminutesrecipe.md index 93d482be56..3d0476b6ac 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusminutesrecipe.md @@ -36,12 +36,17 @@ static final class LocalTimePlusMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimePlusMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimePlusMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusnanosrecipe.md index a46d9ec61e..385467ac14 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplusnanosrecipe.md @@ -36,12 +36,17 @@ static final class LocalTimePlusNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimePlusNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimePlusNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplussecondsrecipe.md index 47f541b20f..62d3b9c889 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$localtimeplussecondsrecipe.md @@ -36,12 +36,17 @@ static final class LocalTimePlusSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimePlusSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$LocalTimePlusSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisafterrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisafterrecipe.md index 35b72d9188..d3ac7ff159 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisafterrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisafterrecipe.md @@ -32,12 +32,17 @@ static final class OffsetDateTimeIsAfter { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeIsAfterRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeIsAfterRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisbeforerecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisbeforerecipe.md index 6c27b4822f..1ec6c5610b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisbeforerecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeisbeforerecipe.md @@ -32,12 +32,17 @@ static final class OffsetDateTimeIsBefore { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeIsBeforeRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeIsBeforeRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusdaysrecipe.md index c31a10a808..c56deb1617 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusdaysrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimeMinusDays { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusDaysRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusDaysRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminushoursrecipe.md index f3a882e9f8..30aa51185f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminushoursrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimeMinusHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusminutesrecipe.md index 7d070e3d04..d7706eae00 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusminutesrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimeMinusMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusmonthsrecipe.md index 7ba00a1785..6b709f44ca 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusmonthsrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimeMinusMonths { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusMonthsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusMonthsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusnanosrecipe.md index 635d646c8d..ec06717d8c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusnanosrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimeMinusNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminussecondsrecipe.md index 0e27f487eb..4e3359488b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminussecondsrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimeMinusSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusweeksrecipe.md index 6a476b82d6..bdc341806e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusweeksrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimeMinusWeeks { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusWeeksRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusWeeksRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusyearsrecipe.md index 56ae8d4e73..0b8bcaca60 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeminusyearsrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimeMinusYears { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusYearsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeMinusYearsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeofinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeofinstantrecipe.md index 7e9b6ce64e..e069ec56bb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeofinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeofinstantrecipe.md @@ -31,12 +31,17 @@ static final class OffsetDateTimeOfInstant { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeOfInstantRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimeOfInstantRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusdaysrecipe.md index a2841b9592..e1055e556d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusdaysrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimePlusDays { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusDaysRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusDaysRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplushoursrecipe.md index 2d1e84b51a..ffe1932daa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplushoursrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimePlusHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusminutesrecipe.md index bc432d449c..c95195f605 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusminutesrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimePlusMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusmonthsrecipe.md index d667d69ddc..c92a2fe896 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusmonthsrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimePlusMonths { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusMonthsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusMonthsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusnanosrecipe.md index 19dcd709d9..5083e1b831 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusnanosrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimePlusNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplussecondsrecipe.md index 57edabee44..02f4f340fa 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplussecondsrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimePlusSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusweeksrecipe.md index 2e43425150..142b33b06a 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusweeksrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimePlusWeeks { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusWeeksRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusWeeksRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusyearsrecipe.md index 6ec5d44817..f7302d7f21 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsetdatetimeplusyearsrecipe.md @@ -36,12 +36,17 @@ static final class OffsetDateTimePlusYears { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusYearsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetDateTimePlusYearsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminushoursrecipe.md index 673e800119..1c91aa2a76 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminushoursrecipe.md @@ -36,12 +36,17 @@ static final class OffsetTimeMinusHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimeMinusHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimeMinusHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusminutesrecipe.md index 3f55e0bbdf..66869fc57e 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusminutesrecipe.md @@ -36,12 +36,17 @@ static final class OffsetTimeMinusMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimeMinusMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimeMinusMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusnanosrecipe.md index cb48f12ec8..c76003a334 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminusnanosrecipe.md @@ -36,12 +36,17 @@ static final class OffsetTimeMinusNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimeMinusNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimeMinusNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminussecondsrecipe.md index 727d414557..1072f1e218 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeminussecondsrecipe.md @@ -36,12 +36,17 @@ static final class OffsetTimeMinusSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimeMinusSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimeMinusSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeofinstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeofinstantrecipe.md index 243563f4a6..91a98c2da4 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeofinstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeofinstantrecipe.md @@ -36,12 +36,17 @@ static final class OffsetTimeOfInstant { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimeOfInstantRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimeOfInstantRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplushoursrecipe.md index 10f05c0f5c..1d0c016428 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplushoursrecipe.md @@ -36,12 +36,17 @@ static final class OffsetTimePlusHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimePlusHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimePlusHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusminutesrecipe.md index 1b9b89c5cb..0eb54ff222 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusminutesrecipe.md @@ -36,12 +36,17 @@ static final class OffsetTimePlusMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimePlusMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimePlusMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusnanosrecipe.md index 038ecfeb19..d571879a90 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplusnanosrecipe.md @@ -36,12 +36,17 @@ static final class OffsetTimePlusNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimePlusNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimePlusNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplussecondsrecipe.md index 7cdf5a6b75..871c317041 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$offsettimeplussecondsrecipe.md @@ -36,12 +36,17 @@ static final class OffsetTimePlusSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimePlusSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$OffsetTimePlusSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcclockrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcclockrecipe.md index 25a62e3b75..58918bb6ff 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcclockrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcclockrecipe.md @@ -33,12 +33,17 @@ static final class UtcClock { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$UtcClockRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$UtcClockRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcconstantrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcconstantrecipe.md index dc2d47447e..2b8547aed6 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcconstantrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$utcconstantrecipe.md @@ -31,12 +31,17 @@ static final class UtcConstant { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$UtcConstantRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$UtcConstantRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zerodurationrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zerodurationrecipe.md index 80af1144ad..fe87e9badb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zerodurationrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zerodurationrecipe.md @@ -31,12 +31,17 @@ static final class ZeroDuration { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZeroDurationRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZeroDurationRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zeroperiodrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zeroperiodrecipe.md index 6baf8f6495..16119175ba 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zeroperiodrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zeroperiodrecipe.md @@ -31,12 +31,17 @@ static final class ZeroPeriod { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZeroPeriodRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZeroPeriodRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusdaysrecipe.md index e3b92897c9..30979c6d1b 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusdaysrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimeMinusDays { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusDaysRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusDaysRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminushoursrecipe.md index fd33f94bb7..ea4489c5e8 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminushoursrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimeMinusHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusminutesrecipe.md index fe7c183d32..a49d1b11e2 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusminutesrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimeMinusMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusmonthsrecipe.md index 93d29b9c8b..800cde9318 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusmonthsrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimeMinusMonths { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusMonthsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusMonthsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusnanosrecipe.md index f41e549488..e2b31993bc 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusnanosrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimeMinusNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminussecondsrecipe.md index 5953d98a54..6d330fda03 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminussecondsrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimeMinusSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusweeksrecipe.md index 7f1677a6d5..5e5bfb6b5d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusweeksrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimeMinusWeeks { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusWeeksRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusWeeksRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusyearsrecipe.md index e308bfaec6..3d2e7d6ccb 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeminusyearsrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimeMinusYears { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusYearsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimeMinusYearsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusdaysrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusdaysrecipe.md index 20664970e6..f8fffee203 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusdaysrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusdaysrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimePlusDays { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusDaysRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusDaysRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplushoursrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplushoursrecipe.md index 4fd992e7cf..67d6554c9c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplushoursrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplushoursrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimePlusHours { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusHoursRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusHoursRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusminutesrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusminutesrecipe.md index 750fd988bc..d193c51645 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusminutesrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusminutesrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimePlusMinutes { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusMinutesRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusMinutesRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusmonthsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusmonthsrecipe.md index baaf06bdb1..ce50908781 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusmonthsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusmonthsrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimePlusMonths { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusMonthsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusMonthsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusnanosrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusnanosrecipe.md index 8cf77dec50..f69594e20d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusnanosrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusnanosrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimePlusNanos { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusNanosRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusNanosRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplussecondsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplussecondsrecipe.md index 04a3df9044..1f1eef62f3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplussecondsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplussecondsrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimePlusSeconds { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusSecondsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusSecondsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusweeksrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusweeksrecipe.md index 73901705ab..a1f1cfec12 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusweeksrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusweeksrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimePlusWeeks { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusWeeksRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusWeeksRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusyearsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusyearsrecipe.md index 69a2c5ab00..39f44d19cd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusyearsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes$zoneddatetimeplusyearsrecipe.md @@ -36,12 +36,17 @@ static final class ZonedDateTimePlusYears { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusYearsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes$ZonedDateTimePlusYearsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes.md index daa422972e..05644851c0 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/timerulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.TimeRules`. ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.TimeRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -254,7 +259,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientgetrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientgetrecipe.md index a00230adf6..67e6434ada 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientgetrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientgetrecipe.md @@ -36,12 +36,17 @@ static final class WebClientGet { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientGetRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientGetRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientheadrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientheadrecipe.md index 9ed7dc8bb7..75b4311ffd 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientheadrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientheadrecipe.md @@ -36,12 +36,17 @@ static final class WebClientHead { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientHeadRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientHeadRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientoptionsrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientoptionsrecipe.md index 6738983088..7d820bac3d 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientoptionsrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientoptionsrecipe.md @@ -36,12 +36,17 @@ static final class WebClientOptions { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientOptionsRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientOptionsRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpatchrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpatchrecipe.md index c7f15303c0..af2607adf3 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpatchrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpatchrecipe.md @@ -36,12 +36,17 @@ static final class WebClientPatch { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientPatchRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientPatchRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpostrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpostrecipe.md index 218d135a11..b5f8c4021f 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpostrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientpostrecipe.md @@ -36,12 +36,17 @@ static final class WebClientPost { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientPostRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientPostRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientputrecipe.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientputrecipe.md index 9db2e75710..f9d40e5aa1 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientputrecipe.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes$webclientputrecipe.md @@ -36,12 +36,17 @@ static final class WebClientPut { ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientPutRecipe), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes$WebClientPutRecipe), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes.md b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes.md index 7f3a41284f..4ae1022b5c 100644 --- a/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes.md +++ b/docs/recipes/tech/picnic/errorprone/refasterrules/webclientrulesrecipes.md @@ -13,11 +13,16 @@ _Refaster template recipes for `tech.picnic.errorprone.refasterrules.WebClientRu ## Recipe source -[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes), [Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) - +[GitHub](https://github.com/search?type=code&q=tech.picnic.errorprone.refasterrules.WebClientRulesRecipes), +[Issue Tracker](https://github.com/openrewrite/rewrite-third-party/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-third-party/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -54,7 +59,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-third-party` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/terraform/addconfiguration.md b/docs/recipes/terraform/addconfiguration.md index fc64a6b181..ffc97decef 100644 --- a/docs/recipes/terraform/addconfiguration.md +++ b/docs/recipes/terraform/addconfiguration.md @@ -13,7 +13,7 @@ _If the configuration has a different value, leave it alone. If it is missing, a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/java/org/openrewrite/terraform/AddConfiguration.java), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -22,26 +22,29 @@ _If the configuration has a different value, leave it alone. If it is missing, a | `String` | resourceName | A Terraform resource name, without the quotes. | `aws_ebs_volume` | | `String` | content | Terraform to insert if an attribute with the same name or block with the same 'type' is not found. | `encrypted = true` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddConfigurationExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddConfigurationExample displayName: Add Terraform configuration example recipeList: - - org.openrewrite.terraform.AddConfiguration: + - org.openrewrite.terraform.AddConfiguration: resourceName: aws_ebs_volume content: encrypted = true ``` -Now that `com.yourorg.AddConfigurationExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-terraform:{{VERSION_REWRITE_TERRAFORM}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/terraform/aws/awsbestpractices.md b/docs/recipes/terraform/aws/awsbestpractices.md index 8e20990430..05fc2487a3 100644 --- a/docs/recipes/terraform/aws/awsbestpractices.md +++ b/docs/recipes/terraform/aws/awsbestpractices.md @@ -18,15 +18,16 @@ _Securely operate on Amazon Web Services._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/disableinstancemetadataservicev1.md b/docs/recipes/terraform/aws/disableinstancemetadataservicev1.md index dfe7738e4a..6fc8502e90 100644 --- a/docs/recipes/terraform/aws/disableinstancemetadataservicev1.md +++ b/docs/recipes/terraform/aws/disableinstancemetadataservicev1.md @@ -19,12 +19,16 @@ _As a request/response method IMDSv1 is prone to local misconfigurations._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/enableapigatewaycaching.md b/docs/recipes/terraform/aws/enableapigatewaycaching.md index 55cb9e8c3d..55f9d96cb2 100644 --- a/docs/recipes/terraform/aws/enableapigatewaycaching.md +++ b/docs/recipes/terraform/aws/enableapigatewaycaching.md @@ -19,12 +19,16 @@ _Enable caching for all methods of API Gateway._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/enabledynamodbpitr.md b/docs/recipes/terraform/aws/enabledynamodbpitr.md index 55df5dbaab..954c60b629 100644 --- a/docs/recipes/terraform/aws/enabledynamodbpitr.md +++ b/docs/recipes/terraform/aws/enabledynamodbpitr.md @@ -19,12 +19,16 @@ _DynamoDB Point-In-Time Recovery (PITR) is an automatic backup service for Dynam ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/enableecrscanonpush.md b/docs/recipes/terraform/aws/enableecrscanonpush.md index 7935eda36b..3c08006a94 100644 --- a/docs/recipes/terraform/aws/enableecrscanonpush.md +++ b/docs/recipes/terraform/aws/enableecrscanonpush.md @@ -19,12 +19,16 @@ _ECR Image Scanning assesses and identifies operating system vulnerabilities. Us ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptauroraclusters.md b/docs/recipes/terraform/aws/encryptauroraclusters.md index addbb7de5d..9404631d96 100644 --- a/docs/recipes/terraform/aws/encryptauroraclusters.md +++ b/docs/recipes/terraform/aws/encryptauroraclusters.md @@ -19,12 +19,16 @@ _Native Aurora encryption helps protect your cloud applications and fulfils comp ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptcodebuild.md b/docs/recipes/terraform/aws/encryptcodebuild.md index e3b743ea22..632b2ba94c 100644 --- a/docs/recipes/terraform/aws/encryptcodebuild.md +++ b/docs/recipes/terraform/aws/encryptcodebuild.md @@ -19,12 +19,16 @@ _Build artifacts, such as a cache, logs, exported raw test report data files, an ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptdaxstorage.md b/docs/recipes/terraform/aws/encryptdaxstorage.md index 04d351c1f2..b449e6f205 100644 --- a/docs/recipes/terraform/aws/encryptdaxstorage.md +++ b/docs/recipes/terraform/aws/encryptdaxstorage.md @@ -19,12 +19,16 @@ _DAX encryption at rest automatically integrates with AWS KMS for managing the s ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptdocumentdb.md b/docs/recipes/terraform/aws/encryptdocumentdb.md index 5ff7ff00e1..72ac54d92c 100644 --- a/docs/recipes/terraform/aws/encryptdocumentdb.md +++ b/docs/recipes/terraform/aws/encryptdocumentdb.md @@ -19,12 +19,16 @@ _The encryption feature available for Amazon DocumentDB clusters provides an add ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptebssnapshots.md b/docs/recipes/terraform/aws/encryptebssnapshots.md index 438e9301e1..4ec0638cea 100644 --- a/docs/recipes/terraform/aws/encryptebssnapshots.md +++ b/docs/recipes/terraform/aws/encryptebssnapshots.md @@ -19,12 +19,16 @@ _EBS snapshots should be encrypted, as they often include sensitive information, ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptebsvolumelaunchconfiguration.md b/docs/recipes/terraform/aws/encryptebsvolumelaunchconfiguration.md index a1902981ee..6ad7320a52 100644 --- a/docs/recipes/terraform/aws/encryptebsvolumelaunchconfiguration.md +++ b/docs/recipes/terraform/aws/encryptebsvolumelaunchconfiguration.md @@ -19,12 +19,16 @@ _EBS volumes allow you to create encrypted launch configurations when creating E ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptebsvolumes.md b/docs/recipes/terraform/aws/encryptebsvolumes.md index b9901a4d2c..1dba876634 100644 --- a/docs/recipes/terraform/aws/encryptebsvolumes.md +++ b/docs/recipes/terraform/aws/encryptebsvolumes.md @@ -19,12 +19,16 @@ _Encrypting EBS volumes ensures that replicated copies of your images are secure ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptefsvolumesinecstaskdefinitionsintransit.md b/docs/recipes/terraform/aws/encryptefsvolumesinecstaskdefinitionsintransit.md index d05cea5af8..db6a290955 100644 --- a/docs/recipes/terraform/aws/encryptefsvolumesinecstaskdefinitionsintransit.md +++ b/docs/recipes/terraform/aws/encryptefsvolumesinecstaskdefinitionsintransit.md @@ -19,12 +19,16 @@ _Enable attached EFS definitions in ECS tasks to use encryption in transit._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptelasticacheredisatrest.md b/docs/recipes/terraform/aws/encryptelasticacheredisatrest.md index a1b6b7469c..fcfccf6a04 100644 --- a/docs/recipes/terraform/aws/encryptelasticacheredisatrest.md +++ b/docs/recipes/terraform/aws/encryptelasticacheredisatrest.md @@ -19,12 +19,16 @@ _ElastiCache for Redis offers default encryption at rest as a service._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptelasticacheredisintransit.md b/docs/recipes/terraform/aws/encryptelasticacheredisintransit.md index 51d474d106..ceed990f20 100644 --- a/docs/recipes/terraform/aws/encryptelasticacheredisintransit.md +++ b/docs/recipes/terraform/aws/encryptelasticacheredisintransit.md @@ -19,12 +19,16 @@ _ElastiCache for Redis offers optional encryption in transit. In-transit encrypt ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptneptunestorage.md b/docs/recipes/terraform/aws/encryptneptunestorage.md index 3f0c22a706..c30ee1b076 100644 --- a/docs/recipes/terraform/aws/encryptneptunestorage.md +++ b/docs/recipes/terraform/aws/encryptneptunestorage.md @@ -19,12 +19,16 @@ _Encryption of Neptune storage protects data and metadata against unauthorized a ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptrdsclusters.md b/docs/recipes/terraform/aws/encryptrdsclusters.md index be1f3ce023..c9778118af 100644 --- a/docs/recipes/terraform/aws/encryptrdsclusters.md +++ b/docs/recipes/terraform/aws/encryptrdsclusters.md @@ -19,12 +19,16 @@ _Native RDS encryption helps protect your cloud applications and fulfils complia ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/encryptredshift.md b/docs/recipes/terraform/aws/encryptredshift.md index 2ed12ae270..bc581bf2e4 100644 --- a/docs/recipes/terraform/aws/encryptredshift.md +++ b/docs/recipes/terraform/aws/encryptredshift.md @@ -19,12 +19,16 @@ _Redshift clusters should be securely encrypted at rest._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureamazonekscontrolplaneloggingenabledforalllogtypes.md b/docs/recipes/terraform/aws/ensureamazonekscontrolplaneloggingenabledforalllogtypes.md index 260930718f..2a13c65f7b 100644 --- a/docs/recipes/terraform/aws/ensureamazonekscontrolplaneloggingenabledforalllogtypes.md +++ b/docs/recipes/terraform/aws/ensureamazonekscontrolplaneloggingenabledforalllogtypes.md @@ -19,12 +19,16 @@ _Ensure Amazon EKS control plane logging enabled for all log types._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawscmkrotationisenabled.md b/docs/recipes/terraform/aws/ensureawscmkrotationisenabled.md index 4d3aae7f85..4ff7462551 100644 --- a/docs/recipes/terraform/aws/ensureawscmkrotationisenabled.md +++ b/docs/recipes/terraform/aws/ensureawscmkrotationisenabled.md @@ -19,12 +19,16 @@ _Ensure AWS CMK rotation is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawsefswithencryptionfordataatrestisenabled.md b/docs/recipes/terraform/aws/ensureawsefswithencryptionfordataatrestisenabled.md index a4b9280a7a..efe1b34389 100644 --- a/docs/recipes/terraform/aws/ensureawsefswithencryptionfordataatrestisenabled.md +++ b/docs/recipes/terraform/aws/ensureawsefswithencryptionfordataatrestisenabled.md @@ -19,12 +19,16 @@ _Ensure AWS EFS with encryption for data at rest is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawseksclusterendpointaccessispubliclydisabled.md b/docs/recipes/terraform/aws/ensureawseksclusterendpointaccessispubliclydisabled.md index 51dd2d48ff..94bd2ffad4 100644 --- a/docs/recipes/terraform/aws/ensureawseksclusterendpointaccessispubliclydisabled.md +++ b/docs/recipes/terraform/aws/ensureawseksclusterendpointaccessispubliclydisabled.md @@ -19,12 +19,16 @@ _Ensure AWS EKS cluster endpoint access is publicly disabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawselasticsearchdomainencryptionfordataatrestisenabled.md b/docs/recipes/terraform/aws/ensureawselasticsearchdomainencryptionfordataatrestisenabled.md index f834c94af4..c916b1cbed 100644 --- a/docs/recipes/terraform/aws/ensureawselasticsearchdomainencryptionfordataatrestisenabled.md +++ b/docs/recipes/terraform/aws/ensureawselasticsearchdomainencryptionfordataatrestisenabled.md @@ -19,12 +19,16 @@ _Ensure AWS Elasticsearch domain encryption for data at rest is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawselasticsearchdomainshaveenforcehttpsenabled.md b/docs/recipes/terraform/aws/ensureawselasticsearchdomainshaveenforcehttpsenabled.md index b95d8f5568..992235f558 100644 --- a/docs/recipes/terraform/aws/ensureawselasticsearchdomainshaveenforcehttpsenabled.md +++ b/docs/recipes/terraform/aws/ensureawselasticsearchdomainshaveenforcehttpsenabled.md @@ -19,12 +19,16 @@ _Ensure AWS Elasticsearch domains have `EnforceHTTPS` enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawselasticsearchhasnodetonodeencryptionenabled.md b/docs/recipes/terraform/aws/ensureawselasticsearchhasnodetonodeencryptionenabled.md index dd329b89ae..b6b7994392 100644 --- a/docs/recipes/terraform/aws/ensureawselasticsearchhasnodetonodeencryptionenabled.md +++ b/docs/recipes/terraform/aws/ensureawselasticsearchhasnodetonodeencryptionenabled.md @@ -19,12 +19,16 @@ _Ensure AWS Elasticsearch has node-to-node encryption enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawsiampasswordpolicyhasaminimumof14characters.md b/docs/recipes/terraform/aws/ensureawsiampasswordpolicyhasaminimumof14characters.md index 7d4d99ea15..2b5eb21b52 100644 --- a/docs/recipes/terraform/aws/ensureawsiampasswordpolicyhasaminimumof14characters.md +++ b/docs/recipes/terraform/aws/ensureawsiampasswordpolicyhasaminimumof14characters.md @@ -19,12 +19,16 @@ _Ensure AWS IAM password policy has a minimum of 14 characters._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawslambdafunctionisconfiguredforfunctionlevelconcurrentexecutionlimit.md b/docs/recipes/terraform/aws/ensureawslambdafunctionisconfiguredforfunctionlevelconcurrentexecutionlimit.md index 97a8595e41..c371eb85d3 100644 --- a/docs/recipes/terraform/aws/ensureawslambdafunctionisconfiguredforfunctionlevelconcurrentexecutionlimit.md +++ b/docs/recipes/terraform/aws/ensureawslambdafunctionisconfiguredforfunctionlevelconcurrentexecutionlimit.md @@ -19,12 +19,16 @@ _Ensure AWS Lambda function is configured for function-level concurrent executio ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawslambdafunctionshavetracingenabled.md b/docs/recipes/terraform/aws/ensureawslambdafunctionshavetracingenabled.md index c127996c4d..f9af22176d 100644 --- a/docs/recipes/terraform/aws/ensureawslambdafunctionshavetracingenabled.md +++ b/docs/recipes/terraform/aws/ensureawslambdafunctionshavetracingenabled.md @@ -19,12 +19,16 @@ _Ensure AWS Lambda functions have tracing enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawsrdsdatabaseinstanceisnotpubliclyaccessible.md b/docs/recipes/terraform/aws/ensureawsrdsdatabaseinstanceisnotpubliclyaccessible.md index 7556b8a930..056f7a3d75 100644 --- a/docs/recipes/terraform/aws/ensureawsrdsdatabaseinstanceisnotpubliclyaccessible.md +++ b/docs/recipes/terraform/aws/ensureawsrdsdatabaseinstanceisnotpubliclyaccessible.md @@ -19,12 +19,16 @@ _Ensure AWS RDS database instance is not publicly accessible._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureawss3objectversioningisenabled.md b/docs/recipes/terraform/aws/ensureawss3objectversioningisenabled.md index a8eec597d4..5d4629756c 100644 --- a/docs/recipes/terraform/aws/ensureawss3objectversioningisenabled.md +++ b/docs/recipes/terraform/aws/ensureawss3objectversioningisenabled.md @@ -19,12 +19,16 @@ _Ensure AWS S3 object versioning is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensurecloudtraillogfilevalidationisenabled.md b/docs/recipes/terraform/aws/ensurecloudtraillogfilevalidationisenabled.md index f4999ff3a6..c77d43eb8b 100644 --- a/docs/recipes/terraform/aws/ensurecloudtraillogfilevalidationisenabled.md +++ b/docs/recipes/terraform/aws/ensurecloudtraillogfilevalidationisenabled.md @@ -19,12 +19,16 @@ _Ensure CloudTrail log file validation is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensuredatastoredinans3bucketissecurelyencryptedatrest.md b/docs/recipes/terraform/aws/ensuredatastoredinans3bucketissecurelyencryptedatrest.md index 8cd063d80a..54f3632b24 100644 --- a/docs/recipes/terraform/aws/ensuredatastoredinans3bucketissecurelyencryptedatrest.md +++ b/docs/recipes/terraform/aws/ensuredatastoredinans3bucketissecurelyencryptedatrest.md @@ -19,12 +19,16 @@ _Ensure data stored in an S3 bucket is securely encrypted at rest._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensuredetailedmonitoringforec2instancesisenabled.md b/docs/recipes/terraform/aws/ensuredetailedmonitoringforec2instancesisenabled.md index 1010fc4938..cb66225e3e 100644 --- a/docs/recipes/terraform/aws/ensuredetailedmonitoringforec2instancesisenabled.md +++ b/docs/recipes/terraform/aws/ensuredetailedmonitoringforec2instancesisenabled.md @@ -19,12 +19,16 @@ _Ensure detailed monitoring for EC2 instances is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureec2isebsoptimized.md b/docs/recipes/terraform/aws/ensureec2isebsoptimized.md index 50fcd7782b..f1d7a8bec6 100644 --- a/docs/recipes/terraform/aws/ensureec2isebsoptimized.md +++ b/docs/recipes/terraform/aws/ensureec2isebsoptimized.md @@ -19,12 +19,16 @@ _Ensure EC2 is EBS optimized._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureecrrepositoriesareencrypted.md b/docs/recipes/terraform/aws/ensureecrrepositoriesareencrypted.md index 3bb042afc6..ce1620f0f5 100644 --- a/docs/recipes/terraform/aws/ensureecrrepositoriesareencrypted.md +++ b/docs/recipes/terraform/aws/ensureecrrepositoriesareencrypted.md @@ -19,12 +19,16 @@ _Ensure ECR repositories are encrypted._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureenhancedmonitoringforamazonrdsinstancesisenabled.md b/docs/recipes/terraform/aws/ensureenhancedmonitoringforamazonrdsinstancesisenabled.md index 7dd67e5574..8ee5e42784 100644 --- a/docs/recipes/terraform/aws/ensureenhancedmonitoringforamazonrdsinstancesisenabled.md +++ b/docs/recipes/terraform/aws/ensureenhancedmonitoringforamazonrdsinstancesisenabled.md @@ -19,12 +19,16 @@ _Ensure enhanced monitoring for Amazon RDS instances is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureiampasswordpolicyexpirespasswordswithin90daysorless.md b/docs/recipes/terraform/aws/ensureiampasswordpolicyexpirespasswordswithin90daysorless.md index e968d3ead9..97ee3981bd 100644 --- a/docs/recipes/terraform/aws/ensureiampasswordpolicyexpirespasswordswithin90daysorless.md +++ b/docs/recipes/terraform/aws/ensureiampasswordpolicyexpirespasswordswithin90daysorless.md @@ -19,12 +19,16 @@ _Ensure IAM password policy expires passwords within 90 days or less._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureiampasswordpolicypreventspasswordreuse.md b/docs/recipes/terraform/aws/ensureiampasswordpolicypreventspasswordreuse.md index 4da4010168..45b498eb2b 100644 --- a/docs/recipes/terraform/aws/ensureiampasswordpolicypreventspasswordreuse.md +++ b/docs/recipes/terraform/aws/ensureiampasswordpolicypreventspasswordreuse.md @@ -19,12 +19,16 @@ _Ensure IAM password policy prevents password reuse._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonelowercaseletter.md b/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonelowercaseletter.md index 02c8d68932..531a611172 100644 --- a/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonelowercaseletter.md +++ b/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonelowercaseletter.md @@ -19,12 +19,16 @@ _Ensure IAM password policy requires at least one lowercase letter._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonenumber.md b/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonenumber.md index 6514964206..b0d0e31cc0 100644 --- a/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonenumber.md +++ b/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonenumber.md @@ -19,12 +19,16 @@ _Ensure IAM password policy requires at least one number._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonesymbol.md b/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonesymbol.md index 600cfda0df..86fc741e92 100644 --- a/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonesymbol.md +++ b/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastonesymbol.md @@ -19,12 +19,16 @@ _Ensure IAM password policy requires at least one symbol._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastoneuppercaseletter.md b/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastoneuppercaseletter.md index 9fc17897e7..bdd213d094 100644 --- a/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastoneuppercaseletter.md +++ b/docs/recipes/terraform/aws/ensureiampasswordpolicyrequiresatleastoneuppercaseletter.md @@ -19,12 +19,16 @@ _Ensure IAM password policy requires at least one uppercase letter._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensurekinesisstreamissecurelyencrypted.md b/docs/recipes/terraform/aws/ensurekinesisstreamissecurelyencrypted.md index f58c684ae9..af91772cc8 100644 --- a/docs/recipes/terraform/aws/ensurekinesisstreamissecurelyencrypted.md +++ b/docs/recipes/terraform/aws/ensurekinesisstreamissecurelyencrypted.md @@ -19,12 +19,16 @@ _Ensure Kinesis Stream is securely encrypted._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensurerdsdatabasehasiamauthenticationenabled.md b/docs/recipes/terraform/aws/ensurerdsdatabasehasiamauthenticationenabled.md index be2eeeccc3..1f46f6aa9c 100644 --- a/docs/recipes/terraform/aws/ensurerdsdatabasehasiamauthenticationenabled.md +++ b/docs/recipes/terraform/aws/ensurerdsdatabasehasiamauthenticationenabled.md @@ -19,12 +19,16 @@ _Ensure RDS database has IAM authentication enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensurerdsinstanceshavemultiazenabled.md b/docs/recipes/terraform/aws/ensurerdsinstanceshavemultiazenabled.md index 7685a50be0..53f60d2ccc 100644 --- a/docs/recipes/terraform/aws/ensurerdsinstanceshavemultiazenabled.md +++ b/docs/recipes/terraform/aws/ensurerdsinstanceshavemultiazenabled.md @@ -19,12 +19,16 @@ _Ensure RDS instances have Multi-AZ enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensurerespectivelogsofamazonrdsareenabled.md b/docs/recipes/terraform/aws/ensurerespectivelogsofamazonrdsareenabled.md index f62709cdb2..ee508f961b 100644 --- a/docs/recipes/terraform/aws/ensurerespectivelogsofamazonrdsareenabled.md +++ b/docs/recipes/terraform/aws/ensurerespectivelogsofamazonrdsareenabled.md @@ -19,12 +19,16 @@ _Ensure respective logs of Amazon RDS are enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensurethes3buckethasaccessloggingenabled.md b/docs/recipes/terraform/aws/ensurethes3buckethasaccessloggingenabled.md index 53a97dd893..c0bc2ec54d 100644 --- a/docs/recipes/terraform/aws/ensurethes3buckethasaccessloggingenabled.md +++ b/docs/recipes/terraform/aws/ensurethes3buckethasaccessloggingenabled.md @@ -19,12 +19,16 @@ _Ensure the S3 bucket has access logging enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/ensurevpcsubnetsdonotassignpublicipbydefault.md b/docs/recipes/terraform/aws/ensurevpcsubnetsdonotassignpublicipbydefault.md index 08f7b14a00..b3c07e8a2d 100644 --- a/docs/recipes/terraform/aws/ensurevpcsubnetsdonotassignpublicipbydefault.md +++ b/docs/recipes/terraform/aws/ensurevpcsubnetsdonotassignpublicipbydefault.md @@ -19,12 +19,16 @@ _Ensure VPC subnets do not assign public IP by default._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/immutableecrtags.md b/docs/recipes/terraform/aws/immutableecrtags.md index ccd73418f7..41c93b6597 100644 --- a/docs/recipes/terraform/aws/immutableecrtags.md +++ b/docs/recipes/terraform/aws/immutableecrtags.md @@ -19,12 +19,16 @@ _Amazon ECR supports immutable tags, preventing image tags from being overwritte ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/aws/usehttpsforcloudfrontdistribution.md b/docs/recipes/terraform/aws/usehttpsforcloudfrontdistribution.md index d32d8dfca4..6bc107a5e2 100644 --- a/docs/recipes/terraform/aws/usehttpsforcloudfrontdistribution.md +++ b/docs/recipes/terraform/aws/usehttpsforcloudfrontdistribution.md @@ -19,12 +19,16 @@ _Secure communication by default._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/aws.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/azurebestpractices.md b/docs/recipes/terraform/azure/azurebestpractices.md index 709db14e2f..542982196d 100644 --- a/docs/recipes/terraform/azure/azurebestpractices.md +++ b/docs/recipes/terraform/azure/azurebestpractices.md @@ -18,15 +18,16 @@ _Securely operate on Microsoft Azure._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/disablekubernetesdashboard.md b/docs/recipes/terraform/azure/disablekubernetesdashboard.md index 769406c832..5d6ef5d813 100644 --- a/docs/recipes/terraform/azure/disablekubernetesdashboard.md +++ b/docs/recipes/terraform/azure/disablekubernetesdashboard.md @@ -19,12 +19,16 @@ _Disabling the dashboard eliminates it as an attack vector. The dashboard add-on ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/enableazurestorageaccounttrustedmicrosoftservicesaccess.md b/docs/recipes/terraform/azure/enableazurestorageaccounttrustedmicrosoftservicesaccess.md index 3c3c7c5e7f..d402f7939e 100644 --- a/docs/recipes/terraform/azure/enableazurestorageaccounttrustedmicrosoftservicesaccess.md +++ b/docs/recipes/terraform/azure/enableazurestorageaccounttrustedmicrosoftservicesaccess.md @@ -19,15 +19,16 @@ _Certain Microsoft services that interact with storage accounts operate from net ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/enableazurestoragesecuretransferrequired.md b/docs/recipes/terraform/azure/enableazurestoragesecuretransferrequired.md index 91e792cbeb..9dadf918b0 100644 --- a/docs/recipes/terraform/azure/enableazurestoragesecuretransferrequired.md +++ b/docs/recipes/terraform/azure/enableazurestoragesecuretransferrequired.md @@ -19,12 +19,16 @@ _Microsoft recommends requiring secure transfer for all storage accounts._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/enablegeoredundantbackupsonpostgresqlserver.md b/docs/recipes/terraform/azure/enablegeoredundantbackupsonpostgresqlserver.md index f5f300c7c4..5696a8e5b0 100644 --- a/docs/recipes/terraform/azure/enablegeoredundantbackupsonpostgresqlserver.md +++ b/docs/recipes/terraform/azure/enablegeoredundantbackupsonpostgresqlserver.md @@ -19,12 +19,16 @@ _Ensure PostgreSQL server enables geo-redundant backups._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/encryptazurevmdatadiskwithadecmk.md b/docs/recipes/terraform/azure/encryptazurevmdatadiskwithadecmk.md index a16ee005a3..036990221e 100644 --- a/docs/recipes/terraform/azure/encryptazurevmdatadiskwithadecmk.md +++ b/docs/recipes/terraform/azure/encryptazurevmdatadiskwithadecmk.md @@ -19,12 +19,16 @@ _Ensure Azure VM data disk is encrypted with ADE/CMK._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureactivitylogretentionissetto365daysorgreater.md b/docs/recipes/terraform/azure/ensureactivitylogretentionissetto365daysorgreater.md index ed7b4a9a63..17b1d47504 100644 --- a/docs/recipes/terraform/azure/ensureactivitylogretentionissetto365daysorgreater.md +++ b/docs/recipes/terraform/azure/ensureactivitylogretentionissetto365daysorgreater.md @@ -19,12 +19,16 @@ _Ensure activity log retention is set to 365 days or greater._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureakspoliciesaddon.md b/docs/recipes/terraform/azure/ensureakspoliciesaddon.md index 0d1e99ae3b..1dd641342f 100644 --- a/docs/recipes/terraform/azure/ensureakspoliciesaddon.md +++ b/docs/recipes/terraform/azure/ensureakspoliciesaddon.md @@ -19,12 +19,16 @@ _Azure Policy Add-on for Kubernetes service (AKS) extends Gatekeeper v3, an admi ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureakvsecretshaveanexpirationdateset.md b/docs/recipes/terraform/azure/ensureakvsecretshaveanexpirationdateset.md index 21c55b86ae..fcdab2b33a 100644 --- a/docs/recipes/terraform/azure/ensureakvsecretshaveanexpirationdateset.md +++ b/docs/recipes/terraform/azure/ensureakvsecretshaveanexpirationdateset.md @@ -19,12 +19,16 @@ _Ensure AKV secrets have an expiration date set._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureallkeyshaveanexpirationdate.md b/docs/recipes/terraform/azure/ensureallkeyshaveanexpirationdate.md index 4d75f23201..f62dcffbe9 100644 --- a/docs/recipes/terraform/azure/ensureallkeyshaveanexpirationdate.md +++ b/docs/recipes/terraform/azure/ensureallkeyshaveanexpirationdate.md @@ -19,12 +19,16 @@ _Ensure all keys have an expiration date._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureappserviceenablesdetailederrormessages.md b/docs/recipes/terraform/azure/ensureappserviceenablesdetailederrormessages.md index c489cb73a7..13bb53c52f 100644 --- a/docs/recipes/terraform/azure/ensureappserviceenablesdetailederrormessages.md +++ b/docs/recipes/terraform/azure/ensureappserviceenablesdetailederrormessages.md @@ -19,12 +19,16 @@ _Ensure app service enables detailed error messages._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureappserviceenablesfailedrequesttracing.md b/docs/recipes/terraform/azure/ensureappserviceenablesfailedrequesttracing.md index 26d9416729..640f0930b9 100644 --- a/docs/recipes/terraform/azure/ensureappserviceenablesfailedrequesttracing.md +++ b/docs/recipes/terraform/azure/ensureappserviceenablesfailedrequesttracing.md @@ -19,12 +19,16 @@ _Ensure app service enables failed request tracing._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureappserviceenableshttplogging.md b/docs/recipes/terraform/azure/ensureappserviceenableshttplogging.md index edf1da974a..3b4fc557b8 100644 --- a/docs/recipes/terraform/azure/ensureappserviceenableshttplogging.md +++ b/docs/recipes/terraform/azure/ensureappserviceenableshttplogging.md @@ -19,12 +19,16 @@ _Ensure app service enables HTTP logging._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureappservicesuseazurefiles.md b/docs/recipes/terraform/azure/ensureappservicesuseazurefiles.md index 127b465e56..29ee942c8f 100644 --- a/docs/recipes/terraform/azure/ensureappservicesuseazurefiles.md +++ b/docs/recipes/terraform/azure/ensureappservicesuseazurefiles.md @@ -19,12 +19,16 @@ _Ensure app services use Azure files._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureasecuritycontactphonenumberispresent.md b/docs/recipes/terraform/azure/ensureasecuritycontactphonenumberispresent.md index f1db4a11f4..65efe1eae1 100644 --- a/docs/recipes/terraform/azure/ensureasecuritycontactphonenumberispresent.md +++ b/docs/recipes/terraform/azure/ensureasecuritycontactphonenumberispresent.md @@ -19,12 +19,16 @@ _Ensure a security contact phone number is present._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureazureapplicationgatewayhaswafenabled.md b/docs/recipes/terraform/azure/ensureazureapplicationgatewayhaswafenabled.md index 90bf398ee1..56d468d236 100644 --- a/docs/recipes/terraform/azure/ensureazureapplicationgatewayhaswafenabled.md +++ b/docs/recipes/terraform/azure/ensureazureapplicationgatewayhaswafenabled.md @@ -19,12 +19,16 @@ _Ensure Azure application gateway has WAF enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureazureappservicewebappredirectshttptohttps.md b/docs/recipes/terraform/azure/ensureazureappservicewebappredirectshttptohttps.md index 62d6c630e1..aa0987d265 100644 --- a/docs/recipes/terraform/azure/ensureazureappservicewebappredirectshttptohttps.md +++ b/docs/recipes/terraform/azure/ensureazureappservicewebappredirectshttptohttps.md @@ -19,12 +19,16 @@ _Ensure Azure App Service Web app redirects HTTP to HTTPS._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureazurekeyvaultisrecoverable.md b/docs/recipes/terraform/azure/ensureazurekeyvaultisrecoverable.md index e01ef16c33..6b57b321b7 100644 --- a/docs/recipes/terraform/azure/ensureazurekeyvaultisrecoverable.md +++ b/docs/recipes/terraform/azure/ensureazurekeyvaultisrecoverable.md @@ -19,15 +19,16 @@ _Ensure Azure key vault is recoverable._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureazurenetworkwatchernsgflowlogsretentionisgreaterthan90days.md b/docs/recipes/terraform/azure/ensureazurenetworkwatchernsgflowlogsretentionisgreaterthan90days.md index 26ceb3ec8b..98ad37cec2 100644 --- a/docs/recipes/terraform/azure/ensureazurenetworkwatchernsgflowlogsretentionisgreaterthan90days.md +++ b/docs/recipes/terraform/azure/ensureazurenetworkwatchernsgflowlogsretentionisgreaterthan90days.md @@ -19,12 +19,16 @@ _Ensure Azure Network Watcher NSG flow logs retention is greater than 90 days._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureazurepostgresqldatabaseserverwithsslconnectionisenabled.md b/docs/recipes/terraform/azure/ensureazurepostgresqldatabaseserverwithsslconnectionisenabled.md index f598964ad5..80b99e6add 100644 --- a/docs/recipes/terraform/azure/ensureazurepostgresqldatabaseserverwithsslconnectionisenabled.md +++ b/docs/recipes/terraform/azure/ensureazurepostgresqldatabaseserverwithsslconnectionisenabled.md @@ -19,12 +19,16 @@ _Ensure Azure PostgreSQL database server with SSL connection is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureazuresqlserverauditlogretentionisgreaterthan90days.md b/docs/recipes/terraform/azure/ensureazuresqlserverauditlogretentionisgreaterthan90days.md index 8ba1256ac4..95c8c3437b 100644 --- a/docs/recipes/terraform/azure/ensureazuresqlserverauditlogretentionisgreaterthan90days.md +++ b/docs/recipes/terraform/azure/ensureazuresqlserverauditlogretentionisgreaterthan90days.md @@ -19,15 +19,16 @@ _Ensure Azure SQL server audit log retention is greater than 90 days._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureazuresqlserversendalertstofieldvalueisset.md b/docs/recipes/terraform/azure/ensureazuresqlserversendalertstofieldvalueisset.md index 1818ab02ea..52d5e5f82c 100644 --- a/docs/recipes/terraform/azure/ensureazuresqlserversendalertstofieldvalueisset.md +++ b/docs/recipes/terraform/azure/ensureazuresqlserversendalertstofieldvalueisset.md @@ -19,12 +19,16 @@ _Ensure Azure SQL server send alerts to field value is set._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureazuresqlserverthreatdetectionalertsareenabledforallthreattypes.md b/docs/recipes/terraform/azure/ensureazuresqlserverthreatdetectionalertsareenabledforallthreattypes.md index a4ab3be0a1..3fce7eda89 100644 --- a/docs/recipes/terraform/azure/ensureazuresqlserverthreatdetectionalertsareenabledforallthreattypes.md +++ b/docs/recipes/terraform/azure/ensureazuresqlserverthreatdetectionalertsareenabledforallthreattypes.md @@ -19,12 +19,16 @@ _Ensure Azure SQL Server threat detection alerts are enabled for all threat type ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensureftpdeploymentsaredisabled.md b/docs/recipes/terraform/azure/ensureftpdeploymentsaredisabled.md index 4692c8b89d..d4d251491c 100644 --- a/docs/recipes/terraform/azure/ensureftpdeploymentsaredisabled.md +++ b/docs/recipes/terraform/azure/ensureftpdeploymentsaredisabled.md @@ -19,12 +19,16 @@ _Ensure FTP Deployments are disabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurekeyvaultallowsfirewallrulessettings.md b/docs/recipes/terraform/azure/ensurekeyvaultallowsfirewallrulessettings.md index f97e7894d7..14381f88c2 100644 --- a/docs/recipes/terraform/azure/ensurekeyvaultallowsfirewallrulessettings.md +++ b/docs/recipes/terraform/azure/ensurekeyvaultallowsfirewallrulessettings.md @@ -19,12 +19,16 @@ _Ensure key vault allows firewall rules settings._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurekeyvaultenablespurgeprotection.md b/docs/recipes/terraform/azure/ensurekeyvaultenablespurgeprotection.md index bd7e42018a..f217018d23 100644 --- a/docs/recipes/terraform/azure/ensurekeyvaultenablespurgeprotection.md +++ b/docs/recipes/terraform/azure/ensurekeyvaultenablespurgeprotection.md @@ -19,12 +19,16 @@ _Ensure key vault enables purge protection._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurekeyvaultkeyisbackedbyhsm.md b/docs/recipes/terraform/azure/ensurekeyvaultkeyisbackedbyhsm.md index c1bee17cf1..0d460f8f87 100644 --- a/docs/recipes/terraform/azure/ensurekeyvaultkeyisbackedbyhsm.md +++ b/docs/recipes/terraform/azure/ensurekeyvaultkeyisbackedbyhsm.md @@ -19,12 +19,16 @@ _Ensure key vault key is backed by HSM._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurekeyvaultsecretshavecontenttypeset.md b/docs/recipes/terraform/azure/ensurekeyvaultsecretshavecontenttypeset.md index fb10974213..c80f3f69c3 100644 --- a/docs/recipes/terraform/azure/ensurekeyvaultsecretshavecontenttypeset.md +++ b/docs/recipes/terraform/azure/ensurekeyvaultsecretshavecontenttypeset.md @@ -19,12 +19,16 @@ _Ensure key vault secrets have `content_type` set._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurelogprofileisconfiguredtocaptureallactivities.md b/docs/recipes/terraform/azure/ensurelogprofileisconfiguredtocaptureallactivities.md index 88d07260f4..4193967d2c 100644 --- a/docs/recipes/terraform/azure/ensurelogprofileisconfiguredtocaptureallactivities.md +++ b/docs/recipes/terraform/azure/ensurelogprofileisconfiguredtocaptureallactivities.md @@ -19,12 +19,16 @@ _Ensure log profile is configured to capture all activities._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensuremanagedidentityproviderisenabledforappservices.md b/docs/recipes/terraform/azure/ensuremanagedidentityproviderisenabledforappservices.md index 484b91f7ad..fbb7846c3c 100644 --- a/docs/recipes/terraform/azure/ensuremanagedidentityproviderisenabledforappservices.md +++ b/docs/recipes/terraform/azure/ensuremanagedidentityproviderisenabledforappservices.md @@ -19,12 +19,16 @@ _Ensure managed identity provider is enabled for app services._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensuremssqlservershaveemailserviceandcoadministratorsenabled.md b/docs/recipes/terraform/azure/ensuremssqlservershaveemailserviceandcoadministratorsenabled.md index a002193aa7..23a6649384 100644 --- a/docs/recipes/terraform/azure/ensuremssqlservershaveemailserviceandcoadministratorsenabled.md +++ b/docs/recipes/terraform/azure/ensuremssqlservershaveemailserviceandcoadministratorsenabled.md @@ -19,12 +19,16 @@ _Ensure MSSQL servers have email service and co-administrators enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensuremysqlisusingthelatestversionoftlsencryption.md b/docs/recipes/terraform/azure/ensuremysqlisusingthelatestversionoftlsencryption.md index 533b959f18..39632bf867 100644 --- a/docs/recipes/terraform/azure/ensuremysqlisusingthelatestversionoftlsencryption.md +++ b/docs/recipes/terraform/azure/ensuremysqlisusingthelatestversionoftlsencryption.md @@ -19,12 +19,16 @@ _Ensure MySQL is using the latest version of TLS encryption._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensuremysqlserverdatabaseshaveenforcesslconnectionenabled.md b/docs/recipes/terraform/azure/ensuremysqlserverdatabaseshaveenforcesslconnectionenabled.md index 0e05074861..7c0a19a060 100644 --- a/docs/recipes/terraform/azure/ensuremysqlserverdatabaseshaveenforcesslconnectionenabled.md +++ b/docs/recipes/terraform/azure/ensuremysqlserverdatabaseshaveenforcesslconnectionenabled.md @@ -19,12 +19,16 @@ _Ensure MySQL server databases have Enforce SSL connection enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensuremysqlserverdisablespublicnetworkaccess.md b/docs/recipes/terraform/azure/ensuremysqlserverdisablespublicnetworkaccess.md index 6f0a1c0f24..6d3e167f93 100644 --- a/docs/recipes/terraform/azure/ensuremysqlserverdisablespublicnetworkaccess.md +++ b/docs/recipes/terraform/azure/ensuremysqlserverdisablespublicnetworkaccess.md @@ -19,12 +19,16 @@ _Ensure MySQL server disables public network access._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensuremysqlserverenablesgeoredundantbackups.md b/docs/recipes/terraform/azure/ensuremysqlserverenablesgeoredundantbackups.md index 09fcee4277..8ce799b486 100644 --- a/docs/recipes/terraform/azure/ensuremysqlserverenablesgeoredundantbackups.md +++ b/docs/recipes/terraform/azure/ensuremysqlserverenablesgeoredundantbackups.md @@ -19,12 +19,16 @@ _Ensure MySQL server enables geo-redundant backups._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensuremysqlserverenablesthreatdetectionpolicy.md b/docs/recipes/terraform/azure/ensuremysqlserverenablesthreatdetectionpolicy.md index 2d858b05f9..e85110775b 100644 --- a/docs/recipes/terraform/azure/ensuremysqlserverenablesthreatdetectionpolicy.md +++ b/docs/recipes/terraform/azure/ensuremysqlserverenablesthreatdetectionpolicy.md @@ -19,12 +19,16 @@ _Ensure MySQL server enables Threat Detection policy._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurepostgresqlserverdisablespublicnetworkaccess.md b/docs/recipes/terraform/azure/ensurepostgresqlserverdisablespublicnetworkaccess.md index e1abbff38d..ebcefab45e 100644 --- a/docs/recipes/terraform/azure/ensurepostgresqlserverdisablespublicnetworkaccess.md +++ b/docs/recipes/terraform/azure/ensurepostgresqlserverdisablespublicnetworkaccess.md @@ -19,12 +19,16 @@ _Ensure PostgreSQL server disables public network access._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurepostgresqlserverenablesinfrastructureencryption.md b/docs/recipes/terraform/azure/ensurepostgresqlserverenablesinfrastructureencryption.md index 9d56391b6a..a1b28feff8 100644 --- a/docs/recipes/terraform/azure/ensurepostgresqlserverenablesinfrastructureencryption.md +++ b/docs/recipes/terraform/azure/ensurepostgresqlserverenablesinfrastructureencryption.md @@ -19,12 +19,16 @@ _Ensure PostgreSQL server enables infrastructure encryption._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurepostgresqlserverenablesthreatdetectionpolicy.md b/docs/recipes/terraform/azure/ensurepostgresqlserverenablesthreatdetectionpolicy.md index 627ce9bca1..b3c9289fec 100644 --- a/docs/recipes/terraform/azure/ensurepostgresqlserverenablesthreatdetectionpolicy.md +++ b/docs/recipes/terraform/azure/ensurepostgresqlserverenablesthreatdetectionpolicy.md @@ -19,12 +19,16 @@ _Ensure PostgreSQL server enables Threat Detection policy._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurepublicnetworkaccessenabledissettofalseformysqlservers.md b/docs/recipes/terraform/azure/ensurepublicnetworkaccessenabledissettofalseformysqlservers.md index 4b4bfe5f5d..296f0c3aca 100644 --- a/docs/recipes/terraform/azure/ensurepublicnetworkaccessenabledissettofalseformysqlservers.md +++ b/docs/recipes/terraform/azure/ensurepublicnetworkaccessenabledissettofalseformysqlservers.md @@ -19,12 +19,16 @@ _Ensure public network access enabled is set to False for mySQL servers._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensuresendemailnotificationforhighseverityalertsisenabled.md b/docs/recipes/terraform/azure/ensuresendemailnotificationforhighseverityalertsisenabled.md index 8cb4795ee7..9899f57f31 100644 --- a/docs/recipes/terraform/azure/ensuresendemailnotificationforhighseverityalertsisenabled.md +++ b/docs/recipes/terraform/azure/ensuresendemailnotificationforhighseverityalertsisenabled.md @@ -19,12 +19,16 @@ _Ensure Send email notification for high severity alerts is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensuresendemailnotificationforhighseverityalertstoadminsisenabled.md b/docs/recipes/terraform/azure/ensuresendemailnotificationforhighseverityalertstoadminsisenabled.md index c3e4701e73..21c291be92 100644 --- a/docs/recipes/terraform/azure/ensuresendemailnotificationforhighseverityalertstoadminsisenabled.md +++ b/docs/recipes/terraform/azure/ensuresendemailnotificationforhighseverityalertstoadminsisenabled.md @@ -19,12 +19,16 @@ _Ensure Send email notification for high severity alerts to admins is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurestandardpricingtierisselected.md b/docs/recipes/terraform/azure/ensurestandardpricingtierisselected.md index e6f1f339e4..09f394255f 100644 --- a/docs/recipes/terraform/azure/ensurestandardpricingtierisselected.md +++ b/docs/recipes/terraform/azure/ensurestandardpricingtierisselected.md @@ -19,12 +19,16 @@ _Ensure standard pricing tier is selected._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurestorageaccountuseslatesttlsversion.md b/docs/recipes/terraform/azure/ensurestorageaccountuseslatesttlsversion.md index 025bc33b9e..cdf3c7b303 100644 --- a/docs/recipes/terraform/azure/ensurestorageaccountuseslatesttlsversion.md +++ b/docs/recipes/terraform/azure/ensurestorageaccountuseslatesttlsversion.md @@ -19,12 +19,16 @@ _Communication between an Azure Storage account and a client application is encr ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurethestoragecontainerstoringactivitylogsisnotpubliclyaccessible.md b/docs/recipes/terraform/azure/ensurethestoragecontainerstoringactivitylogsisnotpubliclyaccessible.md index 6264d8fcbf..5218f97e1c 100644 --- a/docs/recipes/terraform/azure/ensurethestoragecontainerstoringactivitylogsisnotpubliclyaccessible.md +++ b/docs/recipes/terraform/azure/ensurethestoragecontainerstoringactivitylogsisnotpubliclyaccessible.md @@ -19,12 +19,16 @@ _Ensure the storage container storing activity logs is not publicly accessible._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurewebapphasincomingclientcertificatesenabled.md b/docs/recipes/terraform/azure/ensurewebapphasincomingclientcertificatesenabled.md index 94d47dd26d..035e7bd3c8 100644 --- a/docs/recipes/terraform/azure/ensurewebapphasincomingclientcertificatesenabled.md +++ b/docs/recipes/terraform/azure/ensurewebapphasincomingclientcertificatesenabled.md @@ -19,12 +19,16 @@ _Ensure Web App has incoming client certificates enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurewebappusesthelatestversionofhttp.md b/docs/recipes/terraform/azure/ensurewebappusesthelatestversionofhttp.md index b3bc06dfdd..c5d399bb8a 100644 --- a/docs/recipes/terraform/azure/ensurewebappusesthelatestversionofhttp.md +++ b/docs/recipes/terraform/azure/ensurewebappusesthelatestversionofhttp.md @@ -19,12 +19,16 @@ _Ensure Web App uses the latest version of HTTP._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/ensurewebappusesthelatestversionoftlsencryption.md b/docs/recipes/terraform/azure/ensurewebappusesthelatestversionoftlsencryption.md index 5c3f041f18..58042261cc 100644 --- a/docs/recipes/terraform/azure/ensurewebappusesthelatestversionoftlsencryption.md +++ b/docs/recipes/terraform/azure/ensurewebappusesthelatestversionoftlsencryption.md @@ -19,12 +19,16 @@ _Ensure Web App uses the latest version of TLS encryption._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/azure/setazurestorageaccountdefaultnetworkaccesstodeny.md b/docs/recipes/terraform/azure/setazurestorageaccountdefaultnetworkaccesstodeny.md index 287b847107..d4aaeaa5da 100644 --- a/docs/recipes/terraform/azure/setazurestorageaccountdefaultnetworkaccesstodeny.md +++ b/docs/recipes/terraform/azure/setazurestorageaccountdefaultnetworkaccesstodeny.md @@ -19,15 +19,16 @@ _Ensure Azure Storage Account default network access is set to Deny._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/azure.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/enablepodsecuritypolicycontrollerongkeclusters.md b/docs/recipes/terraform/gcp/enablepodsecuritypolicycontrollerongkeclusters.md index 254530d10a..219790da77 100644 --- a/docs/recipes/terraform/gcp/enablepodsecuritypolicycontrollerongkeclusters.md +++ b/docs/recipes/terraform/gcp/enablepodsecuritypolicycontrollerongkeclusters.md @@ -19,12 +19,16 @@ _Ensure `PodSecurityPolicy` controller is enabled on Google Kubernetes Engine (G ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/enablevpcflowlogsandintranodevisibility.md b/docs/recipes/terraform/gcp/enablevpcflowlogsandintranodevisibility.md index 859286b0c9..78cc9552ba 100644 --- a/docs/recipes/terraform/gcp/enablevpcflowlogsandintranodevisibility.md +++ b/docs/recipes/terraform/gcp/enablevpcflowlogsandintranodevisibility.md @@ -19,12 +19,16 @@ _Enable VPC flow logs and intranode visibility._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/enablevpcflowlogsforsubnetworks.md b/docs/recipes/terraform/gcp/enablevpcflowlogsforsubnetworks.md index 346bfdf752..39c76ff609 100644 --- a/docs/recipes/terraform/gcp/enablevpcflowlogsforsubnetworks.md +++ b/docs/recipes/terraform/gcp/enablevpcflowlogsforsubnetworks.md @@ -19,12 +19,16 @@ _Ensure GCP VPC flow logs for subnets are enabled. Flow Logs capture information ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensurebinaryauthorizationisused.md b/docs/recipes/terraform/gcp/ensurebinaryauthorizationisused.md index 03a5f3927b..45ca977943 100644 --- a/docs/recipes/terraform/gcp/ensurebinaryauthorizationisused.md +++ b/docs/recipes/terraform/gcp/ensurebinaryauthorizationisused.md @@ -19,12 +19,16 @@ _Ensure binary authorization is used._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensurecomputeinstanceslaunchwithshieldedvmenabled.md b/docs/recipes/terraform/gcp/ensurecomputeinstanceslaunchwithshieldedvmenabled.md index ea7d8e2fe5..9471a30941 100644 --- a/docs/recipes/terraform/gcp/ensurecomputeinstanceslaunchwithshieldedvmenabled.md +++ b/docs/recipes/terraform/gcp/ensurecomputeinstanceslaunchwithshieldedvmenabled.md @@ -19,12 +19,16 @@ _Ensure compute instances launch with shielded VM enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensuregcpcloudstoragebucketwithuniformbucketlevelaccessareenabled.md b/docs/recipes/terraform/gcp/ensuregcpcloudstoragebucketwithuniformbucketlevelaccessareenabled.md index b7fe19b974..9add03d3f6 100644 --- a/docs/recipes/terraform/gcp/ensuregcpcloudstoragebucketwithuniformbucketlevelaccessareenabled.md +++ b/docs/recipes/terraform/gcp/ensuregcpcloudstoragebucketwithuniformbucketlevelaccessareenabled.md @@ -19,12 +19,16 @@ _Ensure GCP cloud storage bucket with uniform bucket-level access are enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensuregcpkubernetesclusternodeautorepairconfigurationisenabled.md b/docs/recipes/terraform/gcp/ensuregcpkubernetesclusternodeautorepairconfigurationisenabled.md index 0bd159009e..9cdcf6a181 100644 --- a/docs/recipes/terraform/gcp/ensuregcpkubernetesclusternodeautorepairconfigurationisenabled.md +++ b/docs/recipes/terraform/gcp/ensuregcpkubernetesclusternodeautorepairconfigurationisenabled.md @@ -19,12 +19,16 @@ _Ensure GCP Kubernetes cluster node auto-repair configuration is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensuregcpkubernetesengineclustershavelegacycomputeenginemetadataendpointsdisabled.md b/docs/recipes/terraform/gcp/ensuregcpkubernetesengineclustershavelegacycomputeenginemetadataendpointsdisabled.md index 01b1bc8c00..828c7b7cf7 100644 --- a/docs/recipes/terraform/gcp/ensuregcpkubernetesengineclustershavelegacycomputeenginemetadataendpointsdisabled.md +++ b/docs/recipes/terraform/gcp/ensuregcpkubernetesengineclustershavelegacycomputeenginemetadataendpointsdisabled.md @@ -19,12 +19,16 @@ _Ensure GCP Kubernetes engine clusters have legacy compute engine metadata endpo ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensuregcpvminstanceshaveblockprojectwidesshkeysfeatureenabled.md b/docs/recipes/terraform/gcp/ensuregcpvminstanceshaveblockprojectwidesshkeysfeatureenabled.md index 2e3fdeb971..e944865ac2 100644 --- a/docs/recipes/terraform/gcp/ensuregcpvminstanceshaveblockprojectwidesshkeysfeatureenabled.md +++ b/docs/recipes/terraform/gcp/ensuregcpvminstanceshaveblockprojectwidesshkeysfeatureenabled.md @@ -19,12 +19,16 @@ _Ensure GCP VM instances have block project-wide SSH keys feature enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensureipforwardingoninstancesisdisabled.md b/docs/recipes/terraform/gcp/ensureipforwardingoninstancesisdisabled.md index 66fafdcf03..308714532c 100644 --- a/docs/recipes/terraform/gcp/ensureipforwardingoninstancesisdisabled.md +++ b/docs/recipes/terraform/gcp/ensureipforwardingoninstancesisdisabled.md @@ -19,12 +19,16 @@ _Ensure IP forwarding on instances is disabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensureprivateclusterisenabledwhencreatingkubernetesclusters.md b/docs/recipes/terraform/gcp/ensureprivateclusterisenabledwhencreatingkubernetesclusters.md index b65c2e970b..50f3b8a796 100644 --- a/docs/recipes/terraform/gcp/ensureprivateclusterisenabledwhencreatingkubernetesclusters.md +++ b/docs/recipes/terraform/gcp/ensureprivateclusterisenabledwhencreatingkubernetesclusters.md @@ -19,12 +19,16 @@ _Ensure private cluster is enabled when creating Kubernetes clusters._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensuresecurebootforshieldedgkenodesisenabled.md b/docs/recipes/terraform/gcp/ensuresecurebootforshieldedgkenodesisenabled.md index de4e668546..50e01fd6bf 100644 --- a/docs/recipes/terraform/gcp/ensuresecurebootforshieldedgkenodesisenabled.md +++ b/docs/recipes/terraform/gcp/ensuresecurebootforshieldedgkenodesisenabled.md @@ -19,15 +19,16 @@ _Ensure secure boot for shielded GKE nodes is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensureshieldedgkenodesareenabled.md b/docs/recipes/terraform/gcp/ensureshieldedgkenodesareenabled.md index a6b6620d13..a4de495899 100644 --- a/docs/recipes/terraform/gcp/ensureshieldedgkenodesareenabled.md +++ b/docs/recipes/terraform/gcp/ensureshieldedgkenodesareenabled.md @@ -19,12 +19,16 @@ _Ensure shielded GKE nodes are enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/ensurethegkemetadataserverisenabled.md b/docs/recipes/terraform/gcp/ensurethegkemetadataserverisenabled.md index 70b62305ce..f4b210807d 100644 --- a/docs/recipes/terraform/gcp/ensurethegkemetadataserverisenabled.md +++ b/docs/recipes/terraform/gcp/ensurethegkemetadataserverisenabled.md @@ -19,15 +19,16 @@ _Ensure the GKE metadata server is enabled._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/gcp/gcpbestpractices.md b/docs/recipes/terraform/gcp/gcpbestpractices.md index 96cddf769e..dfdd0fc1ac 100644 --- a/docs/recipes/terraform/gcp/gcpbestpractices.md +++ b/docs/recipes/terraform/gcp/gcpbestpractices.md @@ -18,15 +18,16 @@ _Securely operate on Google Cloud Platform._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/resources/META-INF/rewrite/gcp.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). -:::info -This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. -::: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/terraform/search/findresource.md b/docs/recipes/terraform/search/findresource.md index 0fe0d2b9f3..e43f6a9ca5 100644 --- a/docs/recipes/terraform/search/findresource.md +++ b/docs/recipes/terraform/search/findresource.md @@ -13,7 +13,7 @@ _Find a Terraform resource by resource type._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/java/org/openrewrite/terraform/search/FindResource.java), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,25 +21,28 @@ _Find a Terraform resource by resource type._ | -- | -- | -- | -- | | `String` | resourceName | A Terraform resource name, without the quotes. | `aws_ebs_volume` | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindResourceExample`. -Here's how you can define and customize such a recipe within your rewrite.yml: +This recipe has required configuration parameters and can only be run by users of Moderne. +To run this recipe, you will need to provide the Moderne CLI run command with the required options. +Or, if you'd like to create a declarative recipe, please see the below example of a `rewrite.yml` file: + ```yaml title="rewrite.yml" --- type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindResourceExample displayName: Find Terraform resource example recipeList: - - org.openrewrite.terraform.search.FindResource: + - org.openrewrite.terraform.search.FindResource: resourceName: aws_ebs_volume ``` -Now that `com.yourorg.FindResourceExample` has been defined, activate it and take a dependency on `org.openrewrite.recipe:rewrite-terraform:{{VERSION_REWRITE_TERRAFORM}}` in your build file: - - You will need to have configured the [Moderne CLI](https://docs.moderne.io/user-documentation/moderne-cli/getting-started/cli-intro) on your machine before you can run the following command. diff --git a/docs/recipes/terraform/securerandom.md b/docs/recipes/terraform/securerandom.md index 07826568c1..9b117c0b4f 100644 --- a/docs/recipes/terraform/securerandom.md +++ b/docs/recipes/terraform/securerandom.md @@ -13,7 +13,7 @@ _Use a long enough byte length for `random` resources._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-terraform/blob/main/src/main/java/org/openrewrite/terraform/SecureRandom.java), [Issue Tracker](https://github.com/openrewrite/rewrite-terraform/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-terraform/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). ## Options @@ -21,10 +21,14 @@ _Use a long enough byte length for `random` resources._ | -- | -- | -- | -- | | `Integer` | byteLength | *Optional*. The minimum byte length to use. | | +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). + ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-terraform` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/text/appendtotextfile.md b/docs/recipes/text/appendtotextfile.md index 5d24f84613..144f3ef97c 100644 --- a/docs/recipes/text/appendtotextfile.md +++ b/docs/recipes/text/appendtotextfile.md @@ -13,8 +13,9 @@ _Appends or replaces content of an existing plain text file, or creates a new on ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/AppendToTextFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/AppendToTextFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | @@ -32,10 +33,14 @@ _Appends or replaces content of an existing plain text file, or creates a new on Note: this only affects the first interaction with the specified file per Rewrite execution. Subsequent instances of this recipe in the same Rewrite execution will always append. Valid options: `Continue`, `Replace`, `Leave` | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AppendToTextFileExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AppendToTextFileExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -43,8 +48,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AppendToTextFileExample displayName: Append to text file example recipeList: - - org.openrewrite.text.AppendToTextFile: - relativeFileName: foo/bar/baz.txt + - org.openrewrite.text.AppendToTextFile: relativeFileName: foo/bar/baz.txt content: Some text. preamble: # File generated by OpenRewrite # ``` diff --git a/docs/recipes/text/changetext.md b/docs/recipes/text/changetext.md index a45ec32be5..4d36896150 100644 --- a/docs/recipes/text/changetext.md +++ b/docs/recipes/text/changetext.md @@ -17,18 +17,23 @@ _Completely replaces the contents of the text file with other text. Use together ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/ChangeText.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/ChangeText.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | toText | The text file will have only this text after the change. The snippet provided here can be multiline. | `Some text.` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTextExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTextExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeTextExample displayName: Change text example recipeList: - - org.openrewrite.text.ChangeText: - toText: Some text. + - org.openrewrite.text.ChangeText: toText: Some text. ``` Now that `com.yourorg.ChangeTextExample` has been defined, activate it in your build file: diff --git a/docs/recipes/text/createtextfile.md b/docs/recipes/text/createtextfile.md index dc23e4be98..ba3ee8f35a 100644 --- a/docs/recipes/text/createtextfile.md +++ b/docs/recipes/text/createtextfile.md @@ -13,8 +13,9 @@ _Creates a new plain text file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/CreateTextFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/CreateTextFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Creates a new plain text file._ | `String` | relativeFileName | File path of new file. | `foo/bar/baz.txt` | | `Boolean` | overwriteExisting | *Optional*. If there is an existing file, should it be overwritten. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CreateTextFileExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CreateTextFileExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.CreateTextFileExample displayName: Create text file example recipeList: - - org.openrewrite.text.CreateTextFile: - fileContents: Some text. + - org.openrewrite.text.CreateTextFile: fileContents: Some text. relativeFileName: foo/bar/baz.txt ``` diff --git a/docs/recipes/text/endoflineatendoffile.md b/docs/recipes/text/endoflineatendoffile.md index 0982f6949c..8bdae3c04f 100644 --- a/docs/recipes/text/endoflineatendoffile.md +++ b/docs/recipes/text/endoflineatendoffile.md @@ -13,7 +13,12 @@ _Ensure that the file ends with the newline character. *Note*: If this recipe m ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/EndOfLineAtEndOfFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/EndOfLineAtEndOfFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/text/find.md b/docs/recipes/text/find.md index 12302d0b01..fd758712c2 100644 --- a/docs/recipes/text/find.md +++ b/docs/recipes/text/find.md @@ -13,8 +13,9 @@ _Textual search, optionally using Regular Expression (regex) to query._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/Find.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/Find.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Textual search, optionally using Regular Expression (regex) to query._ | `Boolean` | dotAll | *Optional*. When performing a regex search setting this to `true` allows "." to match line terminators.Has no effect when not performing a regex search. Default `false`. | | | `String` | filePattern | *Optional*. A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon `;`. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, all source files are searched. | `**/*.java` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindExample displayName: Find text example recipeList: - - org.openrewrite.text.Find: - find: blacklist + - org.openrewrite.text.Find: find: blacklist filePattern: '**/*.java' ``` diff --git a/docs/recipes/text/findandreplace.md b/docs/recipes/text/findandreplace.md index 3cbcd5884d..4a5873d3a8 100644 --- a/docs/recipes/text/findandreplace.md +++ b/docs/recipes/text/findandreplace.md @@ -13,8 +13,9 @@ _Textual find and replace, optionally interpreting the search query as a Regular ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/FindAndReplace.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/FindAndReplace.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | @@ -28,10 +29,14 @@ _Textual find and replace, optionally interpreting the search query as a Regular | `String` | filePattern | *Optional*. A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon `;`. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, all source files are searched. | `**/*.java` | | `Boolean` | plaintextOnly | *Optional*. Only alter files that are parsed as plaintext to prevent language-specific LST information loss. Defaults to false. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindAndReplaceExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindAndReplaceExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -39,8 +44,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindAndReplaceExample displayName: Find and replace example recipeList: - - org.openrewrite.text.FindAndReplace: - find: blacklist + - org.openrewrite.text.FindAndReplace: find: blacklist replace: denylist filePattern: '**/*.java' ``` diff --git a/docs/recipes/text/findmultiselect.md b/docs/recipes/text/findmultiselect.md index b943906f54..13005c4b7d 100644 --- a/docs/recipes/text/findmultiselect.md +++ b/docs/recipes/text/findmultiselect.md @@ -13,8 +13,9 @@ _Search for text, treating all textual sources as plain text. This version of th ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/FindMultiselect.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-core/src/main/java/org/openrewrite/text/FindMultiselect.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-core/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Search for text, treating all textual sources as plain text. This version of th * Case-sensitive - The search will be sensitive to letter case. * Multiline - Allows `^` and `$` to match the beginning and end of lines, respectively.* Dot all - Allows `.` to match line terminators. Valid options: `Case-sensitive`, `Multiline`, `Dot all` | | | `String` | filePattern | A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon `;`. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, all source files are searched. | `**/*.java` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMultiselectExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindMultiselectExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindMultiselectExample displayName: Experimental find text with multiselect example recipeList: - - org.openrewrite.text.FindMultiselect: - find: blacklist + - org.openrewrite.text.FindMultiselect: find: blacklist filePattern: '**/*.java' ``` diff --git a/docs/recipes/transposecapitalization/spongebobcase.md b/docs/recipes/transposecapitalization/spongebobcase.md index d24b7311ec..5f77986e4b 100644 --- a/docs/recipes/transposecapitalization/spongebobcase.md +++ b/docs/recipes/transposecapitalization/spongebobcase.md @@ -13,12 +13,16 @@ _Change all your comments to be SpongeBob-case._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-ai-search/blob/main/src/main/java/io/moderne/transposeCapitalization/SpongeBobCase.java), [Issue Tracker](https://github.com/openrewrite/rewrite-ai-search/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-ai-search/) +This recipe is only available to users of [Moderne](https://docs.moderne.io/). + +## License + +This recipe is available under the [Moderne Proprietary License](https://docs.moderne.io/licensing/overview/). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-ai-search` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. Moderne users can run it via the Moderne CLI: diff --git a/docs/recipes/xml/addcommenttoxmltag.md b/docs/recipes/xml/addcommenttoxmltag.md index 40ad1bd495..2f9b622f47 100644 --- a/docs/recipes/xml/addcommenttoxmltag.md +++ b/docs/recipes/xml/addcommenttoxmltag.md @@ -13,8 +13,9 @@ _Adds a comment as the first element in an XML tag._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/AddCommentToXmlTag.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/AddCommentToXmlTag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Adds a comment as the first element in an XML tag._ | `String` | xPath | An XPath expression used to find matching tags. | `/project/dependencies/dependency` | | `String` | commentText | The text to add as a comment.. | `This is excluded due to CVE and will be removed when we upgrade the next version is available.` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddCommentToXmlTagExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddCommentToXmlTagExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddCommentToXmlTagExample displayName: Add a comment to an XML tag example recipeList: - - org.openrewrite.xml.AddCommentToXmlTag: - xPath: /project/dependencies/dependency + - org.openrewrite.xml.AddCommentToXmlTag: xPath: /project/dependencies/dependency commentText: This is excluded due to CVE and will be removed when we upgrade the next version is available. ``` diff --git a/docs/recipes/xml/addorupdatechildtag.md b/docs/recipes/xml/addorupdatechildtag.md index 367eafe1bb..49a9db820d 100644 --- a/docs/recipes/xml/addorupdatechildtag.md +++ b/docs/recipes/xml/addorupdatechildtag.md @@ -13,8 +13,9 @@ _Adds or updates a child element below the parent(s) matching the provided `pare ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/AddOrUpdateChildTag.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/AddOrUpdateChildTag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Adds or updates a child element below the parent(s) matching the provided `pare | `String` | newChildTag | The XML of the new child to add or update on the parent tag. | `true` | | `Boolean` | replaceExisting | *Optional*. Set to `false` to not replace the child tag if it already exists. Defaults to true. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddOrUpdateChildTagExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AddOrUpdateChildTagExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AddOrUpdateChildTagExample displayName: Add or update child tag example recipeList: - - org.openrewrite.xml.AddOrUpdateChildTag: - parentXPath: /project//plugin//configuration + - org.openrewrite.xml.AddOrUpdateChildTag: parentXPath: /project//plugin//configuration newChildTag: true ``` diff --git a/docs/recipes/xml/changenamespacevalue.md b/docs/recipes/xml/changenamespacevalue.md index f8321b3ba7..3dcc59f18c 100644 --- a/docs/recipes/xml/changenamespacevalue.md +++ b/docs/recipes/xml/changenamespacevalue.md @@ -13,8 +13,9 @@ _Alters XML Attribute value within specified element of a specific resource vers ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/ChangeNamespaceValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/ChangeNamespaceValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -27,10 +28,14 @@ _Alters XML Attribute value within specified element of a specific resource vers | `String` | newVersion | The new version of the resource | `2.0` | | `String` | newSchemaLocation | *Optional*. The new value to be used for the namespace schema location. | `newfoo.bar.attribute.value.string` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeNamespaceValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeNamespaceValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -38,8 +43,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeNamespaceValueExample displayName: Change XML attribute of a specific resource version example recipeList: - - org.openrewrite.xml.ChangeNamespaceValue: - elementName: property + - org.openrewrite.xml.ChangeNamespaceValue: elementName: property oldValue: newfoo.bar.attribute.value.string newValue: newfoo.bar.attribute.value.string versionMatcher: 1.1 diff --git a/docs/recipes/xml/changetagattribute.md b/docs/recipes/xml/changetagattribute.md index bb7a63ab82..9dd4740fe5 100644 --- a/docs/recipes/xml/changetagattribute.md +++ b/docs/recipes/xml/changetagattribute.md @@ -13,8 +13,9 @@ _Alters XML attribute value on a specified element._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/ChangeTagAttribute.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/ChangeTagAttribute.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Alters XML attribute value on a specified element._ | `String` | oldValue | *Optional*. Only change the property value if it matches the configured `oldValue`. | `foo.bar.attribute.value.string` | | `Boolean` | regex | *Optional*. Default false. If true, `oldValue` will be interpreted as a Regular Expression, and capture group contents will be available in `newValue`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTagAttributeExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTagAttributeExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeTagAttributeExample displayName: Change XML attribute example recipeList: - - org.openrewrite.xml.ChangeTagAttribute: - elementName: property + - org.openrewrite.xml.ChangeTagAttribute: elementName: property attributeName: name newValue: newfoo.bar.attribute.value.string oldValue: foo.bar.attribute.value.string diff --git a/docs/recipes/xml/changetagname.md b/docs/recipes/xml/changetagname.md index 74f8fa1d14..48bb4323a0 100644 --- a/docs/recipes/xml/changetagname.md +++ b/docs/recipes/xml/changetagname.md @@ -13,8 +13,9 @@ _Alters the name of XML tags matching the provided expression._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/ChangeTagName.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/ChangeTagName.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Alters the name of XML tags matching the provided expression._ | `String` | elementName | The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression. | `/settings/servers/server/username` | | `String` | newName | The new name for the tag. | `user` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTagNameExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTagNameExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeTagNameExample displayName: Change XML tag name example recipeList: - - org.openrewrite.xml.ChangeTagName: - elementName: /settings/servers/server/username + - org.openrewrite.xml.ChangeTagName: elementName: /settings/servers/server/username newName: user ``` diff --git a/docs/recipes/xml/changetagvalue.md b/docs/recipes/xml/changetagvalue.md index ed7fe087de..2859e764c7 100644 --- a/docs/recipes/xml/changetagvalue.md +++ b/docs/recipes/xml/changetagvalue.md @@ -13,8 +13,9 @@ _Alters the value of XML tags matching the provided expression. When regex is en ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/ChangeTagValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/ChangeTagValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Alters the value of XML tags matching the provided expression. When regex is en | `String` | newValue | The new value for the tag. Supports capture groups when regex is enabled. If literal $,\ characters are needed in newValue, with regex true, then it should be escaped. | `user` | | `Boolean` | regex | *Optional*. Default false. If true, `oldValue` will be interpreted as a [Regular Expression](https://en.wikipedia.org/wiki/Regular_expression), and capture group contents will be available in `newValue`. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTagValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeTagValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeTagValueExample displayName: Change XML tag value example recipeList: - - org.openrewrite.xml.ChangeTagValue: - elementName: /settings/servers/server/username + - org.openrewrite.xml.ChangeTagValue: elementName: /settings/servers/server/username oldValue: user newValue: user ``` diff --git a/docs/recipes/xml/createxmlfile.md b/docs/recipes/xml/createxmlfile.md index 95082ddb60..6d3804491b 100644 --- a/docs/recipes/xml/createxmlfile.md +++ b/docs/recipes/xml/createxmlfile.md @@ -13,8 +13,9 @@ _Create a new XML file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/CreateXmlFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/CreateXmlFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Create a new XML file._ | `String` | fileContents | *Optional*. Multiline text content for the file. |
\
\
\1\\
| | `Boolean` | overwriteExisting | *Optional*. If there is an existing file, should it be overwritten. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CreateXmlFileExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CreateXmlFileExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.CreateXmlFileExample displayName: Create XML file example recipeList: - - org.openrewrite.xml.CreateXmlFile: - relativeFileName: foo/bar/baz.xml + - org.openrewrite.xml.CreateXmlFile: relativeFileName: foo/bar/baz.xml fileContents: > diff --git a/docs/recipes/xml/format/autoformat.md b/docs/recipes/xml/format/autoformat.md index dba750c975..67e896f768 100644 --- a/docs/recipes/xml/format/autoformat.md +++ b/docs/recipes/xml/format/autoformat.md @@ -13,7 +13,12 @@ _Indents XML using the most common indentation size and tabs or space choice in ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/AutoFormat.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/AutoFormat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/format/linebreaks.md b/docs/recipes/xml/format/linebreaks.md index b02ada649e..1749724b47 100644 --- a/docs/recipes/xml/format/linebreaks.md +++ b/docs/recipes/xml/format/linebreaks.md @@ -13,7 +13,12 @@ _Add line breaks at appropriate places between XML syntax elements._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/LineBreaks.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/LineBreaks.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/format/normalizeformat.md b/docs/recipes/xml/format/normalizeformat.md index a5090d8e75..47a13921b1 100644 --- a/docs/recipes/xml/format/normalizeformat.md +++ b/docs/recipes/xml/format/normalizeformat.md @@ -13,7 +13,12 @@ _Move whitespace to the outermost LST element possible._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/NormalizeFormat.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/NormalizeFormat.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/format/normalizelinebreaks.md b/docs/recipes/xml/format/normalizelinebreaks.md index dcf16a79d6..a64a9e216a 100644 --- a/docs/recipes/xml/format/normalizelinebreaks.md +++ b/docs/recipes/xml/format/normalizelinebreaks.md @@ -13,7 +13,12 @@ _Consistently use either Windows style (CRLF) or Linux style (LF) line breaks. I ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/NormalizeLineBreaks.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/NormalizeLineBreaks.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/format/normalizetabsorspaces.md b/docs/recipes/xml/format/normalizetabsorspaces.md index 5d16b644b3..68de47389c 100644 --- a/docs/recipes/xml/format/normalizetabsorspaces.md +++ b/docs/recipes/xml/format/normalizetabsorspaces.md @@ -13,7 +13,12 @@ _Consistently use either tabs or spaces in indentation._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/NormalizeTabsOrSpaces.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/NormalizeTabsOrSpaces.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/format/tabsandindents.md b/docs/recipes/xml/format/tabsandindents.md index 84eea2db51..d68928b234 100644 --- a/docs/recipes/xml/format/tabsandindents.md +++ b/docs/recipes/xml/format/tabsandindents.md @@ -13,7 +13,12 @@ _Format tabs and indents in XML code._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/TabsAndIndents.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/format/TabsAndIndents.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/liberty/appddnamespacerule.md b/docs/recipes/xml/liberty/appddnamespacerule.md index 3a1daf495c..f1421cc024 100644 --- a/docs/recipes/xml/liberty/appddnamespacerule.md +++ b/docs/recipes/xml/liberty/appddnamespacerule.md @@ -13,11 +13,16 @@ _Namespace values in application.xml must be consistent with the descriptor vers ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) - +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/xml/liberty/connectorddnamespacerule.md b/docs/recipes/xml/liberty/connectorddnamespacerule.md index 3d16f1646a..2bb4475f5c 100644 --- a/docs/recipes/xml/liberty/connectorddnamespacerule.md +++ b/docs/recipes/xml/liberty/connectorddnamespacerule.md @@ -13,11 +13,16 @@ _Namespace values in ra.xml must be consistent with the descriptor version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) - +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/xml/liberty/ejbddnamespacerule.md b/docs/recipes/xml/liberty/ejbddnamespacerule.md index 91a69521ff..97cb3fdf29 100644 --- a/docs/recipes/xml/liberty/ejbddnamespacerule.md +++ b/docs/recipes/xml/liberty/ejbddnamespacerule.md @@ -13,11 +13,16 @@ _Namespace values in ejb-jar.xml must be consistent with the descriptor version. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) - +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/xml/liberty/persistencexmllocationrule.md b/docs/recipes/xml/liberty/persistencexmllocationrule.md index a44fafc9f5..1b2bec431b 100644 --- a/docs/recipes/xml/liberty/persistencexmllocationrule.md +++ b/docs/recipes/xml/liberty/persistencexmllocationrule.md @@ -13,12 +13,17 @@ _This recipes moves persistence.xml files into the root META-INF directory in so ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/java/org/openrewrite/xml/liberty/PersistenceXmlLocationRule.java), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/java/org/openrewrite/xml/liberty/PersistenceXmlLocationRule.java), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/xml/liberty/webddnamespacerule.md b/docs/recipes/xml/liberty/webddnamespacerule.md index 78bb7485bc..31825d38bf 100644 --- a/docs/recipes/xml/liberty/webddnamespacerule.md +++ b/docs/recipes/xml/liberty/webddnamespacerule.md @@ -13,11 +13,16 @@ _Namespace values in web.xml must be consistent with the descriptor version._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), [Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) - +[GitHub](https://github.com/openrewrite/rewrite-liberty/blob/main/src/main/resources/META-INF/rewrite/was-to-liberty.yml), +[Issue Tracker](https://github.com/openrewrite/rewrite-liberty/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite.recipe/rewrite-liberty/) :::info This recipe is composed of more than one recipe. If you want to customize the set of recipes this is composed of, you can find and copy the GitHub source for the recipe from the link above. ::: +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Definition @@ -72,7 +77,7 @@ recipeList: ## Usage -This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): +This recipe has no required configuration options. It can be activated by adding a dependency on `org.openrewrite.recipe:rewrite-liberty` in your build file or by running a shell command (in which case no build changes are needed): diff --git a/docs/recipes/xml/removeemptyxmltags.md b/docs/recipes/xml/removeemptyxmltags.md index 78e1dcce6a..ccfea07897 100644 --- a/docs/recipes/xml/removeemptyxmltags.md +++ b/docs/recipes/xml/removeemptyxmltags.md @@ -13,7 +13,12 @@ _Removes XML tags that do not have attributes or children, including self closin ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/RemoveEmptyXmlTags.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/RemoveEmptyXmlTags.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/removetrailingwhitespace.md b/docs/recipes/xml/removetrailingwhitespace.md index d9c9993d4b..f6e25ac784 100644 --- a/docs/recipes/xml/removetrailingwhitespace.md +++ b/docs/recipes/xml/removetrailingwhitespace.md @@ -13,7 +13,12 @@ _Remove any extra trailing whitespace from the end of each line._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/RemoveTrailingWhitespace.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/RemoveTrailingWhitespace.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/removexmltag.md b/docs/recipes/xml/removexmltag.md index d2bd9ab6ed..1fc2cb2f96 100644 --- a/docs/recipes/xml/removexmltag.md +++ b/docs/recipes/xml/removexmltag.md @@ -13,8 +13,9 @@ _Removes XML tags matching the provided expression._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/RemoveXmlTag.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/RemoveXmlTag.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Removes XML tags matching the provided expression._ | `String` | xPath | An XPath expression used to find matching tags. | `/project/dependencies/dependency` | | `String` | fileMatcher | *Optional*. If provided only matching files will be modified. This is a glob expression. | `'**/application-*.xml'` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveXmlTagExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.RemoveXmlTagExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.RemoveXmlTagExample displayName: Remove XML tag example recipeList: - - org.openrewrite.xml.RemoveXmlTag: - xPath: /project/dependencies/dependency + - org.openrewrite.xml.RemoveXmlTag: xPath: /project/dependencies/dependency fileMatcher: '**/application-*.xml' ``` diff --git a/docs/recipes/xml/search/findnamespaceprefix.md b/docs/recipes/xml/search/findnamespaceprefix.md index 2f1b509abf..e9a10d742a 100644 --- a/docs/recipes/xml/search/findnamespaceprefix.md +++ b/docs/recipes/xml/search/findnamespaceprefix.md @@ -13,8 +13,9 @@ _Find XML namespace prefixes, optionally restricting the search by a XPath expre ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/search/FindNamespacePrefix.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/search/FindNamespacePrefix.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Find XML namespace prefixes, optionally restricting the search by a XPath expre | `String` | namespacePrefix | The Namespace Prefix to find. | `http://www.w3.org/2001/XMLSchema-instance` | | `String` | xPath | *Optional*. An XPath expression used to find namespace URIs. | `/dependencies/dependency` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindNamespacePrefixExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindNamespacePrefixExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindNamespacePrefixExample displayName: Find XML namespace prefixes example recipeList: - - org.openrewrite.xml.search.FindNamespacePrefix: - namespacePrefix: http://www.w3.org/2001/XMLSchema-instance + - org.openrewrite.xml.search.FindNamespacePrefix: namespacePrefix: http://www.w3.org/2001/XMLSchema-instance xPath: /dependencies/dependency ``` diff --git a/docs/recipes/xml/search/findtags.md b/docs/recipes/xml/search/findtags.md index cf11636db0..6057ee3955 100644 --- a/docs/recipes/xml/search/findtags.md +++ b/docs/recipes/xml/search/findtags.md @@ -13,18 +13,23 @@ _Find XML tags by XPath expression._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/search/FindTags.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/search/FindTags.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | xPath | An XPath expression used to find matching tags. | `//dependencies/dependency` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindTagsExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindTagsExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindTagsExample displayName: Find XML tags example recipeList: - - org.openrewrite.xml.search.FindTags: - xPath: //dependencies/dependency + - org.openrewrite.xml.search.FindTags: xPath: //dependencies/dependency ``` Now that `com.yourorg.FindTagsExample` has been defined, activate it in your build file: diff --git a/docs/recipes/xml/search/hasnamespaceuri.md b/docs/recipes/xml/search/hasnamespaceuri.md index e23d07781c..9095f84de0 100644 --- a/docs/recipes/xml/search/hasnamespaceuri.md +++ b/docs/recipes/xml/search/hasnamespaceuri.md @@ -13,8 +13,9 @@ _Find XML namespace URIs, optionally restricting the search by a XPath expressio ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/search/HasNamespaceUri.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/search/HasNamespaceUri.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Find XML namespace URIs, optionally restricting the search by a XPath expressio | `String` | namespaceUri | The Namespace URI to find. | `http://www.w3.org/2001/XMLSchema-instance` | | `String` | xPath | *Optional*. An XPath expression used to find namespace URIs. | `/dependencies/dependency` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.HasNamespaceUriExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.HasNamespaceUriExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.HasNamespaceUriExample displayName: Find XML namespace URIs example recipeList: - - org.openrewrite.xml.search.HasNamespaceUri: - namespaceUri: http://www.w3.org/2001/XMLSchema-instance + - org.openrewrite.xml.search.HasNamespaceUri: namespaceUri: http://www.w3.org/2001/XMLSchema-instance xPath: /dependencies/dependency ``` diff --git a/docs/recipes/xml/security/addowaspdateboundsuppressions.md b/docs/recipes/xml/security/addowaspdateboundsuppressions.md index 75aac77afd..ee00accbf7 100644 --- a/docs/recipes/xml/security/addowaspdateboundsuppressions.md +++ b/docs/recipes/xml/security/addowaspdateboundsuppressions.md @@ -13,14 +13,19 @@ _Adds an expiration date to all OWASP suppressions in order to ensure that they ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/security/AddOwaspDateBoundSuppressions.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/security/AddOwaspDateBoundSuppressions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | untilDate | *Optional*. Optional. The date to add to the suppression. Default will be 30 days from today. | `2023-01-01` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage diff --git a/docs/recipes/xml/security/isowaspsuppressionsfile.md b/docs/recipes/xml/security/isowaspsuppressionsfile.md index b50494319f..f1950aec07 100644 --- a/docs/recipes/xml/security/isowaspsuppressionsfile.md +++ b/docs/recipes/xml/security/isowaspsuppressionsfile.md @@ -13,7 +13,12 @@ _These files are used to suppress false positives in OWASP [Dependency Check](ht ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/security/IsOwaspSuppressionsFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/security/IsOwaspSuppressionsFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/security/removeowaspsuppressions.md b/docs/recipes/xml/security/removeowaspsuppressions.md index a51773601e..94e163508f 100644 --- a/docs/recipes/xml/security/removeowaspsuppressions.md +++ b/docs/recipes/xml/security/removeowaspsuppressions.md @@ -13,7 +13,12 @@ _Remove all OWASP suppressions with a suppression end date in the past, as these ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/security/RemoveOwaspSuppressions.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/security/RemoveOwaspSuppressions.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/security/updateowaspsuppressiondate.md b/docs/recipes/xml/security/updateowaspsuppressiondate.md index 86bbd6f22f..65856df960 100644 --- a/docs/recipes/xml/security/updateowaspsuppressiondate.md +++ b/docs/recipes/xml/security/updateowaspsuppressiondate.md @@ -13,8 +13,9 @@ _Updates the expiration date for OWASP suppressions having a matching cve tag. F ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/security/UpdateOwaspSuppressionDate.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/security/UpdateOwaspSuppressionDate.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Updates the expiration date for OWASP suppressions having a matching cve tag. F | `List` | cveList | Update suppressions having any of the specified CVE tags. | `CVE-2022-1234` | | `String` | untilDate | *Optional*. Optional. The date to add to the suppression. Default will be 30 days from today. | `2023-01-01` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpdateOwaspSuppressionDateExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.UpdateOwaspSuppressionDateExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.UpdateOwaspSuppressionDateExample displayName: Update OWASP suppression date bounds example recipeList: - - org.openrewrite.xml.security.UpdateOwaspSuppressionDate: - cveList: CVE-2022-1234 + - org.openrewrite.xml.security.UpdateOwaspSuppressionDate: cveList: CVE-2022-1234 untilDate: 2023-01-01 ``` diff --git a/docs/recipes/xml/style/autodetectdebug.md b/docs/recipes/xml/style/autodetectdebug.md index 0a132219d3..ffcc7c8a19 100644 --- a/docs/recipes/xml/style/autodetectdebug.md +++ b/docs/recipes/xml/style/autodetectdebug.md @@ -13,7 +13,12 @@ _Runs XML Autodetect and records the results in data tables and search markers. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/style/AutodetectDebug.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/style/AutodetectDebug.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/xml/xslttransformation.md b/docs/recipes/xml/xslttransformation.md index 8092be9079..d95b8e3655 100644 --- a/docs/recipes/xml/xslttransformation.md +++ b/docs/recipes/xml/xslttransformation.md @@ -13,8 +13,9 @@ _Apply the specified XSLT transformation on matching files. Note that there are ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/XsltTransformation.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-xml/src/main/java/org/openrewrite/xml/XsltTransformation.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-xml/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Apply the specified XSLT transformation on matching files. Note that there are | `String` | xsltResource | *Optional*. Recipe transformation provided as a classpath resource. | `/changePlugin.xslt` | | `String` | filePattern | A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon `;`. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. | `**/*.xml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.XsltTransformationExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.XsltTransformationExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.XsltTransformationExample displayName: XSLT transformation example recipeList: - - org.openrewrite.xml.XsltTransformation: - xslt: ... + - org.openrewrite.xml.XsltTransformation: xslt: ... xsltResource: /changePlugin.xslt filePattern: '**/*.xml' ``` diff --git a/docs/recipes/yaml/appendtosequence.md b/docs/recipes/yaml/appendtosequence.md index e8efa9bbc4..805b6da5ff 100644 --- a/docs/recipes/yaml/appendtosequence.md +++ b/docs/recipes/yaml/appendtosequence.md @@ -13,8 +13,9 @@ _Append item to YAML sequence._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/AppendToSequence.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/AppendToSequence.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Append item to YAML sequence._ | `List` | existingSequenceValues | *Optional*. If specified, the item will only be appended if the existing sequence matches these values. | `existingValue1` | | `Boolean` | matchExistingSequenceValuesInAnyOrder | *Optional*. If specified in combination with the above parameter, the item will only be appended if the existing sequence has the specified values in any order. | `true` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AppendToSequenceExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.AppendToSequenceExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.AppendToSequenceExample displayName: Append to sequence example recipeList: - - org.openrewrite.yaml.AppendToSequence: - sequencePath: $.universe.planets + - org.openrewrite.yaml.AppendToSequence: sequencePath: $.universe.planets value: earth existingSequenceValues: existingValue1 matchExistingSequenceValuesInAnyOrder: true diff --git a/docs/recipes/yaml/changekey.md b/docs/recipes/yaml/changekey.md index 868be248a7..bccf974640 100644 --- a/docs/recipes/yaml/changekey.md +++ b/docs/recipes/yaml/changekey.md @@ -13,8 +13,9 @@ _Change a YAML mapping entry key while leaving the value intact._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangeKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangeKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Change a YAML mapping entry key while leaving the value intact._ | `String` | oldKeyPath | A [JsonPath](https://docs.openrewrite.org/reference/jsonpath-and-jsonpathmatcher-reference) expression to locate a YAML entry. | `$.subjects.kind` | | `String` | newKey | The new name for the key selected by the `oldKeyPath`. | `kind` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeKeyExample displayName: Change key example recipeList: - - org.openrewrite.yaml.ChangeKey: - oldKeyPath: $.subjects.kind + - org.openrewrite.yaml.ChangeKey: oldKeyPath: $.subjects.kind newKey: kind ``` diff --git a/docs/recipes/yaml/changepropertykey.md b/docs/recipes/yaml/changepropertykey.md index 0c0298bc96..e5b488dbf0 100644 --- a/docs/recipes/yaml/changepropertykey.md +++ b/docs/recipes/yaml/changepropertykey.md @@ -13,8 +13,9 @@ _Change a YAML property key while leaving the value intact. Expects dot notation ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangePropertyKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangePropertyKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Change a YAML property key while leaving the value intact. Expects dot notation | `List` | except | *Optional*. If any of these property keys exist as direct children of `oldPropertyKey`, then they will not be moved to `newPropertyKey`. | `List.of("group")` | | `String` | filePattern | *Optional*. A glob expression representing a file path to search for (relative to the project root). Blank/null matches all. | `.github/workflows/*.yml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePropertyKeyExample displayName: Change property key example recipeList: - - org.openrewrite.yaml.ChangePropertyKey: - oldPropertyKey: management.metrics.binders.*.enabled + - org.openrewrite.yaml.ChangePropertyKey: oldPropertyKey: management.metrics.binders.*.enabled newPropertyKey: management.metrics.enable.process.files except: List.of("group") filePattern: .github/workflows/*.yml diff --git a/docs/recipes/yaml/changepropertyvalue.md b/docs/recipes/yaml/changepropertyvalue.md index 7ed38b094e..9b88073597 100644 --- a/docs/recipes/yaml/changepropertyvalue.md +++ b/docs/recipes/yaml/changepropertyvalue.md @@ -13,8 +13,9 @@ _Change a YAML property. Expects dot notation for nested YAML mappings, similar ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangePropertyValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangePropertyValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -26,10 +27,14 @@ _Change a YAML property. Expects dot notation for nested YAML mappings, similar | `Boolean` | relaxedBinding | *Optional*. Whether to match the `propertyKey` using [relaxed binding](https://docs.spring.io/spring-boot/docs/2.5.6/reference/html/features.html#features.external-config.typesafe-configuration-properties.relaxed-binding) rules. Default is `true`. Set to `false` to use exact matching. | | | `String` | filePattern | *Optional*. A glob expression representing a file path to search for (relative to the project root). Blank/null matches all. | `.github/workflows/*.yml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangePropertyValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -37,8 +42,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangePropertyValueExample displayName: Change YAML property example recipeList: - - org.openrewrite.yaml.ChangePropertyValue: - propertyKey: management.metrics.binders.*.enabled + - org.openrewrite.yaml.ChangePropertyValue: propertyKey: management.metrics.binders.*.enabled newValue: newValue oldValue: oldValue filePattern: .github/workflows/*.yml diff --git a/docs/recipes/yaml/changevalue.md b/docs/recipes/yaml/changevalue.md index c130834e8e..cf7bca21b7 100644 --- a/docs/recipes/yaml/changevalue.md +++ b/docs/recipes/yaml/changevalue.md @@ -13,8 +13,9 @@ _Change a YAML mapping entry value while leaving the key intact._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangeValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/ChangeValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Change a YAML mapping entry value while leaving the key intact._ | `String` | value | The new value to set for the key identified by the `oldKeyPath`. | `Deployment` | | `String` | filePattern | *Optional*. A glob expression representing a file path to search for (relative to the project root). Blank/null matches all. | `.github/workflows/*.yml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.ChangeValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.ChangeValueExample displayName: Change value example recipeList: - - org.openrewrite.yaml.ChangeValue: - keyPath: $.subjects.kind + - org.openrewrite.yaml.ChangeValue: keyPath: $.subjects.kind value: Deployment filePattern: .github/workflows/*.yml ``` diff --git a/docs/recipes/yaml/cleanup/removeunused.md b/docs/recipes/yaml/cleanup/removeunused.md index 9a5176f091..38b24ff53d 100644 --- a/docs/recipes/yaml/cleanup/removeunused.md +++ b/docs/recipes/yaml/cleanup/removeunused.md @@ -13,7 +13,12 @@ _Remove YAML mappings and sequence keys that have no value._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/cleanup/RemoveUnused.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/cleanup/RemoveUnused.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/yaml/coalesceproperties.md b/docs/recipes/yaml/coalesceproperties.md index bf7922d64b..0c64857f68 100644 --- a/docs/recipes/yaml/coalesceproperties.md +++ b/docs/recipes/yaml/coalesceproperties.md @@ -13,7 +13,12 @@ _Simplify nested map hierarchies into their simplest dot separated property form ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/CoalesceProperties.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/CoalesceProperties.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/yaml/commentoutproperty.md b/docs/recipes/yaml/commentoutproperty.md index 655e1f6289..12addfcb9d 100644 --- a/docs/recipes/yaml/commentoutproperty.md +++ b/docs/recipes/yaml/commentoutproperty.md @@ -13,8 +13,9 @@ _Comment out a YAML property and add a comment in front._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/CommentOutProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/CommentOutProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Comment out a YAML property and add a comment in front._ | `String` | commentText | The comment text to be added before the specified key. | `The `foo` property is deprecated, please migrate` | | `Boolean` | commentOutProperty | *Optional*. If false, property wouldn't be commented out, only comment will be added. By default, set to true | `true` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CommentOutPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CommentOutPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.CommentOutPropertyExample displayName: Comment out property example recipeList: - - org.openrewrite.yaml.CommentOutProperty: - propertyKey: applicability.singleSource + - org.openrewrite.yaml.CommentOutProperty: propertyKey: applicability.singleSource commentText: The `foo` property is deprecated, please migrate commentOutProperty: true ``` diff --git a/docs/recipes/yaml/copyvalue.md b/docs/recipes/yaml/copyvalue.md index 59aaa5fc3c..a4837a5e9a 100644 --- a/docs/recipes/yaml/copyvalue.md +++ b/docs/recipes/yaml/copyvalue.md @@ -13,8 +13,9 @@ _Copies a YAML value from one key to another. The existing key/value pair remain ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/CopyValue.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/CopyValue.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Copies a YAML value from one key to another. The existing key/value pair remain | `String` | newKey | A [JsonPath](https://docs.openrewrite.org/reference/jsonpath-and-jsonpathmatcher-reference) expression defining where the value should be written. | `$.dest.kind` | | `String` | newFilePath | *Optional*. The file path to the YAML file to copy the value to. If `null` then the value will be copied only into the same file it was found in. | `src/main/resources/application.yaml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CopyValueExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CopyValueExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.CopyValueExample displayName: Copy YAML value example recipeList: - - org.openrewrite.yaml.CopyValue: - oldKeyPath: $.source.kind + - org.openrewrite.yaml.CopyValue: oldKeyPath: $.source.kind oldFilePath: src/main/resources/application.yaml newKey: $.dest.kind newFilePath: src/main/resources/application.yaml diff --git a/docs/recipes/yaml/createyamlfile.md b/docs/recipes/yaml/createyamlfile.md index c814a95eb6..2bcb242ee0 100644 --- a/docs/recipes/yaml/createyamlfile.md +++ b/docs/recipes/yaml/createyamlfile.md @@ -13,8 +13,9 @@ _Create a new YAML file._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/CreateYamlFile.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/CreateYamlFile.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Create a new YAML file._ | `String` | fileContentsUrl | *Optional*. URL to file containing text content for the file. Use either `fileContents` or `fileContentsUrl` option. | `http://foo.bar/baz.yaml` | | `Boolean` | overwriteExisting | *Optional*. If there is an existing file, should it be overwritten. | | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CreateYamlFileExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.CreateYamlFileExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.CreateYamlFileExample displayName: Create YAML file example recipeList: - - org.openrewrite.yaml.CreateYamlFile: - relativeFileName: foo/bar/baz.yaml + - org.openrewrite.yaml.CreateYamlFile: relativeFileName: foo/bar/baz.yaml fileContents: > a: property: value diff --git a/docs/recipes/yaml/deletekey.md b/docs/recipes/yaml/deletekey.md index f5888192f6..e451c31867 100644 --- a/docs/recipes/yaml/deletekey.md +++ b/docs/recipes/yaml/deletekey.md @@ -13,8 +13,9 @@ _Delete a YAML mapping entry key._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/DeleteKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/DeleteKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -22,10 +23,14 @@ _Delete a YAML mapping entry key._ | `String` | keyPath | A [JsonPath](https://docs.openrewrite.org/reference/jsonpath-and-jsonpathmatcher-reference) expression to locate a YAML entry. | `$.source.kind` | | `String` | filePattern | *Optional*. A glob expression representing a file path to search for (relative to the project root). Blank/null matches all. | `.github/workflows/*.yml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeleteKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -33,8 +38,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DeleteKeyExample displayName: Delete key example recipeList: - - org.openrewrite.yaml.DeleteKey: - keyPath: $.source.kind + - org.openrewrite.yaml.DeleteKey: keyPath: $.source.kind filePattern: .github/workflows/*.yml ``` diff --git a/docs/recipes/yaml/deleteproperty.md b/docs/recipes/yaml/deleteproperty.md index 497024d6db..3da65af0a7 100644 --- a/docs/recipes/yaml/deleteproperty.md +++ b/docs/recipes/yaml/deleteproperty.md @@ -13,8 +13,9 @@ _Delete a YAML property. Nested YAML mappings are interpreted as dot separated p ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/DeleteProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/DeleteProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -24,10 +25,14 @@ _Delete a YAML property. Nested YAML mappings are interpreted as dot separated p | `Boolean` | relaxedBinding | *Optional*. Whether to match the `propertyKey` using [relaxed binding](https://docs.spring.io/spring-boot/docs/2.5.6/reference/html/features.html#features.external-config.typesafe-configuration-properties.relaxed-binding) rules. Defaults to `true`. If you want to use exact matching in your search, set this to `false`. | | | `String` | filePattern | *Optional*. A glob expression representing a file path to search for (relative to the project root). Blank/null matches all. | `.github/workflows/*.yml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeletePropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.DeletePropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -35,8 +40,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.DeletePropertyExample displayName: Delete property example recipeList: - - org.openrewrite.yaml.DeleteProperty: - propertyKey: management.metrics.binders.files.enabled + - org.openrewrite.yaml.DeleteProperty: propertyKey: management.metrics.binders.files.enabled filePattern: .github/workflows/*.yml ``` diff --git a/docs/recipes/yaml/format/indents.md b/docs/recipes/yaml/format/indents.md index e4157353b3..2788bba4a8 100644 --- a/docs/recipes/yaml/format/indents.md +++ b/docs/recipes/yaml/format/indents.md @@ -13,7 +13,12 @@ _Format tabs and indents in YAML._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/format/Indents.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/format/Indents.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ## Usage diff --git a/docs/recipes/yaml/mergeyaml.md b/docs/recipes/yaml/mergeyaml.md index 24d4e757df..f7ed615da6 100644 --- a/docs/recipes/yaml/mergeyaml.md +++ b/docs/recipes/yaml/mergeyaml.md @@ -13,8 +13,9 @@ _Merge a YAML snippet with an existing YAML document._ ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/MergeYaml.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/MergeYaml.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -25,10 +26,14 @@ _Merge a YAML snippet with an existing YAML document._ | `String` | objectIdentifyingProperty | *Optional*. Name of a property which will be used to identify objects (mapping). This serves as the key to match on when merging entries of a sequence. | `name` | | `String` | filePattern | *Optional*. A glob expression representing a file path to search for (relative to the project root). Blank/null matches all. | `.github/workflows/*.yml` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.MergeYamlExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.MergeYamlExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -36,8 +41,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.MergeYamlExample displayName: Merge YAML snippet example recipeList: - - org.openrewrite.yaml.MergeYaml: - key: $.metadata + - org.openrewrite.yaml.MergeYaml: key: $.metadata yaml: 'labels: label-one: "value-one"' objectIdentifyingProperty: name diff --git a/docs/recipes/yaml/search/findkey.md b/docs/recipes/yaml/search/findkey.md index 1d2a815a7c..f5113fd5e7 100644 --- a/docs/recipes/yaml/search/findkey.md +++ b/docs/recipes/yaml/search/findkey.md @@ -13,18 +13,23 @@ _Find YAML entries that match the specified [JsonPath](https://docs.openrewrite. ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/search/FindKey.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/search/FindKey.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | | -- | -- | -- | -- | | `String` | key | A JsonPath expression used to find matching keys. | `$.subjects.kind` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindKeyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindKeyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -32,8 +37,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindKeyExample displayName: Find YAML entries example recipeList: - - org.openrewrite.yaml.search.FindKey: - key: $.subjects.kind + - org.openrewrite.yaml.search.FindKey: key: $.subjects.kind ``` Now that `com.yourorg.FindKeyExample` has been defined, activate it in your build file: diff --git a/docs/recipes/yaml/search/findproperty.md b/docs/recipes/yaml/search/findproperty.md index c23758eb5f..ada7ca2e94 100644 --- a/docs/recipes/yaml/search/findproperty.md +++ b/docs/recipes/yaml/search/findproperty.md @@ -13,8 +13,9 @@ _Find YAML properties that match the specified `propertyKey`. Expects dot notati ## Recipe source -[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/search/FindProperty.java), [Issue Tracker](https://github.com/openrewrite/rewrite/issues), [Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) - +[GitHub](https://github.com/openrewrite/rewrite/blob/main/rewrite-yaml/src/main/java/org/openrewrite/yaml/search/FindProperty.java), +[Issue Tracker](https://github.com/openrewrite/rewrite/issues), +[Maven Central](https://central.sonatype.com/artifact/org.openrewrite/rewrite-yaml/) ## Options | Type | Name | Description | Example | @@ -23,10 +24,14 @@ _Find YAML properties that match the specified `propertyKey`. Expects dot notati | `Boolean` | relaxedBinding | *Optional*. Whether to match the `propertyKey` using [relaxed binding](https://docs.spring.io/spring-boot/docs/2.5.6/reference/html/features.html#features.external-config.typesafe-configuration-properties.relaxed-binding) rules. Defaults to `true`. If you want to use exact matching in your search, set this to `false`. | | | `String` | propertyValue | *Optional*. If provided, only properties specified in propertyKey having this value will be found. Works only for scalar values | `false` | +## License + +This recipe is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). + ## Usage -This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly. To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindPropertyExample`. +This recipe has required configuration parameters. Recipes with required configuration parameters cannot be activated directly (unless you are running them via the Moderne CLI). To activate this recipe you must create a new recipe which fills in the required parameters. In your `rewrite.yml` create a new recipe with a unique name. For example: `com.yourorg.FindPropertyExample`. Here's how you can define and customize such a recipe within your rewrite.yml: ```yaml title="rewrite.yml" --- @@ -34,8 +39,7 @@ type: specs.openrewrite.org/v1beta/recipe name: com.yourorg.FindPropertyExample displayName: Find YAML properties example recipeList: - - org.openrewrite.yaml.search.FindProperty: - propertyKey: management.metrics.binders.*.enabled + - org.openrewrite.yaml.search.FindProperty: propertyKey: management.metrics.binders.*.enabled propertyValue: false ``` diff --git a/docs/reference/moderne-recipes.md b/docs/reference/moderne-recipes.md index 81d8410f85..4fa9caf7eb 100644 --- a/docs/reference/moderne-recipes.md +++ b/docs/reference/moderne-recipes.md @@ -1,6 +1,6 @@ # Moderne Recipes -This doc includes every recipe that is exclusive to Moderne customers. For a full list of all recipes, check out our [recipe catalog](https://docs.openrewrite.org/recipes). For more information about how to use Moderne for automating code refactoring and analysis at scale, [contact us](https://www.moderne.ai/contact-us). +This doc includes every recipe that is exclusive to users of Moderne. For a full list of all recipes, check out our [recipe catalog](https://docs.openrewrite.org/recipes). For more information about how to use Moderne for automating code refactoring and analysis at scale, [contact us](https://www.moderne.ai/contact-us). ## rewrite-ai-search