Add EmptyLineSeparator Checkstyle rule
* Support "blank lines around" via `spring-framework.xml` IDEA config * Fix all the Checkstyle violations
This commit is contained in:
@@ -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.
|
||||
@@ -42,7 +42,6 @@ public class ByteStreamReadingMessageSource extends AbstractMessageSource<byte[]
|
||||
|
||||
private boolean shouldTruncate = true;
|
||||
|
||||
|
||||
public ByteStreamReadingMessageSource(InputStream stream) {
|
||||
this(stream, -1);
|
||||
}
|
||||
@@ -59,7 +58,6 @@ public class ByteStreamReadingMessageSource extends AbstractMessageSource<byte[]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setBytesPerMessage(int bytesPerMessage) {
|
||||
this.bytesPerMessage = bytesPerMessage;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 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.
|
||||
@@ -35,7 +35,6 @@ public class ByteStreamWritingMessageHandler extends AbstractMessageHandler {
|
||||
|
||||
private final BufferedOutputStream stream;
|
||||
|
||||
|
||||
public ByteStreamWritingMessageHandler(OutputStream stream) {
|
||||
this(stream, -1);
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
@@ -137,7 +137,6 @@ public class CharacterStreamReadingMessageSource extends AbstractMessageSource<S
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create a source that reads from {@link System#in}. EOF will not be detected.
|
||||
* @return the stream.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2020 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.
|
||||
@@ -46,7 +46,6 @@ public class CharacterStreamWritingMessageHandler extends AbstractMessageHandler
|
||||
|
||||
private volatile boolean shouldAppendNewLine = false;
|
||||
|
||||
|
||||
public CharacterStreamWritingMessageHandler(Writer writer) {
|
||||
this(writer, -1);
|
||||
}
|
||||
@@ -64,7 +63,6 @@ public class CharacterStreamWritingMessageHandler extends AbstractMessageHandler
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Factory method that creates a target for stdout (System.out) with the
|
||||
* default charset encoding.
|
||||
@@ -119,7 +117,6 @@ public class CharacterStreamWritingMessageHandler extends AbstractMessageHandler
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void setShouldAppendNewLine(boolean shouldAppendNewLine) {
|
||||
this.shouldAppendNewLine = shouldAppendNewLine;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user