Skip to content

Commit e621f9f

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: update comments in tests
1 parent 416643c commit e621f9f

File tree

1 file changed

+2
-2
lines changed
  • java/ql/test/query-tests/DoNotCallFinalize

1 file changed

+2
-2
lines changed

java/ql/test/query-tests/DoNotCallFinalize/Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ protected void finalize() throws Throwable {
1717

1818
// Overload of `finalize`
1919
protected void finalize(String s) throws Throwable {
20-
System.out.println(s);
20+
// ...
2121
}
2222

23-
// COMPLIANT: call to overload of `finalize`
2423
void f2() throws Throwable {
24+
// COMPLIANT: call to overload of `finalize`
2525
this.finalize("overload");
2626
}
2727

0 commit comments

Comments
 (0)