Skip to content

Commit 566952c

Browse files
committed
Fix formatting
1 parent 79a98ac commit 566952c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

components/sbm-core/src/test/java/org/springframework/sbm/java/impl/OpenRewriteMethodTest.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -144,19 +144,19 @@ void testRemoveAnnotation() {
144144
void removeMethodAnnotationsFromDependency() {
145145
String given =
146146
"import javax.ejb.*;\n" +
147-
"@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)\n" +
148-
"public class TransactionalService {\n" +
149-
" @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)\n" +
150-
" public void notSupported() {}\n" +
151-
"}";
147+
"@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)\n" +
148+
"public class TransactionalService {\n" +
149+
" @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)\n" +
150+
" public void notSupported() {}\n" +
151+
"}";
152152

153153
String expected =
154154
"import javax.ejb.*;\n" +
155-
"@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)\n" +
156-
"public class TransactionalService {\n" +
157-
" \n" +
158-
" public void notSupported() {}\n" +
159-
"}";
155+
"@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)\n" +
156+
"public class TransactionalService {\n" +
157+
" \n" +
158+
" public void notSupported() {}\n" +
159+
"}";
160160

161161
JavaSource javaSource = TestProjectContext.buildProjectContext()
162162
.withBuildFileHavingDependencies("javax.ejb:javax.ejb-api:3.2", "org.springframework.data:spring-data-jpa:2.6.1")

0 commit comments

Comments
 (0)