Shorten some class names
This commit is contained in:
parent
cac3c42af0
commit
e6be7dbb8d
@ -62,7 +62,7 @@ abstract class AbstractDevice implements UsbDevice
|
||||
new HashMap<Byte, Configuration>();
|
||||
|
||||
/** The USB device listener list. */
|
||||
private final UsbDeviceListenerList listeners = new UsbDeviceListenerList();
|
||||
private final DeviceListenerList listeners = new DeviceListenerList();
|
||||
|
||||
/** The device handle. Null if not open. */
|
||||
private DeviceHandle handle;
|
||||
|
||||
@ -25,7 +25,7 @@ import de.ailis.usb4java.libusb.LibUsbException;
|
||||
final class ControlIrpQueue extends AbstractIrpQueue<UsbControlIrp>
|
||||
{
|
||||
/** The USB device listener list. */
|
||||
private final UsbDeviceListenerList listeners;
|
||||
private final DeviceListenerList listeners;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
@ -36,7 +36,7 @@ final class ControlIrpQueue extends AbstractIrpQueue<UsbControlIrp>
|
||||
* The USB device listener list.
|
||||
*/
|
||||
ControlIrpQueue(final AbstractDevice device,
|
||||
final UsbDeviceListenerList listeners)
|
||||
final DeviceListenerList listeners)
|
||||
{
|
||||
super(device);
|
||||
this.listeners = listeners;
|
||||
|
||||
@ -15,7 +15,7 @@ import javax.usb.event.UsbDeviceListener;
|
||||
*
|
||||
* @author Klaus Reimer (k@ailis.de)
|
||||
*/
|
||||
final class UsbDeviceListenerList extends
|
||||
final class DeviceListenerList extends
|
||||
EventListenerList<UsbDeviceListener> implements UsbDeviceListener
|
||||
{
|
||||
@Override
|
||||
@ -35,7 +35,7 @@ final class Pipe implements UsbPipe
|
||||
private final Endpoint endpoint;
|
||||
|
||||
/** The USB pipe listeners. */
|
||||
private final UsbPipeListenerList listeners = new UsbPipeListenerList();
|
||||
private final PipeListenerList listeners = new PipeListenerList();
|
||||
|
||||
/** If pipe is open or not. */
|
||||
private boolean opened;
|
||||
|
||||
@ -14,7 +14,7 @@ import javax.usb.event.UsbPipeListener;
|
||||
*
|
||||
* @author Klaus Reimer (k@ailis.de)
|
||||
*/
|
||||
final class UsbPipeListenerList extends
|
||||
final class PipeListenerList extends
|
||||
EventListenerList<UsbPipeListener> implements UsbPipeListener
|
||||
{
|
||||
@Override
|
||||
@ -61,7 +61,7 @@ final class RootHub implements UsbHub,
|
||||
(byte) 1);
|
||||
|
||||
/** The device listeners. */
|
||||
private final UsbDeviceListenerList listeners = new UsbDeviceListenerList();
|
||||
private final DeviceListenerList listeners = new DeviceListenerList();
|
||||
|
||||
/** The hub ports. */
|
||||
private final Ports ports = new Ports(this);
|
||||
|
||||
@ -33,8 +33,8 @@ public final class Services implements UsbServices
|
||||
private static final String API_VERSION = "1.0.2";
|
||||
|
||||
/** The USB services listeners. */
|
||||
private final UsbServicesListenerList listeners =
|
||||
new UsbServicesListenerList();
|
||||
private final ServicesListenerList listeners =
|
||||
new ServicesListenerList();
|
||||
|
||||
/** The virtual USB root hub. */
|
||||
private final RootHub rootHub;
|
||||
|
||||
@ -13,7 +13,7 @@ import javax.usb.event.UsbServicesListener;
|
||||
*
|
||||
* @author Klaus Reimer (k@ailis.de)
|
||||
*/
|
||||
final class UsbServicesListenerList extends
|
||||
final class ServicesListenerList extends
|
||||
EventListenerList<UsbServicesListener> implements UsbServicesListener
|
||||
{
|
||||
@Override
|
||||
Loading…
Reference in New Issue
Block a user