Changeset 12335 in josm
- Timestamp:
- 2017-06-08T00:05:17+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java
r12334 r12335 197 197 } else { 198 198 searchWithoutHistory((SearchSetting) parameters.get(SEARCH_EXPRESSION)); 199 }200 }201 202 private static class DescriptionTextBuilder {203 204 private final StringBuilder s = new StringBuilder(4096);205 206 public StringBuilder append(String string) {207 return s.append(string);208 }209 210 StringBuilder appendItem(String item) {211 return append("<li>").append(item).append("</li>\n");212 }213 214 StringBuilder appendItemHeader(String itemHeader) {215 return append("<li class=\"header\">").append(itemHeader).append("</li>\n");216 }217 218 @Override219 public String toString() {220 return s.toString();221 199 } 222 200 }
Note:
See TracChangeset
for help on using the changeset viewer.