📍Use lombok, reformat, and optimize the code (#1560)
* Use lombok, reformat, and optimize the code * Fix merge conflicts and some sonar issues Co-authored-by: va1m <va1m@email.com>
This commit is contained in:
@ -60,13 +60,7 @@
|
||||
<artifactId>jaxb-api</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- Testing -->
|
||||
<dependency>
|
||||
<groupId>com.github.sbrannen</groupId>
|
||||
<artifactId>spring-test-junit5</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter-engine</artifactId>
|
||||
|
@ -47,7 +47,7 @@ import org.springframework.test.context.junit.jupiter.SpringExtension;
|
||||
@ActiveProfiles("test")
|
||||
@EnableAutoConfiguration
|
||||
@ComponentScan
|
||||
public class SplitterRouteTest {
|
||||
class SplitterRouteTest {
|
||||
|
||||
@EndpointInject(uri = "{{entry}}")
|
||||
private ProducerTemplate entry;
|
||||
@ -62,7 +62,7 @@ public class SplitterRouteTest {
|
||||
*/
|
||||
@Test
|
||||
@DirtiesContext
|
||||
public void testSplitter() throws Exception {
|
||||
void testSplitter() throws Exception {
|
||||
|
||||
// Three items in one entry message
|
||||
entry.sendBody(new String[]{"TEST1", "TEST2", "TEST3"});
|
||||
|
Reference in New Issue
Block a user