Code cleanups

This commit is contained in:
Klaus Reimer 2013-04-12 21:41:33 +02:00
parent d0f7070fd7
commit 93c1078268
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ public abstract class AbstractIrpQueue<T extends UsbIrp>
// Get next IRP and mark the thread as closing before sending the
// events for the previous IRP
T nextIrp = this.irps.poll();
final T nextIrp = this.irps.poll();
if (nextIrp == null) this.processor = null;
// Finish the previous IRP

View File

@ -108,7 +108,7 @@ public final class Usb4JavaHub extends Usb4JavaDevice implements UsbHub,
if (this == obj) return true;
if (obj == null) return false;
if (getClass() != obj.getClass()) return false;
Usb4JavaDevice other = (Usb4JavaDevice) obj;
final Usb4JavaDevice other = (Usb4JavaDevice) obj;
return getId().equals(other.getId());
}
}