Browse Source

Polish "Order modifiers to align with JLS"

See gh-31368
pull/30300/merge
Stéphane Nicoll 1 year ago
parent
commit
5c6232e681
  1. 3
      buildSrc/config/checkstyle/checkstyle.xml
  2. 2
      spring-messaging/src/main/java/org/springframework/messaging/simp/broker/OrderedMessageChannelDecorator.java
  3. 2
      spring-web/src/main/java/org/springframework/http/client/ReactorNettyClientRequestFactory.java
  4. 2
      src/checkstyle/checkstyle.xml

3
buildSrc/config/checkstyle/checkstyle.xml

@ -19,6 +19,9 @@ @@ -19,6 +19,9 @@
<property name="processJavadoc" value="true"/>
</module>
<!-- Modifiers -->
<module name="com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck"/>
</module>
</module>

2
spring-messaging/src/main/java/org/springframework/messaging/simp/broker/OrderedMessageChannelDecorator.java

@ -204,7 +204,7 @@ public class OrderedMessageChannelDecorator implements MessageChannel { @@ -204,7 +204,7 @@ public class OrderedMessageChannelDecorator implements MessageChannel {
}
private final static class CallbackTaskInterceptor implements ExecutorChannelInterceptor {
private static final class CallbackTaskInterceptor implements ExecutorChannelInterceptor {
@Override
public void afterMessageHandled(

2
spring-web/src/main/java/org/springframework/http/client/ReactorNettyClientRequestFactory.java

@ -47,7 +47,7 @@ public class ReactorNettyClientRequestFactory implements ClientHttpRequestFactor @@ -47,7 +47,7 @@ public class ReactorNettyClientRequestFactory implements ClientHttpRequestFactor
private static final Log logger = LogFactory.getLog(ReactorNettyClientRequestFactory.class);
private final static Function<HttpClient, HttpClient> defaultInitializer = client -> client.compress(true);
private static final Function<HttpClient, HttpClient> defaultInitializer = client -> client.compress(true);
private HttpClient httpClient;

2
src/checkstyle/checkstyle.xml

@ -188,7 +188,7 @@ @@ -188,7 +188,7 @@
</module>
<!-- Modifiers -->
<module name="ModifierOrder" />
<module name="com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck"/>
<!-- Miscellaneous -->
<module name="com.puppycrawl.tools.checkstyle.checks.indentation.CommentsIndentationCheck">

Loading…
Cancel
Save