Shorten some class names

This commit is contained in:
Klaus Reimer 2013-04-13 11:44:24 +02:00
parent cac3c42af0
commit e6be7dbb8d
8 changed files with 10 additions and 10 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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);

View File

@ -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;

View File

@ -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