Skip to content

Commit

Permalink
Fix #367 Simplify call operation label in activity diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
mbats committed Apr 17, 2014
1 parent b0d7078 commit 0434221
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,11 @@ public String caseDataStoreNode(DataStoreNode object) {
@Override
public String caseCallOperationAction(CallOperationAction object) {
if (object.getOperation() != null) {
String callOperationName = caseNamedElement(object);
String operationName = object.getOperation().getName();
if (callOperationName != null && callOperationName.equals(operationName)) {
return callOperationName;
}
return caseNamedElement(object) + SPACED_COLUMN + object.getOperation().getName();
}

Expand Down

0 comments on commit 0434221

Please sign in to comment.