Fix for #148 and possibly #149 plus a few code polishes here and there
[zxing.git] / zxing.appspot.com / generator / src / com / google / zxing / web / generator / client / PhoneNumberGenerator.java
index 9792fd9..e1e7730 100644 (file)
@@ -67,7 +67,9 @@ public class PhoneNumberGenerator implements GeneratorSource {
   }
 
   public void validate(Widget widget) throws GeneratorException {
-    if (widget == number) getTelField();
+    if (widget == number) {
+      getTelField();
+    }
   }
   
   public void setFocus() {