Changeset 328 in josm for trunk/src


Ignore:
Timestamp:
2007-09-24T00:13:40+02:00 (14 years ago)
Author:
framm
Message:
  • fix #259 by trimming whitespace in XML parser

--Ths line, and those below, will be ignored--

M src/org/openstreetmap/josm/tools/XmlObjectParser.java

File:
1 edited

Legend:

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

    r319 r328  
    7070                                report();
    7171                        else if (characters != null && !current.isEmpty()) {
    72                                 setValue(qname, characters);
     72                                setValue(qname, characters.trim());
    7373                                characters = "";
    7474                        }
Note: See TracChangeset for help on using the changeset viewer.