Author: koen.aers(a)jboss.com
Date: 2009-04-17 12:31:01 -0400 (Fri, 17 Apr 2009)
New Revision: 14807
Modified:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlSerializer.java
Log:
GPD-310: remove empty transition names
Modified:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlSerializer.java
===================================================================
---
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlSerializer.java 2009-04-17
15:28:10 UTC (rev 14806)
+++
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4/src/org/jboss/tools/flow/jpdl4/editor/JpdlSerializer.java 2009-04-17
16:31:01 UTC (rev 14807)
@@ -205,7 +205,7 @@
protected void appendName(StringBuffer buffer, SequenceFlow sequenceFlow) {
if (sequenceFlow.getName() == null) return;
String value = sequenceFlow.getName();
- if (value == null || "".equals(sequenceFlow)) return;
+ if (value == null || "".equals(sequenceFlow.getName())) return;
buffer.append(" name=\"" + value + "\"");
}
protected void appendTo(StringBuffer buffer, SequenceFlow sequenceFlow) {
Show replies by date