Several RI classes used to override equals(); UsbDeviceImp, UsbConfigurationImp, UsbInterfaceImp, UsbEndpointImp, and all the *DescriptorImps. This was throwing a NPE in certain situations - specifically (at least) if a device had multiple interface settings. Anyway, for the deviceImp/config/etc classes, it's not really appropriate I think; the Object.equals() is really what should be used, since devices (and their parts) correspond to physical things, so even if they look the same they aren't. The Descriptors, though, I think should be equal if logically equal - just like Strings are equal. Let me knwo if anyone has comments.
-- Dan Streetman [EMAIL PROTECTED] --------------------- 186,272 miles per second: It isn't just a good idea, it's the law! ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ javax-usb-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/javax-usb-devel