diff --git a/news/4.32/images/decl-with-assignment-after.png b/news/4.32/images/decl-with-assignment-after.png new file mode 100644 index 00000000..363fe89a Binary files /dev/null and b/news/4.32/images/decl-with-assignment-after.png differ diff --git a/news/4.32/images/decl-with-assignment-combined.png b/news/4.32/images/decl-with-assignment-combined.png new file mode 100644 index 00000000..4a5f6bc5 Binary files /dev/null and b/news/4.32/images/decl-with-assignment-combined.png differ diff --git a/news/4.32/jdt.html b/news/4.32/jdt.html index 9e57e6a6..9655614a 100644 --- a/news/4.32/jdt.html +++ b/news/4.32/jdt.html @@ -90,6 +90,17 @@

Java Editor

after changing to String.format

+ + Combine declaration and assignment + + + The Remove overridden assignment cleanup found in the Unnecessary Code tab of the clean-up configuration dialog has been enhanced to combine a variable declaration that is immediately followed by assignment into a declaration with assignment. +

For example, the following:

+

declaration with assignment immediately after

+

will be transformed into:

+

declaration with assignment combined

+ +