fix #433 : add volatile

This commit is contained in:
Shinsuke Sugaya 2016-03-16 06:16:50 +09:00
parent 200d0453a8
commit a020a19cf9
3 changed files with 6 additions and 6 deletions

View file

@ -82,9 +82,9 @@ public class DataConfig extends BsDataConfig implements CrawlingConfig {
private Map<String, String> handlerScriptMap;
private List<LabelType> labelTypeList;
private volatile List<LabelType> labelTypeList;
private List<RoleType> roleTypeList;
private volatile List<RoleType> roleTypeList;
public DataConfig() {
super();

View file

@ -57,9 +57,9 @@ public class FileConfig extends BsFileConfig implements CrawlingConfig {
protected volatile Map<ConfigName, Map<String, String>> configParameterMap;
private List<LabelType> labelTypeList;
private volatile List<LabelType> labelTypeList;
private List<RoleType> roleTypeList;
private volatile List<RoleType> roleTypeList;
public FileConfig() {
super();

View file

@ -57,9 +57,9 @@ public class WebConfig extends BsWebConfig implements CrawlingConfig {
protected volatile Map<ConfigName, Map<String, String>> configParameterMap;
private List<LabelType> labelTypeList;
private volatile List<LabelType> labelTypeList;
private List<RoleType> roleTypeList;
private volatile List<RoleType> roleTypeList;
public WebConfig() {
super();