Skip to content

Commit e64ee57

Browse files
authored
Polish YAML recipe display names and descriptions (K8 of #1330) (#1360)
* Use sentence case for YAML recipe display names Lowercase common nouns such as "Dependencies", "Plugins" and "Namespace" while keeping proper nouns like Jakarta EE, OmniFaces and Jetty, spell out "Java EE 6" and "Jetty 9", and put coordinates and package names in backticks. * Fix typos and stray spacing in YAML recipe names and descriptions Among others "Jakata", "API's", "search fro", double spaces, a stray and an unclosed backtick, and continuation lines that YAML folded into literal line breaks. * Describe what YAML recipes do instead of repeating names or pointing elsewhere Correct descriptions that did not match the recipe list, such as `ApacheDefaultProvider` and the Java EE and Jakarta EE composites that claimed to flag, `AddJaxwsDependencies` mentioning `javax.xml.bind`, `MigrateZipErrorToZipException` gated on Java 25, and the copy-pasted `NoGuavaJava11`/`NoGuavaJava21` text. Replace descriptions that only repeated the display name or referred to another recipe with a summary of the changes made. * Regenerate `recipes.csv`
1 parent 72b3f06 commit e64ee57

25 files changed

Lines changed: 241 additions & 228 deletions

‎src/main/resources/META-INF/rewrite/ibm-java.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ recipeList:
3636
---
3737
type: specs.openrewrite.org/v1beta/recipe
3838
name: org.openrewrite.java.migrate.IBMJDKtoOracleJDK
39-
displayName: Migrate from IBM Runtimes to Oracle Runtimes
39+
displayName: Migrate from IBM runtimes to Oracle runtimes
4040
description: >-
4141
This recipe will apply changes commonly needed when upgrading Java versions. The solutions provided in this list are
4242
solutions necessary for migrating from IBM Runtimes to Oracle Runtimes.
@@ -132,7 +132,7 @@ type: specs.openrewrite.org/v1beta/recipe
132132
name: org.openrewrite.java.migrate.RemovedJavaXMLWSModuleProvided
133133
displayName: Do not package `java.xml.ws` module in WebSphere Liberty applications
134134
description:
135-
The `java.xml.ws` module was removed in Java11. Websphere Liberty provides its own implementation of the module, which can be used by specifying the `jaxws-2.2` feature in the server.xml file.
135+
The `java.xml.ws` module was removed in Java 11. WebSphere Liberty provides its own implementation of the module, which can be used by specifying the `jaxws-2.2` feature in the server.xml file.
136136
This recipe updates the `javax.xml.ws` dependency to use the `provided` scope to avoid class loading issues.
137137
tags:
138138
- java11
@@ -152,8 +152,8 @@ type: specs.openrewrite.org/v1beta/recipe
152152
name: org.openrewrite.java.migrate.RemovedJaxBModuleProvided
153153
displayName: Do not package `java.xml.bind` and `java.activation` modules in WebSphere Liberty applications
154154
description:
155-
The `java.xml.bind` and `java.activation` modules were removed in Java11.
156-
Websphere Liberty provides its own implementation of the modules, which can be used by specifying the `jaxb-2.2` feature in the server.xml file.
155+
The `java.xml.bind` and `java.activation` modules were removed in Java 11.
156+
WebSphere Liberty provides its own implementation of the modules, which can be used by specifying the `jaxb-2.2` feature in the server.xml file.
157157
This recipe updates the `javax.xml.bind` and `javax.activation` dependencies to use the `provided` scope to avoid class loading issues.
158158
tags:
159159
- java11

‎src/main/resources/META-INF/rewrite/inline-guava-33-methods.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
type: specs.openrewrite.org/v1beta/recipe
2323
name: com.google.guava.InlineGuavaMethods
24-
displayName: Inline `guava` methods annotated with `@InlineMe`
24+
displayName: Inline Guava methods annotated with `@InlineMe`
2525
description: >-
2626
Automatically generated recipes to inline method calls based on `@InlineMe` annotations
2727
discovered in the type table.

‎src/main/resources/META-INF/rewrite/intellij-annotations-to-jetbrains-annotations.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
---
1818
type: specs.openrewrite.org/v1beta/recipe
1919
name: org.openrewrite.java.migrate.ComIntelliJAnnotationsToOrgJetbrainsAnnotations
20-
displayName: Migrate com.intellij:annotations to org.jetbrains:annotations
20+
displayName: Migrate `com.intellij:annotations` to `org.jetbrains:annotations`
2121
description: >-
2222
This recipe will upgrade old dependency of com.intellij:annotations to the newer org.jetbrains:annotations.
2323
tags:

‎src/main/resources/META-INF/rewrite/jakarta-ee-10.yml‎

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@
1818
type: specs.openrewrite.org/v1beta/recipe
1919
name: org.openrewrite.java.migrate.jakarta.JakartaEE10
2020
displayName: Migrate to Jakarta EE 10
21-
description: These recipes help with the Migration to Jakarta EE 10, flagging and updating deprecated methods.
21+
description: >-
22+
Migrate to Jakarta EE 10 from Java EE 8 or Jakarta EE 9. Moves `javax` packages to `jakarta`, upgrades the Jakarta EE
23+
APIs, implementations and Maven plugins to their Jakarta EE 10 versions, and replaces APIs that were deprecated or removed
24+
in Jakarta EE 10.
2225
tags:
2326
- jakarta
2427
preconditions:
@@ -57,8 +60,8 @@ recipeList:
5760
---
5861
type: specs.openrewrite.org/v1beta/recipe
5962
name: org.openrewrite.java.migrate.jakarta.MigrationToJakarta10Apis
60-
displayName: Migrate Jakarta EE 9 api dependencies to Jakarta EE 10 versions
61-
description: Jakarta EE 10 updates some apis compared to Jakarta EE 9.
63+
displayName: Migrate Jakarta EE 9 API dependencies to Jakarta EE 10 versions
64+
description: Upgrade the Jakarta EE 9 API dependencies to their Jakarta EE 10 versions.
6265
tags:
6366
- jakarta
6467
preconditions:
@@ -161,8 +164,8 @@ recipeList:
161164
---
162165
type: specs.openrewrite.org/v1beta/recipe
163166
name: org.openrewrite.java.migrate.jakarta.UpdateFileupload2Dependencies
164-
displayName: Update Apache Commons FileUpload2 package for EE10
165-
description: Update Apache Commons FileUpload2 package for EE10.
167+
displayName: Update Apache Commons FileUpload2 package for Jakarta EE 10
168+
description: Replace the `commons-fileupload2-jakarta-servlet5` artifact and package with their `servlet6` counterparts, which target Jakarta Servlet 6.0.
166169
preconditions:
167170
- org.openrewrite.Singleton
168171
recipeList:
@@ -271,7 +274,7 @@ recipeList:
271274
---
272275
type: specs.openrewrite.org/v1beta/recipe
273276
name: org.openrewrite.java.migrate.jakarta.JavaxEjbJarXmlToJakartaEjbJarXml
274-
displayName: Migrate xmlns entries and javax. packages in `ejb-jar.xml` files
277+
displayName: Migrate xmlns entries and `javax` packages in `ejb-jar.xml` files
275278
description: Java EE has been rebranded to Jakarta EE, necessitating an XML namespace relocation.
276279
tags:
277280
- jakarta
@@ -300,7 +303,7 @@ recipeList:
300303
---
301304
type: specs.openrewrite.org/v1beta/recipe
302305
name: org.openrewrite.java.migrate.jakarta.JavaxBeanValidationXmlToJakartaBeanValidationXml
303-
displayName: Migrate xmlns entries and javax. packages in `validation.xml` files
306+
displayName: Migrate xmlns entries and `javax` packages in `validation.xml` files
304307
description: Java EE has been rebranded to Jakarta EE, necessitating an XML namespace relocation.
305308
tags:
306309
- jakarta
@@ -330,7 +333,7 @@ recipeList:
330333
---
331334
type: specs.openrewrite.org/v1beta/recipe
332335
name: org.openrewrite.java.migrate.jakarta.RemovalsServletJakarta10
333-
displayName: Replace deprecated Jakarta Servlet methods and classes
336+
displayName: Replace deprecated Jakarta Servlet methods and classes
334337
description: >-
335338
This recipe replaces the classes and methods deprecated in Jakarta Servlet 6.0.
336339
preconditions:
@@ -392,7 +395,7 @@ recipeList:
392395
---
393396
type: specs.openrewrite.org/v1beta/recipe
394397
name: org.openrewrite.java.migrate.jakarta.DeprecatedCDIAPIsRemoved40
395-
displayName: Remove deprecated API's not supported in CDI4.0
398+
displayName: Remove deprecated APIs not supported in CDI 4.0
396399
description: >-
397400
Deprecated APIs have been removed in CDI 4.0. This recipe removes and updates the corresponding deprecated methods.
398401
preconditions:
@@ -404,7 +407,7 @@ recipeList:
404407
---
405408
type: specs.openrewrite.org/v1beta/recipe
406409
name: org.openrewrite.java.migrate.jakarta.JavaxToJakartaCdiExtensions
407-
displayName: Rename CDI Extension to Jakarta
410+
displayName: Rename CDI extension service files to Jakarta
408411
description: Rename `javax.enterprise.inject.spi.Extension` to `jakarta.enterprise.inject.spi.Extension`.
409412
preconditions:
410413
- org.openrewrite.Singleton
@@ -415,8 +418,8 @@ recipeList:
415418
---
416419
type: specs.openrewrite.org/v1beta/recipe
417420
name: org.openrewrite.java.migrate.jakarta.UpdateJakartaPlatform10
418-
displayName: Update Jakarta EE Platform Dependencies to 10.0.0
419-
description: Update Jakarta EE Platform Dependencies to 10.0.0.
421+
displayName: Update Jakarta EE platform dependencies to 10.0.0
422+
description: Upgrade the `jakarta.platform` dependencies to 10.0.0.
420423
preconditions:
421424
- org.openrewrite.Singleton
422425
recipeList:
@@ -427,8 +430,8 @@ recipeList:
427430
---
428431
type: specs.openrewrite.org/v1beta/recipe
429432
name: org.openrewrite.java.migrate.jakarta.UpdateJakartaAnnotations2
430-
displayName: Update Jakarta EE annotation Dependencies to 2.1.x
431-
description: Update Jakarta EE annotation Dependencies to 2.1.x.
433+
displayName: Update Jakarta EE annotation dependencies to 2.1.x
434+
description: Deprecated and does nothing, as the `jakarta.annotation-api` upgrade to 2.1.x is now part of the Jakarta EE 10 API migration.
432435
tags:
433436
# This recipe has been inlined into `MigrationToJakarta10Apis`; drop the reference to this recipe,
434437
# This placeholder is kept to avoid breaking existing recipes that reference this recipe still.
@@ -439,8 +442,10 @@ recipeList: []
439442
---
440443
type: specs.openrewrite.org/v1beta/recipe
441444
name: org.openrewrite.java.migrate.jakarta.UpdateJakartaXmlWsEE10
442-
displayName: Update Jakarta EE XML Web Services Dependencies for EE 10
443-
description: Update Jakarta EE XML Web Services Dependencies for EE 10.
445+
displayName: Update Jakarta XML Web Services dependencies for Jakarta EE 10
446+
description: >-
447+
Upgrade the Jakarta XML Binding, SOAP and XML Web Services APIs and the `jaxws-rt` implementation to their Jakarta EE 10
448+
versions, replacing the retired `jakarta.jws-api` artifact with `jakarta.xml.ws-api`.
444449
preconditions:
445450
- org.openrewrite.Singleton
446451
recipeList:
@@ -491,8 +496,8 @@ recipeList:
491496
---
492497
type: specs.openrewrite.org/v1beta/recipe
493498
name: org.openrewrite.java.migrate.jakarta.UpdateJerseyDependencies
494-
displayName: Update GlassFish Jersey Dependencies to 3.1.x
495-
description: Update GlassFish Jersey Dependencies to 3.1.x.
499+
displayName: Update GlassFish Jersey dependencies to 3.1.x
500+
description: Upgrade the GlassFish Jersey dependencies to 3.1.x, and Tyrus to 2.1.x.
496501
preconditions:
497502
- org.openrewrite.Singleton
498503
recipeList:
@@ -528,7 +533,7 @@ recipeList:
528533
type: specs.openrewrite.org/v1beta/recipe
529534
name: org.openrewrite.java.migrate.jakarta.UpdateApacheCommonsEmailDependencies
530535
displayName: Update Apache Commons Email to Email2 for Jakarta
531-
description: Update Apache Commons Email to Email2 for Jakarta.
536+
description: Replace `commons-email` with `commons-email2-jakarta` 2.0.x, and move the `org.apache.commons.mail` types to their Email2 packages.
532537
preconditions:
533538
- org.openrewrite.Singleton
534539
recipeList:
@@ -554,8 +559,10 @@ recipeList:
554559
---
555560
type: specs.openrewrite.org/v1beta/recipe
556561
name: org.openrewrite.java.migrate.jakarta.UpdateApacheShiroDependencies
557-
displayName: Update Apache Shiro Dependencies to 2.0.x
558-
description: Update Apache Shiro Dependencies to 2.0.x.
562+
displayName: Update Apache Shiro dependencies to 2.0.x
563+
description: >-
564+
Upgrade Apache Shiro to the 2.0.x `jakarta` classifier artifacts and move the relocated codec and utility types,
565+
and upgrade `buji-pac4j` and pac4j to their Jakarta EE versions.
559566
preconditions:
560567
- org.openrewrite.Singleton
561568
recipeList:
@@ -603,8 +610,8 @@ recipeList:
603610
---
604611
type: specs.openrewrite.org/v1beta/recipe
605612
name: org.openrewrite.java.migrate.jakarta.UpdateEclipseLinkDependencies
606-
displayName: Update EclipseLink Dependencies to 4.x
607-
description: Update EclipseLink Dependencies to 4.x.
613+
displayName: Update EclipseLink dependencies to 4.x
614+
description: Upgrade the `org.eclipse.persistence` dependencies to EclipseLink 4.x, which implements Jakarta Persistence 3.1.
608615
preconditions:
609616
- org.openrewrite.Singleton
610617
recipeList:
@@ -615,8 +622,8 @@ recipeList:
615622
---
616623
type: specs.openrewrite.org/v1beta/recipe
617624
name: org.openrewrite.java.migrate.jakarta.UpdateYassonDependencies
618-
displayName: Update Eclipse Yasson Dependencies to 3.0.x
619-
description: Update Eclipse Yasson Dependencies to 3.0.x.
625+
displayName: Update Eclipse Yasson dependencies to 3.0.x
626+
description: Upgrade the `org.eclipse:yasson` dependency to 3.0.x, which implements Jakarta JSON Binding 3.0.
620627
preconditions:
621628
- org.openrewrite.Singleton
622629
recipeList:
@@ -773,8 +780,8 @@ recipeList:
773780
---
774781
type: specs.openrewrite.org/v1beta/recipe
775782
name: org.openrewrite.java.migrate.jakarta.MigratePluginsForJakarta10
776-
displayName: Update Plugins for Jakarta EE 10
777-
description: Update plugin to be compatible with Jakarta EE 10.
783+
displayName: Update plugins for Jakarta EE 10
784+
description: Update plugins to be compatible with Jakarta EE 10.
778785
preconditions:
779786
- org.openrewrite.Singleton
780787
recipeList:

‎src/main/resources/META-INF/rewrite/jakarta-ee-11.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
type: specs.openrewrite.org/v1beta/recipe
1919
name: org.openrewrite.java.migrate.jakarta.JakartaEE11
2020
displayName: Migrate to Jakarta EE 11
21-
description: These recipes help with the Migration to Jakarta EE 11, flagging and updating deprecated methods.
21+
description: >-
22+
Migrate to Jakarta EE 11 by applying the Jakarta EE 10 migration, and then upgrading the Jakarta EE platform,
23+
Jakarta Faces and Maven plugins to their Jakarta EE 11 versions.
2224
tags:
2325
- jakarta
2426
preconditions:
@@ -31,8 +33,8 @@ recipeList:
3133
---
3234
type: specs.openrewrite.org/v1beta/recipe
3335
name: org.openrewrite.java.migrate.jakarta.UpdateJakartaPlatform11
34-
displayName: Update Jakarta EE Platform Dependencies to 11.0.x
35-
description: Update Jakarta EE Platform Dependencies to 11.0.x.
36+
displayName: Update Jakarta EE platform dependencies to 11.0.x
37+
description: Upgrade the `jakarta.platform` dependencies to 11.0.x, along with the Jakarta Annotations and Jakarta Server Pages APIs.
3638
preconditions:
3739
- org.openrewrite.Singleton
3840
recipeList:
@@ -51,7 +53,7 @@ recipeList:
5153
---
5254
type: specs.openrewrite.org/v1beta/recipe
5355
name: org.openrewrite.java.migrate.jakarta.MigratePluginsForJakarta11
54-
displayName: Update Plugins for Jakarta EE 11
56+
displayName: Update plugins for Jakarta EE 11
5557
description: Update plugins to be compatible with Jakarta EE 11.
5658
preconditions:
5759
- org.openrewrite.Singleton

‎src/main/resources/META-INF/rewrite/jakarta-ee-9.yml‎

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ recipeList:
10911091
---
10921092
type: specs.openrewrite.org/v1beta/recipe
10931093
name: org.openrewrite.java.migrate.jakarta.JavaxXmlToJakartaXmlXJCBinding
1094-
displayName: Migrate XJC Bindings to Jakata XML
1094+
displayName: Migrate XJC bindings to Jakarta XML
10951095
description: Java EE has been rebranded to Jakarta EE, migrates the namespace and version in XJC bindings.
10961096
tags:
10971097
- jaxb
@@ -1256,7 +1256,7 @@ type: specs.openrewrite.org/v1beta/recipe
12561256
name: org.openrewrite.java.migrate.jakarta.JacksonJavaxToJakarta
12571257
displayName: Migrate Jackson from javax to jakarta namespace
12581258
description: >-
1259-
Java EE has been rebranded to Jakarta EE. This recipe replaces existing Jackson dependencies with their counterparts
1259+
Java EE has been rebranded to Jakarta EE. This recipe replaces existing Jackson dependencies with their counterparts
12601260
that are compatible with Jakarta EE 9.
12611261
preconditions:
12621262
- org.openrewrite.Singleton
@@ -1387,7 +1387,7 @@ type: specs.openrewrite.org/v1beta/recipe
13871387
name: org.openrewrite.java.migrate.jakarta.EhcacheJavaxToJakarta
13881388
displayName: Migrate Ehcache from javax to jakarta namespace
13891389
description: >-
1390-
Java EE has been rebranded to Jakarta EE. This recipe replaces existing Ehcache dependencies with their counterparts
1390+
Java EE has been rebranded to Jakarta EE. This recipe replaces existing Ehcache dependencies with their counterparts
13911391
that are compatible with Jakarta EE 9.
13921392
preconditions:
13931393
- org.openrewrite.Singleton
@@ -1418,7 +1418,7 @@ type: specs.openrewrite.org/v1beta/recipe
14181418
name: org.openrewrite.java.migrate.jakarta.JohnzonJavaxToJakarta
14191419
displayName: Migrate Johnzon from javax to jakarta namespace
14201420
description: >-
1421-
Java EE has been rebranded to Jakarta EE. This recipe replaces existing Johnzon dependencies with their counterparts
1421+
Java EE has been rebranded to Jakarta EE. This recipe replaces existing Johnzon dependencies with their counterparts
14221422
that are compatible with Jakarta EE 9.
14231423
preconditions:
14241424
- org.openrewrite.Singleton
@@ -1438,9 +1438,9 @@ recipeList:
14381438
# breaking changes to the Rest Assured API that need to be addressed.
14391439
type: specs.openrewrite.org/v1beta/recipe
14401440
name: org.openrewrite.java.migrate.jakarta.RestAssuredJavaxToJakarta
1441-
displayName: Migrate RestAssured from javax to jakarta namespace by upgrading to a version compatible with J2EE9
1441+
displayName: Migrate RestAssured from javax to jakarta namespace by upgrading to a version compatible with Jakarta EE 9
14421442
description: >-
1443-
Java EE has been rebranded to Jakarta EE. This recipe replaces existing RestAssured dependencies with their
1443+
Java EE has been rebranded to Jakarta EE. This recipe replaces existing RestAssured dependencies with their
14441444
counterparts that are compatible with Jakarta EE 9.
14451445
preconditions:
14461446
- org.openrewrite.Singleton
@@ -1452,9 +1452,9 @@ recipeList:
14521452
---
14531453
type: specs.openrewrite.org/v1beta/recipe
14541454
name: org.openrewrite.java.migrate.jakarta.UpdateApacheWSSecurityPackages
1455-
displayName: Migrate `org.apache.ws.security` and `org.apache.ws.security.components.crypto` packages to `org.apache.wss4j.common.ext` and `org.apache.wss4j.common.crypto` packages
1455+
displayName: Migrate `org.apache.ws.security` and `org.apache.ws.security.components.crypto` packages to `org.apache.wss4j.common.ext` and `org.apache.wss4j.common.crypto` packages
14561456
description: >-
1457-
Java EE has been rebranded to Jakarta EE. This recipe replaces Apache security packages to migrate to Apache `wss4j`.
1457+
Java EE has been rebranded to Jakarta EE. This recipe replaces Apache security packages to migrate to Apache `wss4j`.
14581458
preconditions:
14591459
- org.openrewrite.Singleton
14601460
recipeList:
@@ -1564,7 +1564,7 @@ recipeList:
15641564
---
15651565
type: specs.openrewrite.org/v1beta/recipe
15661566
name: org.openrewrite.java.migrate.jakarta.JettyUpgradeEE9
1567-
displayName: Update Jetty9 to Jetty12
1567+
displayName: Update Jetty 9 to Jetty 12
15681568
description: Update Jetty dependencies from version 9 to version 12.
15691569
preconditions:
15701570
- org.openrewrite.Singleton
@@ -1685,8 +1685,10 @@ recipeList:
16851685
---
16861686
type: specs.openrewrite.org/v1beta/recipe
16871687
name: org.openrewrite.java.migrate.jakarta.UpdateRestLet2_6
1688-
displayName: Update RestLet to 2.6.0
1689-
description: Update RestLet to 2.6.0.
1688+
displayName: Update Restlet to 2.6.x
1689+
description: >-
1690+
Upgrade Restlet dependencies to 2.6.x, moving the `org.restlet.jee` artifacts to the `org.restlet` group and removing
1691+
the `org.restlet.ext.httpclient` extension.
16901692
preconditions:
16911693
- org.openrewrite.Singleton
16921694
recipeList:
@@ -1705,7 +1707,7 @@ recipeList:
17051707
---
17061708
type: specs.openrewrite.org/v1beta/recipe
17071709
name: org.openrewrite.java.migrate.jakarta.MigratePluginsForJakarta9
1708-
displayName: Update Plugins for Jakarta EE 9
1710+
displayName: Update plugins for Jakarta EE 9
17091711
description: Update plugins to be compatible with Jakarta EE 9.
17101712
preconditions:
17111713
- org.openrewrite.Singleton
@@ -1805,7 +1807,7 @@ recipeList:
18051807
---
18061808
type: specs.openrewrite.org/v1beta/recipe
18071809
name: org.openrewrite.java.migrate.jakarta.AddJakartaElDependency
1808-
displayName: Add the Jakarta El API when needed
1810+
displayName: Add the Jakarta EL API when needed
18091811
description: Add the migrated API without promoting an explicitly provided or compile-only dependency.
18101812
preconditions:
18111813
- org.openrewrite.java.migrate.jakarta.DoesNotHaveProvidedApiDependency:
@@ -1824,7 +1826,7 @@ recipeList:
18241826
---
18251827
type: specs.openrewrite.org/v1beta/recipe
18261828
name: org.openrewrite.java.migrate.jakarta.AddJakartaEjbDependency
1827-
displayName: Add the Jakarta Ejb API when needed
1829+
displayName: Add the Jakarta EJB API when needed
18281830
description: Add the migrated API without promoting an explicitly provided or compile-only dependency.
18291831
preconditions:
18301832
- org.openrewrite.java.migrate.jakarta.DoesNotHaveProvidedApiDependency:
@@ -1868,7 +1870,7 @@ recipeList:
18681870
---
18691871
type: specs.openrewrite.org/v1beta/recipe
18701872
name: org.openrewrite.java.migrate.jakarta.AddJakartaInjectDependency
1871-
displayName: Add the jakarta.inject API when needed
1873+
displayName: Add the `jakarta.inject` API when needed
18721874
description: Add a standalone API only when no explicitly provided API or full platform already supplies it.
18731875
preconditions:
18741876
- org.openrewrite.java.migrate.jakarta.DoesNotHaveProvidedApiDependency:
@@ -1889,7 +1891,7 @@ recipeList:
18891891
---
18901892
type: specs.openrewrite.org/v1beta/recipe
18911893
name: org.openrewrite.java.migrate.jakarta.AddJakartaRestDependency
1892-
displayName: Add the jakarta.ws.rs API when needed
1894+
displayName: Add the `jakarta.ws.rs` API when needed
18931895
description: Add a standalone API only when no explicitly provided API or full platform already supplies it.
18941896
preconditions:
18951897
- org.openrewrite.java.migrate.jakarta.DoesNotHaveProvidedApiDependency:

0 commit comments

Comments
 (0)