Mark LabelTypes maps volatile
Change-Id: Iab5114517985ee53a2af096aebd8222a001a37d3
This commit is contained in:
@@ -25,8 +25,8 @@ import java.util.Map;
|
|||||||
|
|
||||||
public class LabelTypes {
|
public class LabelTypes {
|
||||||
protected List<LabelType> labelTypes;
|
protected List<LabelType> labelTypes;
|
||||||
private transient Map<String, LabelType> byLabel;
|
private transient volatile Map<String, LabelType> byLabel;
|
||||||
private transient Map<String, Integer> positions;
|
private transient volatile Map<String, Integer> positions;
|
||||||
|
|
||||||
protected LabelTypes() {
|
protected LabelTypes() {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user