| Summary: | @Basic should not be added to attributes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Shaun Smith <shaun.smith> | ||||
| Component: | Diagram Editor | Assignee: | Petya Sabeva <petya.sabeva> | ||||
| Status: | CLOSED FIXED | QA Contact: | Stefan Dimov <stefan.dimov> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | karenfbutzke, neil.hauge, petya.sabeva | ||||
| Version: | 0.5 | Keywords: | plan | ||||
| Target Milestone: | 3.3 M2 | Flags: | stefan.dimov:
review+
|
||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 325531 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Shaun Smith
Created attachment 195221 [details]
patch
The bug is not a big deal, but also is the fix. This one stayed open for a long time and now it has a fix. The bug does not need workaround because it's about creating a new basic attribute without the redundant @Basic annotation. The fix is trivial - just a string parameter changed from "@Basic" to "". I've reviewed it and I think it's ok. I've tested it manually. The risk is low. I don't think I can make a case for this as an important bug fix for RC1 since it is more of an issue of preference, although I would suspect most would prefer to not insert the basic annotation into the code. I will leave this targeted to 3.1 for now. If someone would like to argue for inclusion into RC1, please do so here so it can be documented for PMC review. (In reply to comment #3) Just one note: > ... although I would suspect most would > prefer to not insert the basic annotation into the code That's exactly what the fix is about. With it, when a new attribute is created the @Basic annotation is NOT being inserted into the code ... The 3.2 target now represents the Juno release. Retargeting this bug to the Kepler realease (3.3). The Basic annotation is removed with the following git commit: http://git.eclipse.org/c/dali/webtools.dali.git/commit/?id=387e840daab9cab568e723283ceda994db8c9b58 The change still needs to be released. Changes are released... |