private List<Label> getLabels() {
String[] labelStrings = new String[]{"AutoIssue", report.getReportType()};
ArrayList<Label> labels = new ArrayList<Label>();
for (String labelString: labelStrings) {
if (labelString != null) {
Label label = new Label();
label.setName(labelString);
labels.add(label);
}
}
return labels;
}