Fix wrong logic in isBusy

This commit is contained in:
Klaus Reimer 2013-02-20 17:43:31 +01:00
parent c2fb86f1d8
commit 62f79e31ae

View File

@ -170,7 +170,7 @@ public abstract class AbstractIrpQueue<T extends UsbIrp>
{
synchronized (this.irps)
{
return this.irps.isEmpty() || this.processor != null;
return !this.irps.isEmpty() || this.processor != null;
}
}