Skip to content

Commit 1529a42

Browse files
committed
1 parent 2e32362 commit 1529a42

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

spring-kafka/src/test/java/org/springframework/kafka/core/KafkaTemplateTransactionTests.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/*
22
* Copyright 2017-2018 the original author or authors.
3-
* Copyright 2017 the original author or authors.
43
*
54
* Licensed under the Apache License, Version 2.0 (the "License");
65
* you may not use this file except in compliance with the License.
@@ -177,8 +176,8 @@ public void testNoTx() {
177176
KafkaTemplate<String, String> template = new KafkaTemplate<>(pf);
178177
template.setDefaultTopic(STRING_KEY_TOPIC);
179178
assertThatThrownBy(() -> template.send("foo", "bar"))
180-
.isInstanceOf(IllegalStateException.class)
181-
.hasMessageContaining("No transaction is in process;");
179+
.isInstanceOf(IllegalStateException.class)
180+
.hasMessageContaining("No transaction is in process;");
182181
}
183182

184183
@Configuration

0 commit comments

Comments
 (0)