From 67217d4337cfc6d48cbcb3269dfbba6215881769 Mon Sep 17 00:00:00 2001 From: slepmog Date: Thu, 1 May 2014 05:36:44 -0700 Subject: [PATCH] Indentation wtf --- .../android/camera/open/OpenCameraInterface.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/android/src/com/google/zxing/client/android/camera/open/OpenCameraInterface.java b/android/src/com/google/zxing/client/android/camera/open/OpenCameraInterface.java index 4120622d7..1126ca6d6 100644 --- a/android/src/com/google/zxing/client/android/camera/open/OpenCameraInterface.java +++ b/android/src/com/google/zxing/client/android/camera/open/OpenCameraInterface.java @@ -34,19 +34,19 @@ public final class OpenCameraInterface { * @return handle to {@link Camera} that was opened */ public static Camera open(int cameraId) { - if (cameraId < 0) { - Log.w(TAG, "Requested invalid camera ID: " + cameraId); - return null; - } + if (cameraId < 0) { + Log.w(TAG, "Requested invalid camera ID: " + cameraId); + return null; + } int numCameras = Camera.getNumberOfCameras(); - if (numCameras == 0) { + if (numCameras == 0) { Log.w(TAG, "No cameras!"); return null; } - Camera camera; + Camera camera; if (cameraId < numCameras) { Log.i(TAG, "Opening camera #" + cameraId); camera = Camera.open(cameraId); @@ -54,7 +54,7 @@ public final class OpenCameraInterface { Log.w(TAG, "Requested camera does not exist: " + cameraId); camera = null; } - + return camera; }