Stephan Schroevers
2023-01-11 19:12:39 +01:00
committed by GitHub
parent f079c53914
commit 79356ac553
5 changed files with 12 additions and 4 deletions

View File

@@ -161,6 +161,7 @@ public final class Refaster extends BugChecker implements CompilationUnitTreeMat
* that could cause {@link VisitorState#reportMatch(Description)}} to override the reported
* severity).
*/
@SuppressWarnings("RestrictedApiChecker" /* We create a heavily customized `Description` here. */)
private static Description augmentDescription(
Description description, Optional<SeverityLevel> severityOverride) {
return Description.builder(