Changeset 10965 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint
- Timestamp:
- 2016-09-05T23:50:16+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ConditionFactory.java
r10940 r10965 803 803 804 804 protected static Method getMethod(String id) { 805 id = id.replaceAll("-|_", "");805 String cleanId = id.replaceAll("-|_", ""); 806 806 for (Method method : PseudoClasses.class.getDeclaredMethods()) { 807 807 // for backwards compatibility, consider :sameTags == :same-tags == :same_tags (#11150) 808 808 final String methodName = method.getName().replaceAll("-|_", ""); 809 if (methodName.equalsIgnoreCase( id)) {809 if (methodName.equalsIgnoreCase(cleanId)) { 810 810 return method; 811 811 }
Note:
See TracChangeset
for help on using the changeset viewer.