refs #7121
Change-Id: I3067fa3f80823690301239adba24f3548721a500
static LabelDecorator DECO = new LabelDecorator.Stub() {
@SuppressWarnings("unchecked")
public <F> F decorateFont(F font, String column, int itemIndex) {
static LabelDecorator DECO = new LabelDecorator.Stub() {
@SuppressWarnings("unchecked")
public <F> F decorateFont(F font, String column, int itemIndex) {
- return (F) ((FontDescriptor) font).withStyle(SWT.BOLD);
+ return font != null ? (F) ((FontDescriptor) font).withStyle(SWT.BOLD) : null;