Skip to content

Commit c135d2e

Browse files
sideshowbarkerhsivonen
authored andcommitted
Add @SuppressWarnings("resource") in test harness
1 parent ac4e89c commit c135d2e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test-src/nu/validator/htmlparser/test/EncodingTester.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ private void runTests() throws IOException, SAXException {
5353
}
5454
}
5555

56+
@SuppressWarnings("resource")
5657
private boolean runTest() throws IOException, SAXException {
5758
if (skipLabel()) {
5859
return false;

test-src/nu/validator/htmlparser/test/TreeTester.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ private void runTests() throws Throwable {
6060
}
6161
}
6262

63+
@SuppressWarnings("resource")
6364
private boolean runTest() throws Throwable {
6465
UntilHashInputStream stream = null;
6566
try {

0 commit comments

Comments
 (0)