[Minor] switched to StringHelper.isNotEmpty()
This commit is contained in:
parent
368f8f14a4
commit
49df0b54da
|
@ -56,7 +56,7 @@ public abstract class AbstractToSaxWriterVisitor {
|
|||
this.writer.writeStartElement(tag);
|
||||
|
||||
this.writer.writeAttribute(Tags.ID, element.getId());
|
||||
if (!StringHelper.isEmpty(element.getName()))
|
||||
if (StringHelper.isNotEmpty(element.getName()))
|
||||
this.writer.writeAttribute(Tags.NAME, element.getName());
|
||||
this.writer.writeAttribute(Tags.TYPE, element.getType());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue