Skip to content

Commit 0380279

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: update qhelp implementation notes for more clarity
1 parent 05d7b9a commit 0380279

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/ql/src/Violations of Best Practice/Undesirable Calls/DoNotCallFinalize.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ void main() {
4848

4949
# Implementation Notes
5050

51-
This rule ignores `super.finalize()` calls that occur within `finalize()` overrides since calling the superclass finalizer is required when overriding `finalize()`. Also, although overriding `finalize()` is not recommended, this rule only alerts on direct calls to `finalize()` and does not alert on overrides of `finalize()`.
52-
51+
This rule ignores `super.finalize()` calls that occur within `finalize()` overrides since calling the superclass finalizer is required when overriding `finalize()`. Also, although overriding `finalize()` is not recommended, this rule only alerts on direct calls to `finalize()` and does not alert on method overrides of `finalize()`.
5352

5453
## References
5554

0 commit comments

Comments
 (0)