return keys.toArray(new String[keys.size()]);
}
public static String[] getLabels(String formNavigatorId, Locale locale) {
List<String> labels = new ArrayList<>();
List<FormNavigatorCategory> formNavigatorCategories =
<BUG>getFormNavigatorCategories(formNavigatorId);
for (FormNavigatorCategory formNavigatorCategory :</BUG>
formNavigatorCategories) {
String label = formNavigatorCategory.getLabel(locale);
if (Validator.isNotNull(label)) {

return keys.toArray(new String[keys.size()]);
}
public static String[] getLabels(String formNavigatorId, Locale locale) {
List<String> labels = new ArrayList<>();
List<FormNavigatorCategory> formNavigatorCategories =
getFormNavigatorCategories(formNavigatorId);
if (ListUtil.isEmpty(formNavigatorCategories)) {
return new String[] {""};
}
for (FormNavigatorCategory formNavigatorCategory :
formNavigatorCategories) {
String label = formNavigatorCategory.getLabel(locale);
if (Validator.isNotNull(label)) {
