We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ac3674 commit 49cd6a0Copy full SHA for 49cd6a0
src/main/resources/META-INF/rewrite/examples.yml
@@ -3956,6 +3956,25 @@ examples:
3956
language: java
3957
---
3958
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
3971
3972
+ System.out.printf("Hello %s%n", name);
3973
3974
3975
+ language: java
3976
+---
3977
+type: specs.openrewrite.org/v1beta/example
3978
recipeName: org.openrewrite.staticanalysis.UseStandardCharset
3979
examples:
3980
- description: ''
0 commit comments