Skip to content

Commit d301150

Browse files
committed
Add Checkstyle RightCurly
1 parent cdcf55b commit d301150

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/conf/checkstyle.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ limitations under the License.
6262
<module name="ParenPad" />
6363
<module name="RedundantImport" />
6464
<module name="RedundantModifier" />
65+
<module name="RightCurly" />
6566
<!-- No Trailing whitespace -->
6667
<module name="Regexp">
6768
<property name="format" value="[ \t]+$" />

src/main/java/org/apache/commons/io/filefilter/MagicNumberFileFilter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,7 @@ public FileVisitResult accept(final Path file, final BasicFileAttributes attribu
298298
}
299299
return toFileVisitResult(Arrays.equals(this.magicNumbers, byteBuffer.array()));
300300
}
301-
}
302-
catch (final IOException ignored) {
301+
} catch (final IOException ignored) {
303302
// Do nothing, fall through and do not accept file
304303
}
305304
}

0 commit comments

Comments
 (0)