summaryrefslogtreecommitdiff
path: root/japi/Test.java
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 17:00:20 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-31 17:00:20 +0200
commit3759ce55ba79b8d3b9d8ed247a252273ee7dade3 (patch)
treed69692a274dd1c7d0672e6bb7155a0fc106f9d49 /japi/Test.java
parentc8bd2513ecba169cff44c09c8058c36987357b18 (diff)
parent1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (diff)
Update upstream source from tag 'upstream/1.0.28'
Update to upstream version '1.0.28' with Debian dir ec5bb298266630fc3801ff6dc0c258f6df7ba979
Diffstat (limited to 'japi/Test.java')
-rw-r--r--japi/Test.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/japi/Test.java b/japi/Test.java
index 52a7112..4a0f507 100644
--- a/japi/Test.java
+++ b/japi/Test.java
@@ -81,7 +81,7 @@ public static void main(String[] args)
status = sane.getControlOption(handle[0], 0, numDevOptions, null);
if (status != Sane.STATUS_GOOD)
{
- System.out.println("controlOption() failed. Status= "
+ System.out.println("controlOption() failed. Status= "
+ status);
return;
}
@@ -101,7 +101,7 @@ public static void main(String[] args)
switch (opt.constraintType)
{
case SaneOption.CONSTRAINT_RANGE:
- System.out.println("Range: " +
+ System.out.println("Range: " +
opt.rangeConstraint.min + ", " +
opt.rangeConstraint.max + ", " +
opt.rangeConstraint.quant);
@@ -123,11 +123,11 @@ public static void main(String[] args)
break;
}
}
- status = sane.setControlOption(handle[0], 2,
+ status = sane.setControlOption(handle[0], 2,
SaneOption.ACTION_SET_VALUE, "../test1.pnm", null);
if (status != Sane.STATUS_GOOD)
{
- System.out.println("setControlOption() failed. Status= "
+ System.out.println("setControlOption() failed. Status= "
+ status);
}
//
@@ -145,14 +145,14 @@ public static void main(String[] args)
status = sane.start(handle[0]);
if (status != Sane.STATUS_GOOD)
{
- System.out.println("start() failed. Status= "
+ System.out.println("start() failed. Status= "
+ status);
return;
}
status = sane.getParameters(handle[0], parm);
if (status != Sane.STATUS_GOOD)
{
- System.out.println("getParameters() failed. Status= "
+ System.out.println("getParameters() failed. Status= "
+ status);
return; //++++cleanup.
}