On Mon, 23 Jun 2025 08:53:16 GMT, Andrey Turbanov <aturba...@openjdk.org> wrote:
> No need to call `List.indexOf(Object)` before `List.remove(int)`. Instead we > can call `List.remove(Object)` directly. It's faster and cleaner. This pull request has now been integrated. Changeset: 20e983a9 Author: Andrey Turbanov <aturba...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/20e983a97c66902c61ee2fa1959a7e612266732b Stats: 5 lines in 1 file changed: 0 ins; 3 del; 2 mod 8360487: Remove unnecessary List.indexOf key from AbstractMidiDevice.TransmitterList.remove Reviewed-by: azvegint, serb, aivanov ------------- PR: https://git.openjdk.org/jdk/pull/25931