Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ void assertDoesNotHavePath() {
read();
throw failure(new JsonPathNotExpected(this.json, this.path));
}
catch (PathNotFoundException ignore) {
catch (PathNotFoundException ignored) {
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ public static void closeChannel(Channel channel) {
channel.close();
}
}
catch (IOException ignore) {
catch (IOException ignored) {
}
}

public static void deleteFile(Path file) {
try {
Files.delete(file);
}
catch (IOException ignore) {
catch (IOException ignored) {
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public void closeSource() {
try {
this.source.close();
}
catch (IOException ignore) {
catch (IOException ignored) {
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static byte[] getBody(HttpInputMessage message) {
try {
return FileCopyUtils.copyToByteArray(message.getBody());
}
catch (IOException ignore) {
catch (IOException ignored) {
}
return new byte[0];
}
Expand Down
2 changes: 1 addition & 1 deletion src/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck"/>
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck"/>
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.EmptyCatchBlockCheck">
<property name="exceptionVariableName" value="expected|ignore"/>
<property name="exceptionVariableName" value="expected|ignored"/>
</module>

<!-- Class Design -->
Expand Down