Source:
public String getColumnText(Object element, XViewerColumn cCol, int columnIndex) { String toReturn; try { if (!(element instanceof Change)) { toReturn = ""; } else { Change data = (Change) element; if (cCol.equals(HistoryXViewerFactory.transaction)) { toReturn = String.valueOf(data.getTxDelta().getEndTx().getId()); } else if (cCol.equals(HistoryXViewerFactory.gamma)) { toReturn = String.valueOf(data.getGamma()); } else if (cCol.equals(HistoryXViewerFactory.itemType)) { if (data instanceof ArtifactChange && data.getChangeArtifact() == null) { toReturn = "Artifact Does Exist In This Transaction"; } else { toReturn = data instanceof RelationChange ? data.getName() : data.getItemTypeName(); } } else if (cCol.equals(HistoryXViewerFactory.itemChange)) { toReturn = data.getItemKind(); } else if (cCol.equals(HistoryXViewerFactory.modType)) { toReturn = data.getModificationType().getDisplayName(); } else if (cCol.equals(HistoryXViewerFactory.itemId)) { toReturn = String.valueOf(data.getItemId()); } else if (cCol.equals(HistoryXViewerFactory.was)) { toReturn = data.getWasValue(); } else if (cCol.equals(HistoryXViewerFactory.is)) { toReturn = data.getIsValue(); } else if (cCol.equals(HistoryXViewerFactory.timeStamp)) { toReturn = new SimpleDateFormat("MM/dd/yyyy hh:mm:ss a").format(data.getTxDelta().getEndTx().getTimeStamp()); } else if (cCol.equals(HistoryXViewerFactory.author)) { toReturn = UserManager.getUserNameById(data.getTxDelta().getEndTx().getAuthor()); } else if (cCol.equals(HistoryXViewerFactory.comment)) { toReturn = data.getTxDelta().getEndTx().getComment(); } else { toReturn = "unhandled column"; } } } catch (Exception ex) { toReturn = XViewerCells.getCellExceptionString(ex); } return toReturn; }

Target:
public String getColumnText(Object element, XViewerColumn cCol, int columnIndex) { String toReturn = ""; try { if ((element instanceof Change)) { Change data = (Change) element; if (cCol.equals(HistoryXViewerFactory.transaction)) { toReturn = String.valueOf(data.getTxDelta().getEndTx().getId()); } else if (cCol.equals(HistoryXViewerFactory.gamma)) { toReturn = String.valueOf(data.getGamma()); } else if (cCol.equals(HistoryXViewerFactory.itemType)) { if (data instanceof ArtifactChange && data.getChangeArtifact() == null) { toReturn = "Artifact Does Exist In This Transaction"; } else { toReturn = data instanceof RelationChange ? data.getName() : data.getItemTypeName(); } } else if (cCol.equals(HistoryXViewerFactory.itemChange)) { toReturn = data.getItemKind(); } else if (cCol.equals(HistoryXViewerFactory.modType)) { toReturn = data.getModificationType().getDisplayName(); } else if (cCol.equals(HistoryXViewerFactory.itemId)) { toReturn = String.valueOf(data.getItemId()); } else if (cCol.equals(HistoryXViewerFactory.was)) { toReturn = data.getWasValue(); } else if (cCol.equals(HistoryXViewerFactory.is)) { toReturn = data.getIsValue(); } else if (cCol.equals(HistoryXViewerFactory.timeStamp)) { toReturn = new SimpleDateFormat("MM/dd/yyyy hh:mm:ss a").format(data.getTxDelta().getEndTx().getTimeStamp()); } else if (cCol.equals(HistoryXViewerFactory.author)) { toReturn = UserManager.getUserNameById(data.getTxDelta().getEndTx().getAuthor()); } else if (cCol.equals(HistoryXViewerFactory.comment)) { toReturn = data.getTxDelta().getEndTx().getComment(); } else { toReturn = "unhandled column"; } } } catch (Exception ex) { toReturn = XViewerCells.getCellExceptionString(ex); } return toReturn; }