mirror of https://github.com/rusefi/usb4java.git
Fix typos
This commit is contained in:
parent
a68a6f33c3
commit
b0ef2ea313
|
@ -3,5 +3,6 @@ target
|
|||
.classpath
|
||||
.project
|
||||
.idea
|
||||
.vscode
|
||||
*.iml
|
||||
hs_err_*.log
|
||||
|
|
|
@ -11,6 +11,6 @@ libusb4java-*.jar (The native libraries for the various platforms)
|
|||
commons-lang3-*.jar (Apache Commons Lang library needed by usb4java)
|
||||
|
||||
If you don't want usb4java to extract the native libraries into a temporary
|
||||
directoy on each program start then you might want to distribute them in
|
||||
directory on each program start then you might want to distribute them in
|
||||
extracted form with your application. Just make sure your classpath points
|
||||
to the directory where you extracted the JARs.
|
||||
|
|
|
@ -35,8 +35,7 @@ public final class DescriptorUtils
|
|||
CLASS_NAMES.put(LibUsb.CLASS_SMART_CARD, "Smart Card");
|
||||
CLASS_NAMES.put(LibUsb.CLASS_CONTENT_SECURITY, "Content Security");
|
||||
CLASS_NAMES.put(LibUsb.CLASS_VIDEO, "Video");
|
||||
CLASS_NAMES.put(LibUsb.CLASS_PERSONAL_HEALTHCARE,
|
||||
"Personal Healthcare");
|
||||
CLASS_NAMES.put(LibUsb.CLASS_PERSONAL_HEALTHCARE, "Personal Healthcare");
|
||||
CLASS_NAMES.put(LibUsb.CLASS_DIAGNOSTIC_DEVICE, "Diagnostic Device");
|
||||
CLASS_NAMES.put(LibUsb.CLASS_WIRELESS, "Wireless");
|
||||
CLASS_NAMES.put(LibUsb.CLASS_APPLICATION, "Application");
|
||||
|
@ -137,7 +136,7 @@ public final class DescriptorUtils
|
|||
* @param product
|
||||
* The product string or null if unknown.
|
||||
* @param serial
|
||||
* The serial number strsing or null if unknown.
|
||||
* The serial number string or null if unknown.
|
||||
* @return The descriptor dump.
|
||||
*/
|
||||
public static String dump(final DeviceDescriptor descriptor,
|
||||
|
|
|
@ -63,7 +63,7 @@ public final class DeviceDescriptor
|
|||
/**
|
||||
* Returns the Java byte buffer which contains the descriptor structure.
|
||||
*
|
||||
* @return The descriptor structur buffer.
|
||||
* @return The descriptor structure buffer.
|
||||
*/
|
||||
public ByteBuffer getBuffer()
|
||||
{
|
||||
|
|
|
@ -82,7 +82,7 @@ public class DeviceListIteratorTest
|
|||
* a {@link NoSuchElementException} when accessing elements after the end
|
||||
*/
|
||||
@Test(expected = NoSuchElementException.class)
|
||||
public void testNextAfterend()
|
||||
public void testNextAfterEnd()
|
||||
{
|
||||
assumeUsbTestsEnabled();
|
||||
while (this.iterator.hasNext()) {
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.usb4java.LibUsb;
|
|||
*/
|
||||
public class LibUsbDeviceTest
|
||||
{
|
||||
/** The libusb contxet. */
|
||||
/** The libusb context. */
|
||||
private Context context;
|
||||
|
||||
/** The device to run the tests on. */
|
||||
|
@ -785,7 +785,7 @@ public class LibUsbDeviceTest
|
|||
}
|
||||
|
||||
/**
|
||||
* Validates the specified endpoint desriptor.
|
||||
* Validates the specified endpoint descriptor.
|
||||
*
|
||||
* @param desc
|
||||
* The endpoint descriptor to validate.
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.usb4java.LibUsb;
|
|||
*/
|
||||
public class LibUsbGlobalTest
|
||||
{
|
||||
/** The libusb contxet. */
|
||||
/** The libusb context. */
|
||||
private Context context;
|
||||
|
||||
/**
|
||||
|
@ -63,6 +63,7 @@ public class LibUsbGlobalTest
|
|||
* Tests the {@link LibUsb#setDebug(Context, int)} method.
|
||||
*/
|
||||
@Test
|
||||
@Deprecated
|
||||
public void testSetDebug()
|
||||
{
|
||||
assumeUsbTestsEnabled();
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.junit.Test;
|
|||
*/
|
||||
public class LibUsbHotplugTest
|
||||
{
|
||||
/** The libusb contxet. */
|
||||
/** The libusb context. */
|
||||
private Context context;
|
||||
|
||||
/**
|
||||
|
@ -95,7 +95,7 @@ public class LibUsbHotplugTest
|
|||
}
|
||||
|
||||
/**
|
||||
* Ensures that no hotplug event is fired when enumeration is deactived.
|
||||
* Ensures that no hotplug event is fired when enumeration is deactivated.
|
||||
* When no devices are connected then this test is pretty much useless but
|
||||
* won't fail because of that.
|
||||
*/
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.usb4java.Transfer;
|
|||
*/
|
||||
public class TransferTest
|
||||
{
|
||||
/** The libusb contxet. */
|
||||
/** The libusb context. */
|
||||
private Context context;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue