Minor but almost all code in uPortal and portlets I recall have spaces around if statements and before and after braces. It would be nice if this contribution matched that style, especially because that's common in this portlet; e.g.
try {
    if (condition) {
    } else {
    }
} catch (Exception e) {
}