diff --git a/src/android/Thumbnails.java b/src/android/Thumbnails.java index 503bb06..29270f5 100755 --- a/src/android/Thumbnails.java +++ b/src/android/Thumbnails.java @@ -46,8 +46,8 @@ private static Bitmap thumbnailSmallImage(Options thumbnailOptions) throws Excep Bitmap bitmap = BitmapFactory.decodeFile(thumbnailOptions.sourcePath, options); if (bitmap == null) { - ObjectWriter ow = new ObjectMapper().writer().withDefaultPrettyPrinter(); - String optionsJSON = ow.writeValueAsString(options); + ObjectWriter objectWriter = new ObjectMapper().writer().withDefaultPrettyPrinter(); + String optionsJSON = objectWriter.writeValueAsString(options); throw new Exception("Could not decode file into bitmap object { sourcePath: " + thumbnailOptions.sourcePath + " options: " + optionsJSON + " }"); }