Bug 121727 [Viewers] ContentViewer.getLabelProvider javadoc is wrong
Original javadoc: Returns the label provider used by this viewer. <p> The <code>ContentViewer</code> implementation of this method returns the label provider recorded in an internal state variable; if none has been set (with <code>setLabelProvider</code>) a <code>SimpleLabelProvider</code>... Corrected javadoc: Returns the label provider used by this viewer. <p> The <code>ContentViewer</code> implementation of this method returns the label provider recorded in an internal state variable; if none has been set (with <code>setLabelProvider</code>) a <code>LabelProvider</code>... Note the change from <code>SimpleLabelProvider</code> to <code>LabelProvider</code>.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ContentViewer.java
* This viewer's label provider listener.
     * Note: Having a viewer register a label provider listener with
     * a label provider avoids having to define public methods
     * for internal events.
     */
    private final ILabelProviderListener labelProviderListener = new ILabelProviderListener() {
        public void labelProviderChanged(LabelProviderChangedEvent event) {
            ContentViewer.this.handleLabelProviderChanged(event);
        }
    };
    /**
     * Creates a content viewer with no input, no content provider, and a
     * default label provider.
     */
    protected ContentViewer() {
    }
    /**
     * Returns the content provider used by this viewer, 
     * or <code>null</code> if this view does not yet have a content
     * provider.
     * <p>
     * The <code>ContentViewer</code> implementation of this method returns the content
     * provider recorded is an internal state variable. 
     * Overriding this method is generally not required; 
     * however, if overriding in a subclass, 
     * <code>super.getContentProvider</code> must be invoked.
     * </p>
     *
     * @return the content provider, or <code>null</code> if none
     */