Re: Remove unnecessary method call in PriorityBlockingQueue

2023-05-24 Thread David Holmes
lf of Aleksei Ivanov *Sent:* Wednesday, 24 May 2023 20:03 *To:* Robin Gong ; core-libs *Subject:* Re: Remove unnecessary method call in PriorityBlockingQueue Hi Robin, This belongs in core-libs. On 24/05/2023 16:50, Robin Gong wrote: Hi, Recently, I found this construct

Re: Remove unnecessary method call in PriorityBlockingQueue

2023-05-24 Thread Roger Riggs
, Viktor Klang wrote: Sounds very reasonable. *From:* core-libs-dev on behalf of Aleksei Ivanov *Sent:* Wednesday, 24 May 2023 20:03 *To:* Robin Gong ; core-libs *Subject:* Re: Remove unnecessary method call in

Re: Remove unnecessary method call in PriorityBlockingQueue

2023-05-24 Thread Viktor Klang
Sounds very reasonable. From: core-libs-dev on behalf of Aleksei Ivanov Sent: Wednesday, 24 May 2023 20:03 To: Robin Gong ; core-libs Subject: Re: Remove unnecessary method call in PriorityBlockingQueue Hi Robin, This belongs in core-libs. On 24/05/2023 16

Re: Remove unnecessary method call in PriorityBlockingQueue

2023-05-24 Thread Aleksei Ivanov
Hi Robin, This belongs in core-libs. On 24/05/2023 16:50, Robin Gong wrote: Hi, Recently, I found this constructor in PriorityBlockingQueue:   public PriorityBlockingQueue(int initialCapacity,                                  Comparator comparator) {         if (initialCapacity <