commit | fc332c282505e453fff08ed74cbb4bc0b4a3db02 | [log] [tgz] |
---|---|---|
author | Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> | Sat Apr 17 19:02:01 2021 +0200 |
committer | Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> | Sun Apr 18 06:01:11 2021 -0400 |
tree | f1f7717327e2e3394d3345bbfd73eba3190ec2e8 | |
parent | f0c98a2928eb5912fea3394f2247ff299634c0bf [diff] |
Bug 572932 - [quickfix] Create foreach expression var as array Enhance the creation of variable when the variable is the expression on which a foreach loop iterates. Given: for (int number : numbers) { ^^^^^^^ } When: Selecting "Create a local variable" Actual: Object numbers; for (int number : numbers) { } Expected: int[] numbers; for (int number : numbers) { } Also fix test method name typo. Change-Id: Ic61e45c2c34a7dc45c58f6c3562e06d1509b6272 Signed-off-by: Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/179459
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.