Ignore:
Timestamp:
2009-12-24T08:48:40+01:00 (14 years ago)
Author:
jttt
Message:

Fix some of the warnings found by FindBugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/XmlObjectParser.java

    r2642 r2676  
    3131 */
    3232public class XmlObjectParser implements Iterable<Object> {
    33     public class PresetParsingException extends SAXException {
     33    public static class PresetParsingException extends SAXException {
    3434        private int columnNumber;
    3535        private int lineNumber;
     
    110110        public void setDocumentLocator(Locator locator) {
    111111            this.locator = locator;
    112         }
    113 
    114         protected void throwException(String msg) throws PresetParsingException{
    115             throw new PresetParsingException(msg).rememberLocation(locator);
    116112        }
    117113
Note: See TracChangeset for help on using the changeset viewer.