Skip to content

Commit 65fbc8f

Browse files
committed
refactor test example indent
Signed-off-by: moonyoungCHAE <xpf_fl@naver.com>
1 parent bc07101 commit 65fbc8f

File tree

1 file changed

+10
-10
lines changed
  • spring-kafka-docs/src/main/antora/modules/ROOT/pages

1 file changed

+10
-10
lines changed

spring-kafka-docs/src/main/antora/modules/ROOT/pages/testing.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,16 @@ public final class EmbeddedKafkaHolder {
163163
public static EmbeddedKafkaBroker getEmbeddedKafka() {
164164
if (!started) {
165165
synchronized (this) {
166-
if (!started) {
167-
try {
168-
embeddedKafka.afterPropertiesSet();
169-
}
170-
catch (Exception e) {
171-
throw new KafkaException("Embedded broker failed to start", e);
172-
}
173-
started = true;
174-
}
175-
}
166+
if (!started) {
167+
try {
168+
embeddedKafka.afterPropertiesSet();
169+
}
170+
catch (Exception e) {
171+
throw new KafkaException("Embedded broker failed to start", e);
172+
}
173+
started = true;
174+
}
175+
}
176176
}
177177
return embeddedKafka;
178178
}

0 commit comments

Comments
 (0)