From de0751f9b2c2797033c31c777f183fbc783465ec Mon Sep 17 00:00:00 2001 From: schlaepfer Date: Mon, 8 May 2006 12:23:20 +0000 Subject: [PATCH] - private constructor added (makes it impossible to create an instance) - javadoc return statement updated git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@145 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c --- java/src/ch/ntb/usb/LibusbWin.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/java/src/ch/ntb/usb/LibusbWin.java b/java/src/ch/ntb/usb/LibusbWin.java index 2acee76..82e84cd 100644 --- a/java/src/ch/ntb/usb/LibusbWin.java +++ b/java/src/ch/ntb/usb/LibusbWin.java @@ -16,6 +16,9 @@ package ch.ntb.usb; */ public class LibusbWin { + private LibusbWin() { + } + // Core /** * Just like the name implies, usb_init sets up some internal @@ -70,7 +73,7 @@ public class LibusbWin { * * @param dev_handle * The handle to the device. - * @return + * @return 0 on success or < 0 on error. */ public static native int usb_close(int dev_handle);