On Tue, 24 Aug 2021 10:24:35 GMT, Pavel Rappo <[email protected]> wrote:

>> Since we are here, is there any langtools convention for when to collapse a 
>> span of single-import declarations into an import-on-demand (.*) declaration?
>
> Fixed in a7cd155.

> Since we are here, is there any langtools convention for when to collapse a 
> span of single-import declarations into an import-on-demand (.*) declaration?

langtools does not use import-on-demand, and it is practice e to expand them to 
single imports if any creep into the code.   Also, imports are ordered with 
Java SE (`java.*` `javax.*`) imports first, before others.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4795

Reply via email to