On Thu, 4 Aug 2022 21:32:04 GMT, Bradford Wetmore <wetm...@openjdk.org> wrote:
>> IJ complains about unnecessary imports and asks If I want to let it >> automatically optimize them. I always answer "yes". I'll fix as you suggest. > > The default setup wants to put the sun.* imports above the java.*. The > default order is defined in "Import Layout": > > > all other imports > <blank line> > import javax.* > import java.* > <blank line> > import static all other imports > > > I have mine set to: > > > import java.* > import javax.* > <blank line> > all other imports > <blank line> > import static all other imports I changed my IJ defaults. Thanks for the suggestion. ------------- PR: https://git.openjdk.org/jdk/pull/9664