Skip to content

Commit 10071b4

Browse files
timtebeekTeamModerne
authored andcommitted
1 parent b884cfb commit 10071b4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,16 +1091,12 @@ examples:
10911091
- description: ''
10921092
sources:
10931093
- before: |
1094-
package com.abc;
1095-
10961094
class A {
10971095
public String test() {
10981096
return String.format("Hello %s", "world");
10991097
}
11001098
}
11011099
after: |
1102-
package com.abc;
1103-
11041100
class A {
11051101
public String test() {
11061102
return "Hello %s".formatted("world");
@@ -1112,27 +1108,23 @@ examples:
11121108
- before: |
11131109
<project>
11141110
<modelVersion>4.0.0</modelVersion>
1115-
11161111
<properties>
11171112
<java.version>1.8</java.version>
11181113
<maven.compiler.source>1.8</maven.compiler.source>
11191114
<maven.compiler.target>1.8</maven.compiler.target>
11201115
</properties>
1121-
11221116
<groupId>com.mycompany.app</groupId>
11231117
<artifactId>my-app</artifactId>
11241118
<version>1</version>
11251119
</project>
11261120
after: |
11271121
<project>
11281122
<modelVersion>4.0.0</modelVersion>
1129-
11301123
<properties>
11311124
<java.version>17</java.version>
11321125
<maven.compiler.source>17</maven.compiler.source>
11331126
<maven.compiler.target>17</maven.compiler.target>
11341127
</properties>
1135-
11361128
<groupId>com.mycompany.app</groupId>
11371129
<artifactId>my-app</artifactId>
11381130
<version>1</version>

0 commit comments

Comments
 (0)