Changeset 12548 in josm
- Timestamp:
- 2017-07-31T23:30:52+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/template_engine/TemplateParserTest.java
r11974 r12548 107 107 return null; 108 108 } else { 109 if ("name".equals(name)) 109 switch (name) { 110 case "name": 110 111 return "waypointName"; 111 else if ("number".equals(name))112 case "number": 112 113 return 10; 113 else if ("special:key".equals(name))114 case "special:key": 114 115 return "specialKey"; 115 else116 default: 116 117 return null; 118 } 117 119 } 118 120 }
Note:
See TracChangeset
for help on using the changeset viewer.