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
if (setting == null)
            throw new NumberFormatException(
                    "There is no setting associated with the key \"" + key + "\"");
        return new Float(setting).floatValue();
    }
    /* (non-Javadoc)
     * Method declared on IDialogSettings.
     */
    public int getInt(String key) throws NumberFormatException {
        String setting = (String) items.get(key);
        if (setting == null) {
            
            
            throw new NumberFormatException(
                    "There is no setting associated with the key \"" + key + "\"");
        }
        return new Integer(setting).intValue();
    }
    /* (non-Javadoc)
     * Method declared on IDialogSettings.
     */
    public long getLong(String key) throws NumberFormatException {
        String setting = (String) items.get(key);
        if (setting == null) {
            
            
            throw new NumberFormatException(
                    "There is no setting associated with the key \"" + key + "\"");
        }
        return new Long(setting).longValue();