Minor change to add braces (also testing commit notification e-mail)
authorsrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 19 Nov 2007 18:01:18 +0000 (18:01 +0000)
committersrowen <srowen@59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Mon, 19 Nov 2007 18:01:18 +0000 (18:01 +0000)
git-svn-id: http://zxing.googlecode.com/svn/trunk@58 59b500cc-1b3d-0410-9834-0bbf25fbcc57

javase/src/com/google/zxing/client/j2se/CommandLineRunner.java

index 8b4bbee..c908f0e 100644 (file)
@@ -42,7 +42,9 @@ public final class CommandLineRunner {
       if (inputFile.isDirectory()) {
         int successful = 0;
         for (File input : inputFile.listFiles()) {
-          if (decode(input.toURI())) successful++;
+          if (decode(input.toURI())) {
+            successful++;
+          }
         }
         System.out.println("Decoded " + successful + " files successfully");
       } else {