Minor deletion of code that shouldn't have been committed
authordav.olivier@gmail.com <dav.olivier@gmail.com@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sun, 5 Sep 2010 11:28:12 +0000 (11:28 +0000)
committerdav.olivier@gmail.com <dav.olivier@gmail.com@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Sun, 5 Sep 2010 11:28:12 +0000 (11:28 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@1576 59b500cc-1b3d-0410-9834-0bbf25fbcc57

core/src/com/google/zxing/common/detector/WhiteRectangleDetector.java

index f5bd289..cb889dd 100644 (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;
                                }