checkstyle/checkstyle — pull request #164 by vlsi (2014-06-30 22:45:38+00:00)
Title: Add PrintDesiredOrder option to ImportOrderCheck

This mode is ready to use for copy and paste for correction of import order after "Organize Imports" disaster.

I am always having hard time figuring out what checkstyle's `Wrong order for '{0}' import` errors are.
From my perspective, it would be better if checkstyle just printed the ideal import order that can be just copied to the source.

Here I add such an option: `PrintDesiredOrder` makes `ImportOrderCheck` print the desired import order if there are violations.
Individual errors can be disabled via `BlameIndividualImports=false`.

By default, old mode is used. I guess a switch to `BlameIndividualImports=false PrintDesiredOrder=true` by default requires major release.