You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Emperor <Da...@gmx.net> on 2002/02/27 17:10:30 UTC
bug in excalibur.event.AbstractQueue?
The bug is in AbstractQueue.isFull(). Current impl:
/**
* Default for isFull()
*/
public boolean isFull()
{
return maxSize() - size() > 0;
}
But correct is:
/**
* Default for isFull()
*/
public boolean isFull()
{
return size() - maxSize() > 0;
}
I don't know if I have the newest version. Anyway I submitted the file.