Minor deletion of code that shouldn't have been committed

git-svn-id: https://zxing.googlecode.com/svn/trunk@1576 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
dav.olivier@gmail.com 2010-09-05 11:28:12 +00:00
parent dca6c9a353
commit 674a5c6f91

View file

@ -287,18 +287,12 @@ public final class WhiteRectangleDetector {
if (horizontal) {
for (int x = a; x <= b; x++) {
if (x>=480 || x < 0 || fixed >= 360 || fixed < 0){
x++;
}
if (image.get(x, fixed)) {
return true;
}
}
} else {
for (int y = a; y <= b; y++) {
if (y>=360 || y < 0 || fixed >= 480 || fixed < 0){
y++;
}
if (image.get(fixed, y)) {
return true;
}