fix Inconsistent synchronization

This commit is contained in:
matsutani 2016-05-09 15:29:47 +09:00
parent d6dd5f92ee
commit 4dadbb5a23
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ public class ElevateWord extends BsElevateWord {
private String[] labelTypeIds;
private List<LabelType> labelTypeList;
private volatile List<LabelType> labelTypeList;
/* (non-Javadoc)
* @see org.codelibs.fess.db.exentity.CrawlingConfig#getLabelTypeIds()

View file

@ -36,7 +36,7 @@ public class LabelType extends BsLabelType {
private static final long serialVersionUID = 1L;
private String[] roleTypeIds;
private List<RoleType> roleTypeList;
private volatile List<RoleType> roleTypeList;
public String[] getRoleTypeIds() {
if (roleTypeIds == null) {