Fix #2811
This commit is contained in:
parent
4ffe7650f0
commit
9816a5daf0
1 changed files with 6 additions and 4 deletions
|
@ -178,10 +178,12 @@ public class OpenstreetmapRemoteUtil implements OpenstreetmapUtil {
|
|||
ser.startTag(null, "osm"); //$NON-NLS-1$
|
||||
ser.startTag(null, "changeset"); //$NON-NLS-1$
|
||||
|
||||
ser.startTag(null, "tag"); //$NON-NLS-1$
|
||||
ser.attribute(null, "k", "comment"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
ser.attribute(null, "v", comment); //$NON-NLS-1$
|
||||
ser.endTag(null, "tag"); //$NON-NLS-1$
|
||||
if(comment != null) {
|
||||
ser.startTag(null, "tag"); //$NON-NLS-1$
|
||||
ser.attribute(null, "k", "comment"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
ser.attribute(null, "v", comment); //$NON-NLS-1$
|
||||
ser.endTag(null, "tag"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
ser.startTag(null, "tag"); //$NON-NLS-1$
|
||||
ser.attribute(null, "k", "created_by"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
|
|
Loading…
Reference in a new issue