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 2016-2022 the original author or authors.
* Copyright 2016-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.
@@ -56,4 +56,5 @@ public class FeedEntryMessageSourceSpec extends MessageSourceSpec<FeedEntryMessa
this.target.setPreserveWireFeed(preserveWireFeed);
return this;
}
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-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.
@@ -90,7 +90,6 @@ public class FeedEntryMessageSource extends AbstractMessageSource<SyndEntry> {
private volatile boolean initialized;
/**
* Creates a FeedEntryMessageSource that will use a HttpURLFeedFetcher to read feeds from the given URL.
* If the feed URL has a protocol other than http*, consider providing a custom implementation of the

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-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.
@@ -59,7 +59,6 @@ public class FeedInboundChannelAdapterParserTests {
@TempDir
public static File tempFolder;
private static CountDownLatch latch;
@Test
@@ -76,7 +75,6 @@ public class FeedInboundChannelAdapterParserTests {
context.close();
}
@Test
public void validateSuccessfulHttpConfigurationWithCustomMetadataStore() {
ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(
@@ -161,7 +159,6 @@ public class FeedInboundChannelAdapterParserTests {
}
public static class SampleServiceNoHistory {
public void receiveFeedEntry(SyndEntry entry) {