summaryrefslogtreecommitdiff
path: root/japi/Sane.java
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /japi/Sane.java
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'japi/Sane.java')
-rw-r--r--japi/Sane.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/japi/Sane.java b/japi/Sane.java
index 85600e7..88b9495 100644
--- a/japi/Sane.java
+++ b/japi/Sane.java
@@ -57,7 +57,7 @@ public static int STATUS_GOOD = 0; // everything A-OK
public static int STATUS_UNSUPPORTED = 1;// operation is not supported
public static int STATUS_CANCELLED = 2; // operation was cancelled
public static int STATUS_DEVICE_BUSY = 3;// device is busy; try again later
-public static int STATUS_INVAL = 4; // data is invalid (includes no
+public static int STATUS_INVAL = 4; // data is invalid (includes no
// dev at open)
public static int STATUS_EOF = 5; // no more data available (end-of-file)
public static int STATUS_JAMMED = 6; // document feeder jammed
@@ -137,7 +137,7 @@ public native int setControlOption(int handle, int option,
int action, String value, int [] info);
public native int getParameters(int handle, SaneParameters params);
public native int start(int handle);
-public native int read(int handle, byte [] data,
+public native int read(int handle, byte [] data,
int maxLength, int [] length);
public native void cancel(int handle);
public native String strstatus(int status);