Add EmptyLineSeparator Checkstyle rule

* Support "blank lines around" via `spring-framework.xml` IDEA config
* Fix all the Checkstyle violations
This commit is contained in:
Artem Bilan
2024-03-27 16:54:25 -04:00
parent f71a2234d8
commit c155d5d418
932 changed files with 1341 additions and 2485 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2019-2022 the original author or authors.
* Copyright 2019-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -63,7 +63,6 @@ public class ServerRSocketMessageHandler extends IntegrationRSocketMessageHandle
private static final Method HANDLE_CONNECTION_SETUP_METHOD =
ReflectionUtils.findMethod(ServerRSocketMessageHandler.class, "handleConnectionSetup", Message.class);
private final Map<Object, RSocketRequester> clientRSocketRequesters = new HashMap<>();
private BiFunction<Map<String, Object>, DataBuffer, Object> clientRSocketKeyStrategy =

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2019-2022 the original author or authors.
* Copyright 2019-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -151,7 +151,6 @@ public class RSocketOutboundGateway extends AbstractReplyProducingMessageHandler
this.interactionModelExpression = interactionModelExpression;
}
/**
* Configure a type for a request {@link Publisher} elements.
* @param publisherElementType the type of the request {@link Publisher} elements.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2019-2022 the original author or authors.
* Copyright 2019-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -107,7 +107,6 @@ public class RSocketDslTests {
flowRegistration.destroy();
}
@Configuration
@EnableIntegration
public static class TestConfiguration {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2019-2022 the original author or authors.
* Copyright 2019-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -146,7 +146,6 @@ public class RSocketInboundGatewayIntegrationTests {
.verify(Duration.ofSeconds(10));
}
private abstract static class CommonConfig {
@Bean

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2019-2022 the original author or authors.
* Copyright 2019-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -166,7 +166,6 @@ public class RSocketOutboundGatewayIntegrationTests {
disposable.dispose();
}
@Test
void clientEcho() {
echo(this.inputChannel, this.resultChannel, null);
@@ -299,7 +298,6 @@ public class RSocketOutboundGatewayIntegrationTests {
verifier.verify(Duration.ofSeconds(10));
}
@Test
void clientVoidReturnValue() {
voidReturnValue(this.inputChannel, this.resultChannel, null);
@@ -450,7 +448,6 @@ public class RSocketOutboundGatewayIntegrationTests {
.thenCancel()
.verify(Duration.ofSeconds(10));
disposable.dispose();
this.clientRsocketOutboundGateway.setExpectedResponseType(String.class);
}