File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed
src/main/resources/META-INF/rewrite Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -3495,6 +3495,26 @@ examples:
34953495 language: java
34963496 ---
34973497type : specs.openrewrite.org/v1beta/example
3498+ recipeName : org.openrewrite.java.migrate.guava.NoGuavaInlineMeMethods
3499+ examples :
3500+ - description : ' '
3501+ sources :
3502+ - before : |
3503+ import com.google.common.base.Strings;
3504+ class Regular {
3505+ String repeatString(String s, int n) {
3506+ return Strings.repeat(s, n);
3507+ }
3508+ }
3509+ after: |
3510+ class Regular {
3511+ String repeatString(String s, int n) {
3512+ return s.repeat(n);
3513+ }
3514+ }
3515+ language: java
3516+ ---
3517+ type : specs.openrewrite.org/v1beta/example
34983518recipeName : org.openrewrite.java.migrate.guava.NoGuavaListsNewArrayList
34993519examples :
35003520- description : ' '
@@ -4306,9 +4326,9 @@ examples:
43064326 after: |
43074327 <?xml version="1.0" encoding="UTF-8"?>
43084328 <validation-config
4309- xmlns="https://jakarta.ee/xml/ns/jakartaee "
4329+ xmlns="https://jakarta.ee/xml/ns/validation/configuration "
43104330 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4311- xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/validation/configuration /validation-configuration-3.0.xsd"
4331+ xsi:schemaLocation="https://jakarta.ee/xml/ns/validation/configuration https://jakarta.ee/xml/ns/validation/validation-configuration-3.0.xsd"
43124332 version="3.0">
43134333
43144334 <default-provider>jakarta.acme.ValidationProvider</default-provider>
You can’t perform that action at this time.
0 commit comments