You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An OperationRequiredRole is mapped to a constructor containing an assignment. If an OperationRequiredRole is removed from a component (e.g. moved to another component) and no other Pcm model elements are mapped to parts of the constructor, a empty constructor remains. We expect Pcm2Java reactions to remove constructors that contain no statements.
#243 adds a unit test which shows that behaviour (OperationRequiredRoleMappingTransformationTest.testChangeOperationRequiredRole). Currently the empty constructor is asserted by the unit test
The text was updated successfully, but these errors were encountered:
JanWittler
added
Java
Related to Java Applications or Java Domain
PCM
Related to PCM Applications or PCM Domain
labels
Nov 4, 2022
An OperationRequiredRole is mapped to a constructor containing an assignment. If an OperationRequiredRole is removed from a component (e.g. moved to another component) and no other Pcm model elements are mapped to parts of the constructor, a empty constructor remains. We expect Pcm2Java reactions to remove constructors that contain no statements.
#243 adds a unit test which shows that behaviour (OperationRequiredRoleMappingTransformationTest.testChangeOperationRequiredRole). Currently the empty constructor is asserted by the unit test
The text was updated successfully, but these errors were encountered: