diff options
author | ashatilov | 2015-01-23 17:21:03 +0000 |
---|---|---|
committer | Alexey Shatilov | 2015-01-28 21:32:05 +0000 |
commit | 2c746f2e30813442dc68638712eae91cde1c8494 (patch) | |
tree | 05b959c02302c6fb0c0c532e2efbe195eb5b1deb | |
parent | 07b47ed64868e2ad8c1f894574e2d09edb391986 (diff) | |
download | org.eclipse.papyrus-2c746f2e30813442dc68638712eae91cde1c8494.tar.gz org.eclipse.papyrus-2c746f2e30813442dc68638712eae91cde1c8494.tar.xz org.eclipse.papyrus-2c746f2e30813442dc68638712eae91cde1c8494.zip |
Bug 336478 - Cannot create guards.
cherry-picked from Ibf0e05523ef93e6d52d2acacf44ef90d6eefa5bf
Change-Id: I2147fa7579c19c1888c7bf8df84f6fdbaecb5e6b
Signed-off-by: ashatilov <montages.as@gmail.com>
-rw-r--r-- | plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/ValueSpecificationUtil.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/ValueSpecificationUtil.java b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/ValueSpecificationUtil.java index a48413eacb5..a533d542e24 100644 --- a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/ValueSpecificationUtil.java +++ b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/ValueSpecificationUtil.java @@ -80,7 +80,7 @@ public class ValueSpecificationUtil { case UMLPackage.EXPRESSION: Expression expr = (Expression) specification; if (!expr.getOperands().isEmpty()) { - StringBuffer operandsBuff = new StringBuffer(expr.getSymbol()); + StringBuffer operandsBuff = new StringBuffer(expr.getSymbol() == null ? "" : expr.getSymbol()); operandsBuff.append("("); int initialLength = operandsBuff.length(); for (ValueSpecification operand : expr.getOperands()) { |