builder:RulesProperties: initialise rules list
This commit is contained in:
parent
abb8e8e5c0
commit
ab0a95e395
1 changed files with 2 additions and 1 deletions
|
@ -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<>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue