From 1486460f86715843faf2dbe46f9360df61967e4e Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Tue, 17 Jan 2023 14:02:44 +0100 Subject: [PATCH] Fix pmd dogfood - AbstractAntTestHelper.AntBuildListener should be final --- .../java/net/sourceforge/pmd/ant/AbstractAntTestHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmd-test/src/main/java/net/sourceforge/pmd/ant/AbstractAntTestHelper.java b/pmd-test/src/main/java/net/sourceforge/pmd/ant/AbstractAntTestHelper.java index 58455b3c4a..10e2304e4b 100644 --- a/pmd-test/src/main/java/net/sourceforge/pmd/ant/AbstractAntTestHelper.java +++ b/pmd-test/src/main/java/net/sourceforge/pmd/ant/AbstractAntTestHelper.java @@ -180,7 +180,7 @@ public abstract class AbstractAntTestHelper { return result.replace(System.lineSeparator(), "\n"); } - private class AntBuildListener extends DefaultLogger { + private final class AntBuildListener extends DefaultLogger { private AntBuildListener() { msgOutputLevel = Project.MSG_INFO; }