checkstyle FinalClassCheck
fixes fixModifiers after fixFinal Revert CachingSessionFactory Class is spied in tests. checkstyle - Import Rules checkstyle InterfaceIsType checkstyle InnerTypeLast checkstyle OneStatementPerLine CovariantEquals OneTopLevelClass * Revert `'\n'` -> `System.lineSeparator()` in the Gradle scripts to meet Git `autocrlf = true` on Windows * Fix timing issue with the `LastModifiedFileListFilterTests`, when the `age = 1` might not be enough for the file object when we have some delay before checking
This commit is contained in:
committed by
Artem Bilan
parent
43af472c3a
commit
4ac3a79df7
@@ -57,7 +57,7 @@ public class HeadDirectoryScanner extends DefaultDirectoryScanner {
|
||||
}
|
||||
|
||||
|
||||
private static class HeadFilter implements FileListFilter<File> {
|
||||
private static final class HeadFilter implements FileListFilter<File> {
|
||||
|
||||
private final int maxNumberOfFiles;
|
||||
|
||||
|
||||
@@ -548,7 +548,7 @@ public class RemoteFileTemplate<F> implements RemoteFileOperations<F>, Initializ
|
||||
return directoryPath;
|
||||
}
|
||||
|
||||
private class StreamHolder {
|
||||
private final class StreamHolder {
|
||||
|
||||
private final InputStream stream;
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ import org.springframework.integration.file.remote.session.Session;
|
||||
* @since 3.0
|
||||
*
|
||||
*/
|
||||
public class RemoteFileUtils {
|
||||
public final class RemoteFileUtils {
|
||||
|
||||
private RemoteFileUtils() {}
|
||||
|
||||
|
||||
@@ -157,7 +157,7 @@ public class CachingSessionFactory<F> implements SessionFactory<F>, DisposableBe
|
||||
this.pool.removeAllIdleItems();
|
||||
}
|
||||
|
||||
public class CachedSession implements Session<F> {
|
||||
public class CachedSession implements Session<F> { //NOSONAR (final)
|
||||
|
||||
private final Session<F> targetSession;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user