[sikuli] 318/385: minor
Gilles Filippini
pini at moszumanska.debian.org
Sun Jun 29 19:26:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
pini pushed a commit to tag upstream/1.1.0_beta1
in repository sikuli.
commit 2ff8fe2974103de06296e1e5a0dc43dd2807d8d6
Author: Raimund Hocke <rmhdevelop at me.com>
Date: Mon Mar 3 08:32:48 2014 +0100
minor
---
API/src/main/java/org/sikuli/script/Finder.java | 4 ++--
API/src/main/java/org/sikuli/script/Match.java | 7 -------
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/API/src/main/java/org/sikuli/script/Finder.java b/API/src/main/java/org/sikuli/script/Finder.java
index 59a5e7d..af4ca9e 100755
--- a/API/src/main/java/org/sikuli/script/Finder.java
+++ b/API/src/main/java/org/sikuli/script/Finder.java
@@ -277,7 +277,7 @@ public class Finder implements Iterator<Match> {
/**
* do a findAll op with the given image in the Finder's image
* (hasNext() and next() will reveal possible match results)
- * @param imageOrText
+ * @param img
* @return null. if find setup not possible
*/
public String findAll(Image img) {
@@ -299,7 +299,7 @@ public class Finder implements Iterator<Match> {
/**
* do a findAll op with the given text in the Finder's image
* (hasNext() and next() will reveal possible match results)
- * @param imageOrText
+ * @param text
* @return null. if find setup not possible
*/
public String findAllText(String text) {
diff --git a/API/src/main/java/org/sikuli/script/Match.java b/API/src/main/java/org/sikuli/script/Match.java
index d38b5ee..050ea22 100755
--- a/API/src/main/java/org/sikuli/script/Match.java
+++ b/API/src/main/java/org/sikuli/script/Match.java
@@ -194,13 +194,6 @@ public class Match extends Region implements Comparable<Match> {
public String getText() {
return ocrText;
}
- /**
- * first compares score values (<0 means given is higher)<br />
- * with equal score then coordinates are compared: >0 is:<br />
- * more left or more above or larger width or larger height in this sequence
- * @param m
- * @return
- */
@Override
public int compareTo(Match m) {
if (simScore != m.simScore) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git
More information about the pkg-java-commits
mailing list