commit | 73ce0e4f38effe2aa2a7d3cd95e2f8e87ae8001e | [log] [tgz] |
---|---|---|
author | Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> | Sat Nov 21 19:36:12 2020 +0100 |
committer | Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> | Sat Jan 23 13:28:19 2021 +0100 |
tree | d614c1c30ea22f49d313c7de582dd2ae5ac7a040 | |
parent | de3a08ee1db35d3f63cfc1d145d5f308f147cf00 [diff] |
Bug 568822 - Expressions with two repeated operands should not be refactored Let be the following case: (X && Y) || (!X && !Y) If you run both "Ternary operator" and "Use '^' or '==' on booleans" rules, you don't know if you will get this: (X ? Y : !Y) ...or this: X == Y ...because both rules match the same code. They are in conflict and the result is a random result. So we should disable the matching for "Ternary operator" rule because the result is worse. Change-Id: I84a2e436060942998a9d1d1677129acc28a16a9d Signed-off-by: Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr>
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.