Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e34cc42

Browse files
committed
fix a mistake
1 parent 7fcf392 commit e34cc42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/ql/test/query-tests/CloseResource/CloseWriter/CloseWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ void test3() throws IOException {
2828
try {
2929
// OutputStreamWriter may throw an exception, in which case the ...
3030
writer = new OutputStreamWriter(
31-
// ... FileOutputStream is notne closed by the finally block
31+
// ... FileOutputStream is not closed by the finally block
3232
new FileOutputStream("C:\\test.txt"), "UTF-8");
3333
writer.write("test");
3434
}

0 commit comments

Comments
 (0)