Changeset 5038 in josm for trunk/src


Ignore:
Timestamp:
2012-03-04T18:19:43+01:00 (8 years ago)
Author:
simon04
Message:

fix #7459 - fix 'timestamp:' search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java

    r4817 r5038  
    141141                String[] rangeA = rangeS.split("/");
    142142                if (rangeA.length == 1)
    143                     return new KeyValue(keyword, rangeS, regexSearch, caseSensitive);
     143                    return new KeyValue(keyword, rangeS.trim(), regexSearch, caseSensitive);
    144144                else if (rangeA.length == 2) {
    145145                    String rangeA1 = rangeA[0].trim();
Note: See TracChangeset for help on using the changeset viewer.