ApprovalType t = types.byId(a.getCategoryId());
if (t == null) {
continue;
}
StructureTerm labelTerm = new StructureTerm(
sym_label,
SymbolTerm.intern(t.getCategory().getLabelName()),
new IntegerTerm(a.getValue()));
StructureTerm userTerm = new StructureTerm(
sym_user,
new IntegerTerm(a.getAccountId().get()));
listHead = new ListTerm(
new StructureTerm(sym_commit_label, labelTerm, userTerm),
listHead);
}
} catch (OrmException err) {
throw new JavaException(this, 1, err);
}