Skip to content

Commit 789258a

Browse files
Add @SuppressWarnings("resource") in TreeTester
1 parent 5e79b14 commit 789258a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2007 Henri Sivonen
3+
* Copyright (c) 2020 Mozilla Foundation
34
*
45
* Permission is hereby granted, free of charge, to any person obtaining a
56
* copy of this software and associated documentation files (the "Software"),
@@ -67,6 +68,7 @@ private void runTests(String filename) throws Throwable {
6768
}
6869
}
6970

71+
@SuppressWarnings("resource")
7072
private boolean runTest() throws Throwable {
7173
UntilHashInputStream stream = null;
7274
try {

0 commit comments

Comments
 (0)