Skip to content

Commit 3dabf7a

Browse files
committed
Fix Checkstyle violations
* Make version block for dependencies as code-switcher in the XML, ZeroMQ and Zookeeper docs
1 parent f5f1c82 commit 3dabf7a

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

spring-integration-xml/src/main/java/org/springframework/integration/xml/transformer/MarshallingTransformer.java

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import java.io.IOException;
2020

21-
import javax.xml.parsers.ParserConfigurationException;
2221
import javax.xml.transform.Result;
2322

2423
import org.springframework.messaging.Message;

src/reference/asciidoc/xml.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Spring Integration's XML support extends the core of Spring Integration with the
1717
You need to include this dependency into your project:
1818

1919
====
20+
[source, xml, subs="normal", role="primary"]
2021
.Maven
21-
[source, xml, subs="normal"]
2222
----
2323
<dependency>
2424
<groupId>org.springframework.integration</groupId>
@@ -27,8 +27,8 @@ You need to include this dependency into your project:
2727
</dependency>
2828
----
2929
30+
[source, groovy, subs="normal", role="secondary"]
3031
.Gradle
31-
[source, groovy, subs="normal"]
3232
----
3333
compile "org.springframework.integration:spring-integration-xml:{project-version}"
3434
----

src/reference/asciidoc/zeromq.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ All components encapsulate ZeroMQ socket lifecycles and manage threads for them
88
You need to include this dependency into your project:
99

1010
====
11+
[source, xml, subs="normal", role="primary"]
1112
.Maven
12-
[source, xml, subs="normal"]
1313
----
1414
<dependency>
1515
<groupId>org.springframework.integration</groupId>
@@ -18,8 +18,8 @@ You need to include this dependency into your project:
1818
</dependency>
1919
----
2020
21+
[source, groovy, subs="normal", role="secondary"]
2122
.Gradle
22-
[source, groovy, subs="normal"]
2323
----
2424
compile "org.springframework.integration:spring-integration-zeromq:{project-version}"
2525
----

src/reference/asciidoc/zookeeper.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Version 4.2 added https://zookeeper.apache.org/[Zookeeper] support to the framew
1010
You need to include this dependency into your project:
1111

1212
====
13+
[source, xml, subs="normal", role="primary"]
1314
.Maven
14-
[source, xml, subs="normal"]
1515
----
1616
<dependency>
1717
<groupId>org.springframework.integration</groupId>
@@ -20,8 +20,8 @@ You need to include this dependency into your project:
2020
</dependency>
2121
----
2222
23+
[source, groovy, subs="normal", role="secondary"]
2324
.Gradle
24-
[source, groovy, subs="normal"]
2525
----
2626
compile "org.springframework.integration:spring-integration-zookeeper:{project-version}"
2727
----

0 commit comments

Comments
 (0)