From c4f302d9e513c1ecbdcd45157f7c0fa81b663044 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 29 May 2017 13:22:25 +0100 Subject: [PATCH] KCR33: builder: ReadmeWriterTest: outputProperties: make local Fixes #33 --- .../kemitix/checkstyle/ruleset/builder/ReadmeWriterTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/builder/src/test/java/net/kemitix/checkstyle/ruleset/builder/ReadmeWriterTest.java b/builder/src/test/java/net/kemitix/checkstyle/ruleset/builder/ReadmeWriterTest.java index bc45598..fa8612f 100644 --- a/builder/src/test/java/net/kemitix/checkstyle/ruleset/builder/ReadmeWriterTest.java +++ b/builder/src/test/java/net/kemitix/checkstyle/ruleset/builder/ReadmeWriterTest.java @@ -27,8 +27,6 @@ public class ReadmeWriterTest { private TemplateProperties templateProperties; - private OutputProperties outputProperties; - private RulesProperties rulesProperties; @Mock @@ -59,7 +57,7 @@ public class ReadmeWriterTest { templateProperties = new TemplateProperties(); templateProperties.setReadmeTemplate(template); templateProperties.setReadmeFragments(fragments); - outputProperties = new OutputProperties(); + final OutputProperties outputProperties = new OutputProperties(); outputProperties.setReadme(readme); rulesProperties = new RulesProperties(); readmeWriter =