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
Result result = new StreamResult(writer);
            Source source = new DOMSource(document);
            Transformer transformer = TransformerFactory.newInstance()
                    .newTransformer();
            transformer.setOutputProperty(OutputKeys.METHOD, "xml");             
            transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8"); 
            transformer.transform(source, result);
        } catch (TransformerConfigurationException e) {
            throw (IOException) (new IOException().initCause(e));
        } catch (TransformerException e) {
            throw (IOException) (new IOException().initCause(e));
        } catch (ParserConfigurationException e) {
            throw (IOException) (new IOException().initCause(e));
        }
    }
    /* (non-Javadoc)
     * Method declared on IDialogSettings.
     */
    public void save(String fileName) throws IOException {
        FileOutputStream stream = new FileOutputStream(fileName);
        OutputStreamWriter writer = new OutputStreamWriter(stream, "utf-8");
        save(writer);
        writer.close();
    }
    /* (non-Javadoc)
     * Save the settings in the <code>document</code>.
     */
    private void save(Document document, Node parent) {
        Element root = document.createElement(TAG_SECTION);
        parent.appendChild(root);