Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Java: update comments in tests
  • Loading branch information
Jami Cogswell authored and Jami Cogswell committed Apr 1, 2025
commit e621f9fd4903d60ca266e87afbd8f9969955bddc
4 changes: 2 additions & 2 deletions java/ql/test/query-tests/DoNotCallFinalize/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ protected void finalize() throws Throwable {

// Overload of `finalize`
protected void finalize(String s) throws Throwable {
System.out.println(s);
// ...
}
Comment thread
owen-mc marked this conversation as resolved.

// COMPLIANT: call to overload of `finalize`
void f2() throws Throwable {
// COMPLIANT: call to overload of `finalize`
this.finalize("overload");
}

Expand Down