File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
components/sbm-core/src/test/java/org/springframework/sbm/java/impl Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -144,19 +144,19 @@ void testRemoveAnnotation() {
144
144
void removeMethodAnnotationsFromDependency () {
145
145
String given =
146
146
"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
+ "}" ;
152
152
153
153
String expected =
154
154
"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
+ "}" ;
160
160
161
161
JavaSource javaSource = TestProjectContext .buildProjectContext ()
162
162
.withBuildFileHavingDependencies ("javax.ejb:javax.ejb-api:3.2" , "org.springframework.data:spring-data-jpa:2.6.1" )
You can’t perform that action at this time.
0 commit comments