Fix Checkstyle violations

* Make version block for dependencies as code-switcher in the XML, ZeroMQ and Zookeeper docs
This commit is contained in:
Artem Bilan
2021-11-15 12:21:52 -05:00
parent f5f1c82082
commit 3dabf7aec1
4 changed files with 6 additions and 7 deletions

View File

@@ -18,7 +18,6 @@ package org.springframework.integration.xml.transformer;
import java.io.IOException;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.Result;
import org.springframework.messaging.Message;

View File

@@ -17,8 +17,8 @@ Spring Integration's XML support extends the core of Spring Integration with the
You need to include this dependency into your project:
====
[source, xml, subs="normal", role="primary"]
.Maven
[source, xml, subs="normal"]
----
<dependency>
<groupId>org.springframework.integration</groupId>
@@ -27,8 +27,8 @@ You need to include this dependency into your project:
</dependency>
----
[source, groovy, subs="normal", role="secondary"]
.Gradle
[source, groovy, subs="normal"]
----
compile "org.springframework.integration:spring-integration-xml:{project-version}"
----

View File

@@ -8,8 +8,8 @@ All components encapsulate ZeroMQ socket lifecycles and manage threads for them
You need to include this dependency into your project:
====
[source, xml, subs="normal", role="primary"]
.Maven
[source, xml, subs="normal"]
----
<dependency>
<groupId>org.springframework.integration</groupId>
@@ -18,8 +18,8 @@ You need to include this dependency into your project:
</dependency>
----
[source, groovy, subs="normal", role="secondary"]
.Gradle
[source, groovy, subs="normal"]
----
compile "org.springframework.integration:spring-integration-zeromq:{project-version}"
----

View File

@@ -10,8 +10,8 @@ Version 4.2 added https://zookeeper.apache.org/[Zookeeper] support to the framew
You need to include this dependency into your project:
====
[source, xml, subs="normal", role="primary"]
.Maven
[source, xml, subs="normal"]
----
<dependency>
<groupId>org.springframework.integration</groupId>
@@ -20,8 +20,8 @@ You need to include this dependency into your project:
</dependency>
----
[source, groovy, subs="normal", role="secondary"]
.Gradle
[source, groovy, subs="normal"]
----
compile "org.springframework.integration:spring-integration-zookeeper:{project-version}"
----