Bug 510166 - [EVM] rule specification should allow jobs for activation states from different Enums
Summary: [EVM] rule specification should allow jobs for activation states from differe...
Status: RESOLVED FIXED
Alias: None
Product: Viatra
Classification: Modeling
Component: Transformation (show other bugs)
Version: 1.6.0   Edit
Hardware: PC Windows NT
: P3 normal
Target Milestone: 1.6.0M1   Edit
Assignee: Abel Hegedus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-10 04:25 EST by Abel Hegedus CLA
Modified: 2017-01-10 05:32 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abel Hegedus CLA 2017-01-10 04:25:20 EST
RuleSpecification uses a TreeSet to collect enabled activation states, but since different class of Enums cannot be compared, the set cannot contain literals from different classes. Since there is no need for ordering, it can be safely changed to HashSet.
Comment 1 Eclipse Genie CLA 2017-01-10 04:26:49 EST
New Gerrit change created: https://git.eclipse.org/r/88334