Skip to content

Commit afc2883

Browse files
valery1707garyrussell
authored andcommitted
Fix JavaDoc
1 parent c1f8668 commit afc2883

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

spring-kafka/src/main/java/org/springframework/kafka/annotation/EnableKafka.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@
137137
* specify an explicit default {@code KafkaListenerContainerFactory}
138138
*
139139
* <pre class="code">
140-
* {
141-
* &#64;code
142140
* &#064;Configuration
143141
* &#064;EnableKafka
144142
* public class AppConfig implements KafkaListenerConfigurer {
@@ -157,7 +155,6 @@
157155
* return new MyService();
158156
* }
159157
* }
160-
* }
161158
* </pre>
162159
*
163160
* It is also possible to specify a custom
@@ -171,8 +168,6 @@
171168
* validated against a custom {@code Validator}.
172169
*
173170
* <pre class="code">
174-
* {
175-
* &#64;code
176171
* &#064;Configuration
177172
* &#064;EnableKafka
178173
* public class AppConfig implements KafkaListenerConfigurer {
@@ -200,16 +195,13 @@
200195
* return new MyService();
201196
* }
202197
* }
203-
* }
204198
* </pre>
205199
*
206200
* Implementing {@code KafkaListenerConfigurer} also allows for fine-grained control over
207201
* endpoints registration via the {@code KafkaListenerEndpointRegistrar}. For example, the
208202
* following configures an extra endpoint:
209203
*
210204
* <pre class="code">
211-
* {
212-
* &#64;code
213205
* &#064;Configuration
214206
* &#064;EnableKafka
215207
* public class AppConfig implements KafkaListenerConfigurer {
@@ -232,7 +224,6 @@
232224
*
233225
* // Kafka infrastructure setup
234226
* }
235-
* }
236227
* </pre>
237228
*
238229
* Note that all beans implementing {@code KafkaListenerConfigurer} will be detected and

0 commit comments

Comments
 (0)