Changeset 12335 in josm


Ignore:
Timestamp:
2017-06-08T00:05:17+02:00 (12 months ago)
Author:
michael2402
Message:

SearchAction: Remove unused DescriptionTextBuilder, it was replaced by SearchKeywordRow a long time ago.

File:
1 edited

Legend:

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

    r12334 r12335  
    197197        } else {
    198198            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         @Override
    219         public String toString() {
    220             return s.toString();
    221199        }
    222200    }
Note: See TracChangeset for help on using the changeset viewer.