Skip to content

Commit

Permalink
Only document how to suppress Finalize once
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 539629303
  • Loading branch information
cushon authored and Error Prone Team committed Jun 12, 2023
1 parent 03dc338 commit 5f5c31d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import javax.lang.model.element.Modifier;

/** A {@link BugChecker}; see the associated {@link BugPattern} annotation for details. */
@BugPattern(summary = "Do not override finalize", severity = WARNING)
@BugPattern(summary = "Do not override finalize", severity = WARNING, documentSuppression = false)
public class Finalize extends BugChecker implements MethodTreeMatcher {

@Override
Expand Down

0 comments on commit 5f5c31d

Please sign in to comment.