Bug 72397 [Dialogs] DialogSettings Javadoc example needs <pre> and </pre> tags
The Javadoc for the class DialogSettings includes an example, but when displayed as HTML is displayed word-wrapped. This example, as with all code examples, should be considered preformatted by the browser. To do this, add a <pre> tag before the example and a </pre> tag after the example.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/DialogSettings.java
document = parser.parse(new InputSource(r));
            
            Node root = document.getFirstChild();
            while (root.getNodeType() == Node.COMMENT_NODE) {
                document.removeChild(root);
                root = document.getFirstChild();
            }
            load(document, (Element) root);
        } catch (ParserConfigurationException e) {
            
        } catch (IOException e) {
            
        } catch (SAXException e) {
            
        }
    }
    /* (non-Javadoc)
     * Method declared on IDialogSettings.
     */
    public void load(String fileName) throws IOException {
        FileInputStream stream = new FileInputStream(fileName);
        BufferedReader reader = new BufferedReader(new InputStreamReader(
                stream, "utf-8"));
        load(reader);
        reader.close();
    }
    /* (non-Javadoc)
     * Load the setting from the <code>document</code>
     */