Changeset 2995 in josm for trunk


Ignore:
Timestamp:
2010-02-15T21:49:45+01:00 (15 years ago)
Author:
jttt
Message:

Fix #4528: Search for colon-containing keys broken

File:
1 edited

Legend:

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

    r2993 r2995  
    655655                    Range range = tokenizer.readRange();
    656656                    return new TagCountRange((int)range.getStart(), (int)range.getEnd());
    657                 } else if ("nodes".equals("nodes")) {
     657                } else if ("nodes".equals(key)) {
    658658                    Range range = tokenizer.readRange();
    659659                    return new NodeCountRange((int)range.getStart(), (int)range.getEnd());
Note: See TracChangeset for help on using the changeset viewer.