Ignore:
Timestamp:
2014-12-25T21:52:53+01:00 (8 years ago)
Author:
Don-vip
Message:

fix #10801 - presets reading: checkgroup in chunk leads to checks added multiple times

File:
1 edited

Legend:

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

    r7248 r7889  
    271271    }
    272272
     273    /**
     274     * Starts parsing from the given input reader, without validation.
     275     * @param in The input reader
     276     * @return iterable collection of objects
     277     * @throws SAXException if any XML or I/O error occurs
     278     */
    273279    public Iterable<Object> start(final Reader in) throws SAXException {
    274280        try {
     
    279285    }
    280286
     287    /**
     288     * Starts parsing from the given input reader, with XSD validation.
     289     * @param in The input reader
     290     * @param namespace default namespace
     291     * @param schemaSource XSD schema
     292     * @return iterable collection of objects
     293     * @throws SAXException if any XML or I/O error occurs
     294     */
    281295    public Iterable<Object> startWithValidation(final Reader in, String namespace, String schemaSource) throws SAXException {
    282296        SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
Note: See TracChangeset for help on using the changeset viewer.