RFR: 8273507: Convert test/jdk/java/nio/channels/Channels/TransferTo.java to TestNG test [v4]

Markus KARG github.com+1701815+mkarg at openjdk.java.net
Fri Oct 1 15:45:08 UTC 2021


On Fri, 1 Oct 2021 15:02:58 GMT, Markus KARG <github.com+1701815+mkarg at openjdk.org> wrote:

>> test/jdk/java/nio/channels/Channels/TransferTo.java line 28:
>> 
>>> 26: import static org.testng.Assert.assertEquals;
>>> 27: import static org.testng.Assert.assertThrows;
>>> 28: import static org.testng.Assert.assertTrue;
>> 
>> Static imports in tests are usually grouped by convention after regular imports.
>
> I assume this is a OpenJDK convention? Because all IDEs I used so far sorted them *before* regular imports. I will fix that.

Done by https://github.com/openjdk/jdk/pull/5421/commits/3301a86d4381d1d12a57cbbe57010f58cafef084.

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

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


More information about the nio-dev mailing list