RFR: 8360487: Remove unnecessary List.indexOf key from AbstractMidiDevice.TransmitterList.remove
Alexander Zvegintsev
azvegint at openjdk.org
Wed Jun 25 14:37:27 UTC 2025
On Mon, 23 Jun 2025 08:53:16 GMT, Andrey Turbanov <aturbanov at 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.
Marked as reviewed by azvegint (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/25931#pullrequestreview-2958464430
More information about the client-libs-dev
mailing list