Skip to content

I20190808-1800

@styken styken tagged this 08 Aug 20:04
- Add quick fix to initialize final field at declaration
- Add quick fix to initialize final field in constructor (if present)
- Add JUnit test

Fields are initialized to default values; 0 for primitives, "" for
strings and for other types; if default constructors is available a
constructor call will be made, otherwise it will be set to null.

Change-Id: Ibe4b48adffc839a5cab545f802710bd1f5161122
Signed-off-by: Kenneth Styrberg <kenneth@kean.nu>
Assets 2
Loading