From 86d856ebe82567c73b3fb2bb2b025f8b8e5caaf9 Mon Sep 17 00:00:00 2001 From: Yuriy Budiyev Date: Mon, 6 Aug 2018 13:19:51 +0300 Subject: [PATCH] Dev --- src/main/java/com/budiyev/android/codescanner/Utils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/budiyev/android/codescanner/Utils.java b/src/main/java/com/budiyev/android/codescanner/Utils.java index c991d90..35068c9 100644 --- a/src/main/java/com/budiyev/android/codescanner/Utils.java +++ b/src/main/java/com/budiyev/android/codescanner/Utils.java @@ -298,7 +298,7 @@ public static Result decodeLuminanceSource(@NonNull final MultiFormatReader read @NonNull final LuminanceSource luminanceSource) throws ReaderException { try { return reader.decodeWithState(new BinaryBitmap(new HybridBinarizer(luminanceSource))); - } catch (NotFoundException e) { + } catch (final NotFoundException e) { return reader.decodeWithState(new BinaryBitmap(new HybridBinarizer(luminanceSource.invert()))); } finally { reader.reset();