builder:RulesProperties: initialise rules list

This commit is contained in:
Paul Campbell 2017-01-06 21:56:37 +00:00
parent abb8e8e5c0
commit ab0a95e395

View file

@ -30,6 +30,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
@ -47,5 +48,5 @@ class RulesProperties {
/** /**
* The Checkstyle checks. * The Checkstyle checks.
*/ */
private List<Rule> rules; private List<Rule> rules = new ArrayList<>();
} }