Skip to content

Commit 5ea21d8

Browse files
committed
Update code style about import
Signed-off-by: LeeHyungGeol <[email protected]>
1 parent df16a88 commit 5ea21d8

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

spring-kafka/src/test/java/org/springframework/kafka/retrytopic/DefaultDestinationTopicResolverTests.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@
3636
import org.springframework.kafka.support.converter.ConversionException;
3737
import org.springframework.kafka.support.serializer.DeserializationException;
3838

39-
import static org.assertj.core.api.Assertions.*;
39+
import static org.assertj.core.api.Assertions.assertThat;
40+
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
41+
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
42+
import static org.assertj.core.api.Assertions.assertThatNoException;
43+
import static org.assertj.core.api.Assertions.assertThatNullPointerException;
4044

4145
/**
4246
* @author Tomaz Fernandes

spring-kafka/src/test/java/org/springframework/kafka/retrytopic/ReusableRetryTopicMultipleDltIntegrationTests.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616

1717
package org.springframework.kafka.retrytopic;
1818

19-
import static org.assertj.core.api.Assertions.assertThat;
20-
import static org.assertj.core.api.Assertions.fail;
21-
2219
import java.util.HashMap;
2320
import java.util.Map;
2421
import java.util.concurrent.CountDownLatch;
@@ -30,7 +27,6 @@
3027
import org.apache.kafka.clients.producer.ProducerConfig;
3128
import org.apache.kafka.common.serialization.StringDeserializer;
3229
import org.apache.kafka.common.serialization.StringSerializer;
33-
import org.junit.jupiter.api.BeforeEach;
3430
import org.junit.jupiter.api.Test;
3531
import org.slf4j.Logger;
3632
import org.slf4j.LoggerFactory;
@@ -61,6 +57,9 @@
6157
import org.springframework.test.annotation.DirtiesContext;
6258
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
6359

60+
import static org.assertj.core.api.Assertions.assertThat;
61+
import static org.assertj.core.api.Assertions.fail;
62+
6463
/**
6564
* @author Hyunggeol Lee
6665
* @since 4.0
@@ -219,11 +218,15 @@ public void shouldNotBeInvoked() {
219218
static class CountDownLatchContainer {
220219

221220
final CountDownLatch singleDltLatch = new CountDownLatch(1);
221+
222222
final CountDownLatch multiDltLatch = new CountDownLatch(1);
223+
223224
final CountDownLatch noDltProcessed = new CountDownLatch(1);
224225

225226
final AtomicInteger singleDltInvocations = new AtomicInteger(0);
227+
226228
final AtomicInteger multiDltInvocations = new AtomicInteger(0);
229+
227230
final AtomicInteger noDltInvocations = new AtomicInteger(0);
228231
}
229232

0 commit comments

Comments
 (0)