Skip to content

Commit 49cd6a0

Browse files
1 parent 9ac3674 commit 49cd6a0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/main/resources/META-INF/rewrite/examples.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3956,6 +3956,25 @@ examples:
39563956
language: java
39573957
---
39583958
type: specs.openrewrite.org/v1beta/example
3959+
recipeName: org.openrewrite.staticanalysis.UsePortableNewlines
3960+
examples:
3961+
- description: ''
3962+
sources:
3963+
- before: |
3964+
class Test {
3965+
void test(String name) {
3966+
System.out.printf("Hello %s\n", name);
3967+
}
3968+
}
3969+
after: |
3970+
class Test {
3971+
void test(String name) {
3972+
System.out.printf("Hello %s%n", name);
3973+
}
3974+
}
3975+
language: java
3976+
---
3977+
type: specs.openrewrite.org/v1beta/example
39593978
recipeName: org.openrewrite.staticanalysis.UseStandardCharset
39603979
examples:
39613980
- description: ''

0 commit comments

Comments
 (0)