Skip to content

Commit 8a63517

Browse files
committed
Use interface as field type.
1 parent 95a4127 commit 8a63517

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/usb4java/javax/AbstractDevice.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import java.util.HashSet;
1515
import java.util.List;
1616
import java.util.Map;
17+
import java.util.Set;
1718

1819
import javax.usb.UsbClaimException;
1920
import javax.usb.UsbConst;
@@ -70,7 +71,7 @@ abstract class AbstractDevice implements UsbDevice
7071
private byte activeConfigurationNumber = 0;
7172

7273
/** The numbers of the currently claimed interface. */
73-
private HashSet<Byte> claimedInterfaceNumbers = new HashSet<Byte>();
74+
private Set<Byte> claimedInterfaceNumbers = new HashSet<Byte>();
7475

7576
/** The port this device is connected to. */
7677
private UsbPort port;

0 commit comments

Comments
 (0)