Skip to content

I20220113-1800

@jjohnstn jjohnstn tagged this 13 Jan 03:52
- fix RemoveUnusedMemberOperation.removeVariableWithInitializer() in
  UnusedCodeFixCore to check if right-hand is a field access in which
  case remove the field accesses so a valid expression statement
  can be created
- add new test to CleanUpTest

Change-Id: I25ca80e8b3a952ff21ace9303717966f070fdbd0
Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/189578
Tested-by: JDT Bot <jdt-bot@eclipse.org>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Assets 2
Loading