- modify OrganizeImportsOperation.addStaticImports() method to
get the primary to pass to JavaModelUtil.getStaticImportFavorites()
because it can discard the working copy being used by importRewrite
- add new CleanUp test which has a break to label and for loop to modify
Change-Id: Ia63980bf3038c86c4ea0af4bcd4e446c057102e7
Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/182016
Tested-by: JDT Bot <jdt-bot@eclipse.org>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
Reviewed-by: Lars Vogel <Lars.Vogel@vogella.com>
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>