Changeset 12494 in josm for trunk/src/org/openstreetmap/josm/gui/io/ChangesetCellRenderer.java
- Timestamp:
- 2017-07-22T22:41:19+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/ChangesetCellRenderer.java
r11878 r12494 43 43 DateUtils.formatDateTime(createdDate, DateFormat.SHORT, DateFormat.SHORT)).append("<br>"); 44 44 } 45 String comment = cs.get ("comment");46 if ( comment != null) {45 String comment = cs.getComment(); 46 if (!comment.isEmpty()) { 47 47 sb.append("<strong>").append(tr("Changeset comment:")).append("</strong>") 48 48 .append(Utils.escapeReservedCharactersHTML(comment)).append("<br>"); … … 64 64 setIcon(icon); 65 65 StringBuilder sb = new StringBuilder(); 66 String comment = cs.get ("comment");67 if ( comment != null) {66 String comment = cs.getComment(); 67 if (!comment.isEmpty()) { 68 68 sb.append(cs.getId()).append(" - ").append(comment); 69 69 } else if (cs.get("name") != null) {
Note:
See TracChangeset
for help on using the changeset viewer.