Skip to content

Commit

Permalink
fix registration of MatchEngineFactories
Browse files Browse the repository at this point in the history
  • Loading branch information
h4uges committed May 22, 2023
1 parent f224f35 commit cda0c8f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ abstract class AbstractStateBasedChangeResolutionStrategy implements StateBasedC

private def buildEMFCompare() {
val usedMatchEngineFactoryRegistry = MatchEngineFactoryRegistryImpl.createStandaloneInstance()
getMatchEngineFactories.forEach[it | it.ranking = 20]
getMatchEngineFactories.forEach[it | usedMatchEngineFactoryRegistry.add(it)]
getMatchEngineFactories.forEach[it |
it.ranking = 20
usedMatchEngineFactoryRegistry.add(it)
]

val usedPostProcessorRegistry = new PostProcessorDescriptorRegistryImpl()
getPostProcessors.forEach[it | usedPostProcessorRegistry.put(it.getInstanceClassName, it)]
Expand Down

0 comments on commit cda0c8f

Please sign in to comment.