| Summary: | Remove all deprecated APIs in Sirius | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Pierre-Charles David <pierre-charles.david> |
| Component: | Core | Assignee: | Pierre-Charles David <pierre-charles.david> |
| Status: | CLOSED FIXED | QA Contact: | Maxime Porhel <maxime.porhel> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cedric.brun, florian.barbin, laurent.redor, maxime.porhel |
| Version: | unspecified | Keywords: | triaged |
| Target Milestone: | 1.0.0M6 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=423406 | ||
| Whiteboard: | |||
|
Description
Pierre-Charles David
Note that the initial description mentions "APIs", but we should not limit ourselves to cleaning up public APIs: while it is less a priority, "internal APIs" shoudl also be cleaned up. All deprecated tags have been removed (some still under review). See these commits for more details: * http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a7a66bc0b60a24f862b73dc41bbd5c095d27d913 * http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=a99b7506fbd222c221eb7fb667421ee9b76966a6 * http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=c4ab02c594517ea6b5802485a478ae7795313934 Pending reviews: * https://git.eclipse.org/r/#/c/19486/ * https://git.eclipse.org/r/#/c/19501/ After that, there will still be 19 matches to "@deprecated" corresponding to static getPackage method of the generated EMF "*FactoryImpl" classes. Pending reviews are done. The corresponding commits are: * http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2fe20261bfb4373d54edd1482d8c7c20a281644c * http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=b30568b550ec5d40abe272847d11a7a1017a2f5f org.eclipse.sirius.business.api.session.SessionManagerListener still is deprecated and already has a replacement with SessionManagerListener2 . We should probably merge both in a single listener. Not that I think this API is the best in the world but it proved to be quite useful and one of the first en encounter from an adopter perspective. Cédric: Indeed, all "@Deprecated" java annotations were missed during the previous iteration. Moving to M6 for the remaining bits. New pending reviews: * https://git.eclipse.org/r/21439 * https://git.eclipse.org/r/21440 * https://git.eclipse.org/r/21441 those reviews concern the merge of SessionManagerListener with SessionManagerListener2: * https://git.eclipse.org/r/21444 * https://git.eclipse.org/r/21449 (In reply to Florian Barbin from comment #7) > New pending reviews: > > * https://git.eclipse.org/r/21439 > * https://git.eclipse.org/r/21440 > * https://git.eclipse.org/r/21441 > > those reviews concern the merge of SessionManagerListener with > SessionManagerListener2: > > * https://git.eclipse.org/r/21444 > * https://git.eclipse.org/r/21449 The release note is not yet updated. Two more gerrit reviews: * https://git.eclipse.org/r/21496 * https://git.eclipse.org/r/21502 After this work, it will remain all the "@deprecated" into the generated code. All the remaining deprecated code is in some way or another linked to the metamodel(s) definitions, and they will all be treated in that context (see bug 427247). This includes https://git.eclipse.org/r/22858 mentioned above, which was abandoned in the scope of this ticket. Verified as technical issue on 1.0.0-N20140306-1631 nightly build. Available in Sirius 1.0.0M6 (see https://wiki.eclipse.org/Sirius/1.0.0M6). |