Mark LabelTypes maps volatile

Change-Id: Iab5114517985ee53a2af096aebd8222a001a37d3
This commit is contained in:
Dave Borowitz
2014-01-15 12:06:18 -08:00
parent 5986e45470
commit c0a056c518

View File

@@ -25,8 +25,8 @@ import java.util.Map;
public class LabelTypes {
protected List<LabelType> labelTypes;
private transient Map<String, LabelType> byLabel;
private transient Map<String, Integer> positions;
private transient volatile Map<String, LabelType> byLabel;
private transient volatile Map<String, Integer> positions;
protected LabelTypes() {
}