commit | 1c4e623f9e8b390fd8e3dc21dbad3afcd2f841db | [log] [tgz] |
---|---|---|
author | Karsten Thoms <karsten.thoms@itemis.de> | Fri Nov 29 14:06:54 2019 +0100 |
committer | Noopur Gupta <noopur_gupta@in.ibm.com> | Thu Jan 02 05:37:53 2020 -0500 |
tree | ec548e6eaf31e01ae5d6c12f549873bc381b1489 | |
parent | 9c21501656143214ca4067825b266602dd64b953 [diff] |
Bug#553608 - Only consider direct parent type for some rules Some rules searched recursively for a TypeDeclaration in the parent hierarchy. This lead to the case that some modifiers were removed from nested fields / methods that should only be removed when they are owned by an interface. When the owner itself is an enum in a nested interface this retrieved the interface declaration when searching for the type, and did not consider that the owner is an enum. Changed to consider only the direct parent of a field/method/enum declaration for rules. Added test case to cover the regression. Change-Id: Ia6cc6de4dc21bf2b9f1b8ea4f7db5229ae4c6099 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Thanks for your interest in this project.
The JDT UI implements the user interface for the Java IDE. This includes views like Package Explorer and JUnit, the Java and properties files editors, Java search, and refactorings. Website: http://www.eclipse.org/jdt/ui/
Contributions to JDT UI are most welcome. There are many ways to contribute, from entering high quality bug reports, to contributing code or documentation changes. For a complete guide, see the [How to Contribute] 1 page on the team wiki.
Information regarding source code management, builds, coding standards, and more.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
Public forum for Eclipse JDT users.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!
Contact the project developers via the project's “dev” list.