diff --git a/src/main/java/de/ailis/usb4java/libusb/DeviceHandle.java b/src/main/java/de/ailis/usb4java/libusb/DeviceHandle.java index 36fe745..0ce4430 100644 --- a/src/main/java/de/ailis/usb4java/libusb/DeviceHandle.java +++ b/src/main/java/de/ailis/usb4java/libusb/DeviceHandle.java @@ -61,7 +61,7 @@ public final class DeviceHandle if (this == obj) return true; if (obj == null || getClass() != obj.getClass()) return false; final DeviceHandle other = (DeviceHandle) obj; - return this.handlePointer != other.handlePointer; + return this.handlePointer == other.handlePointer; } @Override