commit | 3a5ac3a051328007586bd11bac67419fc60c65fc | [log] [tgz] |
---|---|---|
author | Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> | Fri Mar 19 18:56:35 2021 +0100 |
committer | Fabrice Tiercelin <fabrice.tiercelin@yahoo.fr> | Sat Mar 20 07:05:53 2021 +0100 |
tree | eea387b7bd3847fd110a73827458022ca35e226d | |
parent | 0a0c6587c97e397c01838ce79ff2c800cdb5bcb1 [diff] |
Bug 571977 - [AutoRefactor immigration #64/151] [cleanup & saveaction] Initialize array with curly Replace the new instance syntax by curly brackets to create an array when possible: - It must be an initialization of a declaration, - The declaration must have the same type. Given: double[] doubleArray = new double[] { 0.0 }; int[][] intArray = new int[][] { { 42 } }; When: Clean up the code enabling "Create array with curly when possible" Then: double[] doubleArray = { 0.0 }; int[][] intArray = { { 42 } }; Change-Id: I303fa771248ade0a37551bdf6d432bdf0b3eacf7 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.