Skip to content

Commit 13aedc5

Browse files
committed
Add Checkstyle RightCurly
1 parent a841452 commit 13aedc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/conf/checkstyle.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ limitations under the License.
7373
<module name="ParenPad" />
7474
<module name="RedundantImport" />
7575
<module name="RedundantModifier" />
76+
<module name="RightCurly" />
7677
<module name="WhitespaceAfter" />
7778
<module name="WhitespaceAround" />
7879
</module>

src/test/java/org/apache/commons/codec/binary/BaseNTestData.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ static byte[] streamToBytes(final InputStream in, byte[] buf) throws IOException
174174
System.arraycopy(buf, 0, smallerBuf, 0, size);
175175
buf = smallerBuf;
176176
}
177-
}
178-
finally {
177+
} finally {
179178
in.close();
180179
}
181180
return buf;

0 commit comments

Comments
 (0)