Community
Participate
Working Groups
Looking at https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/171078 it would be nice to have a clean-up which combines declaration and assignment of a local variable if both happen in two lines: ----- Before: BuildCommand result; result = (BuildCommand) super.clone(); After: BuildCommand result = (BuildCommand) super.clone(); ------ IMHO this improves readability.
Fabrice, sounds like committers think the "Remove overridden assignment" should combine declaration and assignment if possible. Do you agree? In this case, I adjust this bug report.
Yes, when possible.
(In reply to Fabrice Tiercelin from comment #2) > Yes, when possible. Could you investiage for M2? This would affect and improve a lot of code in platform and would require again a lot of version number increates if we would have to wait for 4.21.
Thomas, is that something you could work on? This blocks the application of "Remove overridden assignment" in the Eclipse code base.
(In reply to Lars Vogel from comment #4) > Thomas, is that something you could work on? This blocks the application of > "Remove overridden assignment" in the Eclipse code base. Jeff, is that something for you? This could clean-up a lot of code in platform once available.
T.b.h, I don't see that as much of a code smell. Still a useful cleanup, but at the moment, I'd like to focus on getting the number of open changes down before moving to Github.
(In reply to Thomas M??der from comment #6) > T.b.h, I don't see that as much of a code smell. Still a useful cleanup, but > at the moment, I'd like to focus on getting the number of open changes down > before moving to Github. Thanks for the reply. Cleaning up the JDT review queue is a very important task, thanks for doing this.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
This has been moved to: https://github.com/eclipse-jdt/eclipse.jdt.ui/issues/1330 and fixed for 4.32 M2.