From 643f91b1ab9d2a568dd90630552a3e75bf8a14e3 Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sun, 22 Sep 2024 17:23:00 -0400 Subject: [PATCH] [checkstyle] Mark fields private --- src/test/java/au/com/acegi/xmlformat/FormatUtilTest.java | 2 +- src/test/java/au/com/acegi/xmlformat/XmlCheckPluginTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/au/com/acegi/xmlformat/FormatUtilTest.java b/src/test/java/au/com/acegi/xmlformat/FormatUtilTest.java index 625c8ad..53c7d21 100644 --- a/src/test/java/au/com/acegi/xmlformat/FormatUtilTest.java +++ b/src/test/java/au/com/acegi/xmlformat/FormatUtilTest.java @@ -46,7 +46,7 @@ public final class FormatUtilTest { private static final String UNFORMATTED_XML = " "; @TempDir - public File tmp; + private File tmp; @Test public void formattedWillNotChange() throws DocumentException, IOException { diff --git a/src/test/java/au/com/acegi/xmlformat/XmlCheckPluginTest.java b/src/test/java/au/com/acegi/xmlformat/XmlCheckPluginTest.java index a7a157b..caaad7c 100644 --- a/src/test/java/au/com/acegi/xmlformat/XmlCheckPluginTest.java +++ b/src/test/java/au/com/acegi/xmlformat/XmlCheckPluginTest.java @@ -56,7 +56,7 @@ public class XmlCheckPluginTest { private static final String TO_CHG_TXT = " "; @TempDir - public File tmp; + private File tmp; @SuppressWarnings("PMD.ProperLogger") private Log log;