Bug 161848 [JFace] Javadoc quality in org.eclipse.jface
As Tod announced on the platform-ui mailing list he wants to set the compiler settings to stricter mode so to ensure the javadoc quality. Because the weather was so lousy in Austria today I tried it and took the effort (~2 hours). I'll attach the patches package wise. This is a starting point.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/StatusLine.java
}
        return message.substring(0, len);
    }
    /**
     * Updates the message label widget.
     */
    protected void updateMessageLabel() {
        if (fMessageLabel != null && !fMessageLabel.isDisposed()) {
            Display display = fMessageLabel.getDisplay();
            if ((fErrorText != null && fErrorText.length() > 0)
                    || fErrorImage != null) {
                fMessageLabel.setForeground(JFaceColors.getErrorText(display));
                fMessageLabel.setText(fErrorText);
                fMessageLabel.setImage(fErrorImage);
            } else {
                fMessageLabel.setForeground(display
                        .getSystemColor(SWT.COLOR_WIDGET_FOREGROUND));
                fMessageLabel.setText(fMessageText == null ? "" : fMessageText); 
                fMessageLabel.setImage(fMessageImage);
            }
        }
    }
    /**
     * @see IProgressMonitor#worked(int)
     */
    public void worked(int work) {
        internalWorked(work);
    }
}