Skip to content

Commit c830a5f

Browse files
committed
ST6RI-894 Added implied typing when ConstructorExpression result added.
Updated checkConstructorExpressionResultSpecialization in ConstructorExpressionAdapter.
1 parent 698f4ff commit c830a5f

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

org.omg.sysml/src/org/omg/sysml/adapter/ConstructorExpressionAdapter.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ public ConstructorExpression getTarget() {
4040

4141
// Transformation
4242

43+
/**
44+
* @satisifies checkConstructorExpressionResultSpecialization
45+
*/
4346
protected void addResultTyping() {
44-
// checkConstructorExpressionResultSpecialization
4547
ConstructorExpression target = getTarget();
4648
Type instantiatedType = target.getInstantiatedType();
4749
if (instantiatedType != null) {
@@ -59,11 +61,6 @@ protected void addResultTyping() {
5961
@Override
6062
public void addAdditionalMembers() {
6163
TypeUtil.addResultParameterTo(getTarget());
62-
}
63-
64-
@Override
65-
public void doTransform() {
66-
super.doTransform();
6764
addResultTyping();
6865
}
6966

0 commit comments

Comments
 (0)