try {
principal = CmsPrincipal.readPrincipalIncludingHistory(cms, entry.getPrincipal());
} catch (@SuppressWarnings("unused") CmsException e) {
principal = null;
}
<BUG>m_principalName = (principal != null) ? principal.getName() : entry.getPrincipal().toString();
String ou = null;</BUG>
String displayName;
int flags = 0;
if ((principal != null) && (principal instanceof CmsHistoryPrincipal)) {

try {
principal = CmsPrincipal.readPrincipalIncludingHistory(cms, entry.getPrincipal());
} catch (@SuppressWarnings("unused") CmsException e) {
principal = null;
}
m_principalName = (principal != null) ? principal.getName() : entry.getPrincipal().toString();
@SuppressWarnings("unused")
String ou = null;
String displayName;
int flags = 0;
if ((principal != null) && (principal instanceof CmsHistoryPrincipal)) {
