diff --git a/pom.xml b/pom.xml index d0e28776..868d5703 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,7 @@ UTF-8 - 13.6.0 + 13.8.0 3.6.0 21 21 diff --git a/src/test/java/com/puppycrawl/tools/checkstyle/jgit/GitDiffOnOpenSourceTest.java b/src/test/java/com/puppycrawl/tools/checkstyle/jgit/GitDiffOnOpenSourceTest.java index f3f6a9f7..6ada3f30 100644 --- a/src/test/java/com/puppycrawl/tools/checkstyle/jgit/GitDiffOnOpenSourceTest.java +++ b/src/test/java/com/puppycrawl/tools/checkstyle/jgit/GitDiffOnOpenSourceTest.java @@ -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(); @@ -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"); - } }