Skip to content
Permalink
Browse files
Don't commit empty values (case of no name)
  • Loading branch information
Fabien Carrion committed Feb 11, 2012
1 parent c9c2d49 commit a4b4c8a
Showing 1 changed file with 1 addition and 0 deletions.
@@ -287,6 +287,7 @@ private void writeNode(Node n, EntityInfo i, XmlSerializer ser, long changeSetId

for(String k : n.getTagKeySet()){
String val = n.getTag(k);
if (val.length() == 0) continue;
ser.startTag(null, "tag"); //$NON-NLS-1$
ser.attribute(null, "k", k); //$NON-NLS-1$
ser.attribute(null, "v", val); //$NON-NLS-1$

0 comments on commit a4b4c8a

Please sign in to comment.