}
}
private void loadLabelData(String path) {
String dataName = DataRepository.createDataName(path, LABELS_DATA_NAME);
ListData list = ListData.asListData(data.getSimpleValue(dataName));
if (list == null || list.size() == 0)
return;
maybeListenForDataChanges(dataName);
String currentLabel = null;
String currentMilestone = null;
for (int i = 0; i < list.size(); i++) {
String item = StringUtils.asString(list.get(i));
if (item == null || item.length() == 0) {
continue;
} else if (NO_LABEL.equals(item) || LABEL_PREFIX.equals(item)) {
currentLabel = currentMilestone = null;