From b3151576448d5fb2c44970531b7971cb153b8164 Mon Sep 17 00:00:00 2001 From: Klaus Reimer Date: Sun, 2 Mar 2014 15:49:50 +0100 Subject: [PATCH] Fix documentation --- src/main/java/org/usb4java/LibUsb.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/usb4java/LibUsb.java b/src/main/java/org/usb4java/LibUsb.java index b7cf7b6..685f72e 100644 --- a/src/main/java/org/usb4java/LibUsb.java +++ b/src/main/java/org/usb4java/LibUsb.java @@ -940,9 +940,9 @@ public final class LibUsb * @param handle * Output location for the returned device handle pointer. Only * populated when the return code is 0. - * @return 0 on success {@link #ERROR_NO_MEM} on memory allocation failure - * {@link #ERROR_ACCESS} if the user has insufficient permissions - * {@link #ERROR_NO_DEVICE} if the device has been disconnected + * @return 0 on success, {@link #ERROR_NO_MEM} on memory allocation failure, + * {@link #ERROR_ACCESS} if the user has insufficient permissions, + * {@link #ERROR_NO_DEVICE} if the device has been disconnected, * another error on other failure */ public static native int open(final Device device, @@ -967,7 +967,7 @@ public final class LibUsb * The idVendor value to search for. * @param productId * The idProduct value to search for. - * @return A handle for the first found device, or NULL on error or if the + * @return A handle for the first found device or NULL on error or if the * device could not be found. */ public static native DeviceHandle openDeviceWithVidPid(