Skip to content

Commit dcbc45e

Browse files
committed
Fix serial warning in TX tests
1 parent 9092fe3 commit dcbc45e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-rabbit/src/test/java/org/springframework/amqp/rabbit/core/TransactionalEventListenerTests.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848

4949
/**
5050
* @author Gary Russell
51+
* @author Artem Bilan
5152
* @since 2.2.16
5253
*
5354
*/
@@ -116,6 +117,8 @@ public void publish() {
116117
PlatformTransactionManager transactionManager(AtomicBoolean committed) {
117118
return new AbstractPlatformTransactionManager() {
118119

120+
private static final long serialVersionUID = 4268801052358035098L;
121+
119122
@Override
120123
protected void doRollback(DefaultTransactionStatus status) throws TransactionException {
121124
}

0 commit comments

Comments
 (0)