Bug 177787 Incorrect Javadoc in org.eclipse.jface.preference.PreferenceNode
The javadoc for the field classname in PreferenceNode states: /** * Name of class that implements <code>IPreferenceNode</code>, or * <code>null</code> if none. */ The class name stored in this variable actually implements IPreferencePage as used in createPage(): page = (IPreferencePage) createObject(classname);
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceNode.java
}
    /*
     * (non-Javadoc) Method declared on IPreferenceNode.
     */
    public IPreferenceNode remove(String id) {
        IPreferenceNode node = findSubNode(id);
        if (node != null) {
			remove(node);
		}
        return node;
    }
    /*
     * (non-Javadoc) Method declared on IPreferenceNode.
     */
    public boolean remove(IPreferenceNode node) {
        if (subNodes == null) {
			return false;
		}
        return subNodes.remove(node);
    }
    /**
     * Set the current page to be newPage.
     * 
     * @param newPage
     */
    public void setPage(IPreferencePage newPage) {
        page = newPage;
    }
}