fixing android build error for missing return value

This commit is contained in:
Greg Alexander 2018-03-15 09:59:29 -05:00
parent 637e7b7a92
commit 2dd3e8424c

View File

@ -219,7 +219,7 @@ public class MutableImage {
// Even the value is formatted as double it is returned as a String because exif.setAttribute requires it. // Even the value is formatted as double it is returned as a String because exif.setAttribute requires it.
private String convertExposureTimeToDoubleFormat(String exposureTime) { private String convertExposureTimeToDoubleFormat(String exposureTime) {
if(!exposureTime.contains("/")) if(!exposureTime.contains("/"))
return; return "";
String exposureFractions[]= exposureTime.split("/"); String exposureFractions[]= exposureTime.split("/");
double divider = Double.parseDouble(exposureFractions[1]); double divider = Double.parseDouble(exposureFractions[1]);