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:
3495
3495
language: java
3496
3496
---
3497
3497
type : 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
3498
3518
recipeName : org.openrewrite.java.migrate.guava.NoGuavaListsNewArrayList
3499
3519
examples :
3500
3520
- description : ' '
@@ -4306,9 +4326,9 @@ examples:
4306
4326
after: |
4307
4327
<?xml version="1.0" encoding="UTF-8"?>
4308
4328
<validation-config
4309
- xmlns="https://jakarta.ee/xml/ns/jakartaee "
4329
+ xmlns="https://jakarta.ee/xml/ns/validation/configuration "
4310
4330
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"
4312
4332
version="3.0">
4313
4333
4314
4334
<default-provider>jakarta.acme.ValidationProvider</default-provider>
You can’t perform that action at this time.
0 commit comments