Ignore:
Timestamp:
2014-06-15T21:42:56+02:00 (10 years ago)
Author:
donvip
Message:

[josm_graphview] fix #josm10152 - Missing word in string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/graphview/src/org/openstreetmap/josm/plugins/graphview/core/access/ImplicationXMLReader.java

    r30482 r30497  
    3030    boolean tagOpen = false;
    3131
    32     public void startElement(String uri, String localName, String name, Attributes attributes)
    33     throws SAXException {
     32    public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException {
    3433
    3534        switch (state) {
     
    7978        }
    8079
    81         //all vaild paths end with return; reaching this indicates an invalid tag
     80        //all valid paths end with return; reaching this indicates an invalid tag
    8281        throw new SAXException(tr("Invalid opening xml tag <{0}> in state {1}", name, state));
    83 
    84     }
    85 
    86     public void endElement(String uri, String localName, String name)
    87     throws SAXException {
     82    }
     83
     84    public void endElement(String uri, String localName, String name) throws SAXException {
    8885
    8986        switch (state) {
     
    129126                }
    130127                break;
    131 
    132128        }
    133129
    134130        //all vaild paths end with return; reaching this indicates an invalid tag
    135131        throw new SAXException(tr("Invalid closing xml tag </{0}> in state {1}", name, state));
    136 
    137132    }
    138133
     
    140135
    141136        if (state != State.BEFORE_IMPLICATION) {
    142             throw new SAXException(tr("Some tags not been closed; now in state {0}", state));
     137            throw new SAXException(tr("Some tags have not been closed; now in state {0}", state));
    143138        } else {
    144139            return new ArrayList<Implication>(implications);
     
    183178        private ConditionReader currentChildReader = null;
    184179
    185         public void startElement(String uri, String localName, String name, Attributes attributes)
    186         throws SAXException {
     180        public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException {
    187181
    188182            if (finished) {
     
    217211                currentChildReader = new ConditionReader();
    218212                currentChildReader.startElement(uri, localName, name, attributes);
    219 
    220             }
    221 
    222         }
    223 
    224         public void endElement(String uri, String localName, String name)
    225         throws SAXException {
     213            }
     214        }
     215
     216        public void endElement(String uri, String localName, String name) throws SAXException {
    226217
    227218            if (finished) {
     
    273264                    throw new SAXException(tr("Wrong closing tag {0} (</{1}> expected)", name, openingName));
    274265                }
    275 
    276             }
    277 
     266            }
    278267        }
    279268
     
    290279            }
    291280        }
    292 
    293     }
    294 
     281    }
    295282}
Note: See TracChangeset for help on using the changeset viewer.