From 701b64e2c6eaebd0132bdf4d68872ebeb25e54aa Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 29 May 2017 13:27:24 +0100 Subject: [PATCH] builder: ReadmeWriterTest: templateProperties: make local variable --- .../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 df3b34f..51ad769 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 @@ -25,8 +25,6 @@ public class ReadmeWriterTest { private ReadmeWriter readmeWriter; - private TemplateProperties templateProperties; - private RulesProperties rulesProperties; @Mock @@ -46,7 +44,7 @@ public class ReadmeWriterTest { final Path template = folder.newFile("README-template.md") .toPath(); Files.write(template, Arrays.asList("i:%s", "ce:%s", "se:%s", "cd:%s", "sd:%s")); - templateProperties = new TemplateProperties(); + final TemplateProperties templateProperties = new TemplateProperties(); templateProperties.setReadmeTemplate(template); final Path fragments = folder.newFolder("fragments") .toPath();