Apply checkstyle changes in stream-applications

* core, source, sink and processor are now updated with latest checkstyle requirements.
This commit is contained in:
Soby Chacko
2020-05-07 11:18:22 -04:00
parent f61fbb4dc9
commit 9bc78ec1fa
234 changed files with 1717 additions and 2419 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>bridge-processor</artifactId>
@@ -43,7 +43,8 @@
<name>bridge</name>
<type>processor</type>
<version>${project.version}</version>
<configClass>org.springframework.cloud.stream.app.BridgeProcessorConfiguration.class</configClass>
<configClass>org.springframework.cloud.stream.app.BridgeProcessorConfiguration.class
</configClass>
<functionDefinition>bridgeFunction</functionDefinition>
</generatedApp>

View File

@@ -19,6 +19,7 @@ package org.springframework.cloud.stream.app;
import java.nio.charset.StandardCharsets;
import org.junit.jupiter.api.Test;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
@@ -55,6 +56,7 @@ public class BridgeProcessorTests {
}
@EnableAutoConfiguration
@Import({ BridgeProcessorConfiguration.class })
public static class BridgeTestAppConfiguration { }
@Import({BridgeProcessorConfiguration.class})
public static class BridgeTestAppConfiguration {
}
}