Changeset 17523 in josm for trunk/src/org
- Timestamp:
- 2021-02-22T12:27:24+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/UploadDialog.java
r17521 r17523 342 342 /** 343 343 * Returns the given comment with appended hashtags from dataset changeset tags, if not already present. 344 * @param comment changeset comment 344 * @param comment changeset comment. Can be null 345 345 * @param dataSet optional dataset, which can contain hashtags in its changeset tags 346 346 * @return comment with dataset changesets tags, if any, not duplicated 347 347 */ 348 privatestatic String getCommentWithDataSetHashTag(String comment, DataSet dataSet) {349 StringBuilder result = new StringBuilder(comment);348 static String getCommentWithDataSetHashTag(String comment, DataSet dataSet) { 349 StringBuilder result = comment == null ? new StringBuilder() : new StringBuilder(comment); 350 350 if (dataSet != null) { 351 351 String hashtags = dataSet.getChangeSetTags().get("hashtags");
Note:
See TracChangeset
for help on using the changeset viewer.