| Summary: | [EMF Compare] please move algorithmic classes from internal to visible packages | ||
|---|---|---|---|
| Product: | [Modeling] EMFCompare | Reporter: | Christian Schneider <christian.schneider> |
| Component: | Core | Assignee: | EMF Compare <emf.compare-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | christian.schneider, laurent.goubet |
| Version: | 1.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Christian Schneider
I meant 'algorithmic' stuff, not only arithmetic ;-) Unfortunately, the similarity metrics that EMF Compare computes are not something we want provided as public API. You can already override GenericMatchEngine#prepareChecker() in order to use your own similarity checks, though we forbid overrides of the generic implementations. What we could do on this notice is to enhance visibility from restricted (compilation error) to discouraged (compilation warning) of these classes (content of the org.eclipse.emf.compare.match.engine.internal package). We would thus still discourage their referencing and extending (which means : we reserve the right to break this "API" at any time without prior notice), but you'd be allowed by the compiler to override and reference them (with a "discouraged access" warning). Would that be sufficient for your use case? All of our "internal" packages are exported as x-internal, making them "discourage" instead of "restricted". |