So when I use the Ctrl+Shift+O shortcut to organize my Java imports it puts a space between packages that begin with a different root package. For example:
import java.util.Map;
import java.util.Set;
import work.enumeration.Generation;
This is incompatible with Google's checkstyle and I would like to fix this. I have tried going to Window > Preferences > Java > Code Style > Formatter > Edit > Blank Lines > Blank lines within compilation unit > Between import groups and setting it to 0, but this has not fixed the Organize Imports action.
So I'm wondering how I go about resolving this. I would also like to set up Organize Imports to put a line between static and regular imports.