commit | dc0ea9671cf07383c1acb383525756d89a5f54e5 | [log] [tgz] |
---|---|---|
author | Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> | Fri Mar 19 18:30:38 2021 +0100 |
committer | Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> | Mon Mar 29 08:59:30 2021 -0400 |
tree | 7d1e665d17ea2a4e67c857232917e2cc6d41ca4a | |
parent | 5ec4e18468ed482946e67b568f93907288403d1e [diff] |
Bug 572122 - [cleanup & saveaction] Extends "Merge conditions of if/else if/else that have the same blocks" to inner if "Merge conditions of if/else if/else that have the same blocks" cleanup should handle another case. Given: if (isActive) { if (isValid) { int i = 0; } else { System.out.println("Duplicate code"); } } else { System.out.println("Duplicate code"); } When: Running "Merge conditions of if/else if/else that have the same blocks" cleanup Then: if (isActive && isValid) { int i = 0; } else { System.out.println("Duplicate code"); } Change-Id: Iffdee1d8298eccfac05034db27561d4b9e841337 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.