huangyiming created KAFKA-7707:
----------------------------------
Summary: Some code is not necessary
Key: KAFKA-7707
URL: https://issues.apache.org/jira/browse/KAFKA-7707
Project: Kafka
Issue Type: Improvement
Reporter: huangyiming
Attachments: image-2018-12-05-18-01-46-886.png
!image-2018-12-05-18-01-46-886.png!
in the trunk branch,i think the code can clean,is not necessary,it will never
execute
{code:java}
if (!(this.nonPooledAvailableMemory == 0 && this.free.isEmpty()) &&
!this.waiters.isEmpty())
this.waiters.peekFirst().signal();
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)