Minor: Remove duplicate if (#487)

This commit is contained in:
Benjamin Toueg 2016-11-26 19:07:07 +01:00 committed by Nicolas Charpentier
parent 69d6b5acbf
commit 3a20709f64
1 changed files with 0 additions and 4 deletions

View File

@ -196,12 +196,8 @@ class RCTCameraViewFinder extends TextureView implements TextureView.SurfaceText
return BarcodeFormat.EAN_13; return BarcodeFormat.EAN_13;
} else if ("ean8".equals(c)) { } else if ("ean8".equals(c)) {
return BarcodeFormat.EAN_8; return BarcodeFormat.EAN_8;
} else if ("ean8".equals(c)) {
return BarcodeFormat.EAN_8;
} else if ("qr".equals(c)) { } else if ("qr".equals(c)) {
return BarcodeFormat.QR_CODE; return BarcodeFormat.QR_CODE;
} else if ("ean8".equals(c)) {
return BarcodeFormat.EAN_8;
} else if ("pdf417".equals(c)) { } else if ("pdf417".equals(c)) {
return BarcodeFormat.PDF_417; return BarcodeFormat.PDF_417;
} else if ("upce".equals(c)) { } else if ("upce".equals(c)) {