mirror of https://github.com/rusefi/usb4java.git
Suppress warning in LibUsb (the only one I'm getting from Java).
This commit is contained in:
parent
db11db2fac
commit
fee57b7c71
|
@ -804,8 +804,8 @@ public final class LibUsb
|
|||
* array is too small
|
||||
*/
|
||||
@Deprecated
|
||||
public static int getPortPath(final Context context, final Device device,
|
||||
final ByteBuffer path)
|
||||
public static int getPortPath(@SuppressWarnings("unused") final Context context,
|
||||
final Device device, final ByteBuffer path)
|
||||
{
|
||||
return getPortNumbers(device, path);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue