Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<checkstyle.version>13.6.0</checkstyle.version>
<checkstyle.version>13.8.0</checkstyle.version>
<maven.checkstyle.plugin.version>3.6.0</maven.checkstyle.plugin.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ private void shouldRejectLine(SuppressionPatchFilter filter, int lineNo, String
"Audit event should be rejected when there are no matching patch filters");
}

private static SuppressionPatchFilter
createSuppressionPatchFilter(String fileName) throws Exception {
return createSuppressionPatchFilter(fileName, "patchedline");
}

private static SuppressionPatchFilter
createSuppressionPatchFilter(String fileName, String strategy) throws Exception {
final SuppressionPatchFilter suppressionPatchFilter = new SuppressionPatchFilter();
Expand All @@ -99,9 +104,4 @@ private void shouldRejectLine(SuppressionPatchFilter filter, int lineNo, String
suppressionPatchFilter.finishLocalSetup();
return suppressionPatchFilter;
}

private static SuppressionPatchFilter
createSuppressionPatchFilter(String fileName) throws Exception {
return createSuppressionPatchFilter(fileName, "patchedline");
}
}
Loading