35 lines
1.4 KiB
YAML
35 lines
1.4 KiB
YAML
type: specs.openrewrite.org/v1beta/recipe
|
|
name: org.elasticsearch.java.backport.ListOfBackport
|
|
displayName: Use `org.elasticsearch.core.Lists#of(..)` not java.util.List.of#(..)
|
|
description: Java 8 does not support the `java.util.List#of(..)`.
|
|
tags:
|
|
- backport
|
|
recipeList:
|
|
- org.elasticsearch.gradle.internal.rewrite.rules.ChangeMethodOwnerRecipe:
|
|
originFullQualifiedClassname: java.util.List
|
|
targetFullQualifiedClassname: org.elasticsearch.core.List
|
|
methodName: of
|
|
---
|
|
type: specs.openrewrite.org/v1beta/recipe
|
|
name: org.elasticsearch.java.backport.MapOfBackport
|
|
displayName: Use `org.elasticsearch.core.Maps#of(..)` not java.util.Map.of#(..)
|
|
description: Java 8 does not support the `java.util.Map#of(..)`.
|
|
tags:
|
|
- backport
|
|
recipeList:
|
|
- org.elasticsearch.gradle.internal.rewrite.rules.ChangeMethodOwnerRecipe:
|
|
originFullQualifiedClassname: java.util.Map
|
|
targetFullQualifiedClassname: org.elasticsearch.core.Map
|
|
methodName: of
|
|
---
|
|
type: specs.openrewrite.org/v1beta/recipe
|
|
name: org.elasticsearch.java.backport.SetOfBackport
|
|
displayName: Use `org.elasticsearch.core.Sets#of(..)` not java.util.Set.of#(..)
|
|
description: Java 8 does not support the `java.util.Set#of(..)`.
|
|
tags:
|
|
- backport
|
|
recipeList:
|
|
- org.elasticsearch.gradle.internal.rewrite.rules.ChangeMethodOwnerRecipe:
|
|
originFullQualifiedClassname: java.util.Set
|
|
targetFullQualifiedClassname: org.elasticsearch.core.Set
|
|
methodName: of |