Changeset 8466 in josm for trunk/src/org
- Timestamp:
- 2015-06-04T12:02:09+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
r8461 r8466 482 482 483 483 public KeyValue(String key, String value, boolean regexSearch, boolean caseSensitive) throws ParseError { 484 484 this.caseSensitive = caseSensitive; 485 485 if (regexSearch) { 486 486 int searchFlags = regexFlags(caseSensitive); … … 509 509 this.valuePattern = null; 510 510 } else { 511 this.key = key .toLowerCase(Locale.ENGLISH);511 this.key = key; 512 512 this.value = value; 513 513 this.keyPattern = null; … … 551 551 } else { 552 552 mv = osm.get(key); 553 if(!caseSensitive && mv == null) { 554 for (String k: osm.keySet()) { 555 if(key.equalsIgnoreCase(k)) { 556 mv = osm.get(k); 557 break; 558 } 559 } 560 } 553 561 } 554 562
Note:
See TracChangeset
for help on using the changeset viewer.