| Summary: | Duplicate (different) values for some ModelProviders | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Carl Anderson <ccc> | ||||
| Component: | jst.j2ee | Assignee: | Kaloyan Raev <kaloyan> | ||||
| Status: | CLOSED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | major | ||||||
| Priority: | P3 | ||||||
| Version: | 3.0 | ||||||
| Target Milestone: | 3.0 M5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 205330 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Carl Anderson
Created attachment 87726 [details]
Delete the duplicate properties
Please review this change (and look through the rest of 205330 to make sure you didn't do the same in any other ModelProvider).
Carl, thank you for the notice. I have kept the properties in the INewServletClassDataModelProperties as deprecated just for the backward compatibility. But it seems that I have still to learn about backward compatibility of final static fields. As you recommended I have removed the properties from the INewServletClassDataModelProperties and now they are only in the INewWebClassDataModelProperties super interface. I have also changed the values of the properties back to their old state: NewServletClassDataModel.DISPLAY_NAME and so on. I have also run the failing testAddServlet JUnit locally on my system. The changes are released to HEAD with timestamp v200801241418. They should appear with the build after the one which is running at the moment. The previously failing JUnits now work, and the code looks acceptable. Closing |