Rename OpenSymphony / XWork classes to Struts 7 packages
ProprietaryUpdates classes moved from com.opensymphony.xwork2.* to their new org.apache.struts2.* packages in Struts 7.
org. openrewrite. java. struts. migrate7. RenameOpenSymphonyToStruts2mod run . --recipe= org. openrewrite. java. struts. migrate7. RenameOpenSymphonyToStruts2Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Change type
com.opensymphony.xwork2.Actiontoorg.apache.struts2.action.Action - Change type
com.opensymphony.xwork2.ActionChainResulttoorg.apache.struts2.result.ActionChainResult - Change type
com.opensymphony.xwork2.TextProvidertoorg.apache.struts2.text.TextProvider - Change type
com.opensymphony.xwork2.CompositeTextProvidertoorg.apache.struts2.text.CompositeTextProvider - Change type
com.opensymphony.xwork2.DefaultTextProvidertoorg.apache.struts2.text.DefaultTextProvider - Change type
com.opensymphony.xwork2.LocalizedTextProvidertoorg.apache.struts2.text.LocalizedTextProvider - Change type
com.opensymphony.xwork2.ResourceBundleTextProvidertoorg.apache.struts2.text.ResourceBundleTextProvider - Change type
com.opensymphony.xwork2.TextProviderFactorytoorg.apache.struts2.text.TextProviderFactory - Change type
com.opensymphony.xwork2.TextProviderSupporttoorg.apache.struts2.text.TextProviderSupport - Change type
com.opensymphony.xwork2.util.AbstractLocalizedTextProvidertoorg.apache.struts2.text.AbstractLocalizedTextProvider - Change type
com.opensymphony.xwork2.util.GlobalLocalizedTextProvidertoorg.apache.struts2.text.GlobalLocalizedTextProvider - Change type
com.opensymphony.xwork2.util.StrutsLocalizedTextProvidertoorg.apache.struts2.text.StrutsLocalizedTextProvider - Change type
com.opensymphony.xwork2.DefaultLocaleProvidertoorg.apache.struts2.locale.DefaultLocaleProvider - Change type
com.opensymphony.xwork2.DefaultLocaleProviderFactorytoorg.apache.struts2.locale.DefaultLocaleProviderFactory - Change type
com.opensymphony.xwork2.LocaleProvidertoorg.apache.struts2.locale.LocaleProvider - Change type
com.opensymphony.xwork2.LocaleProviderFactorytoorg.apache.struts2.locale.LocaleProviderFactory - Rename package name
com.opensymphony.xwork2toorg.apache.struts2