mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Indentation.
This commit is contained in:
@@ -71,21 +71,17 @@ public class Async
|
|||||||
stream = new java.net.URL(params[0]).openStream();
|
stream = new java.net.URL(params[0]).openStream();
|
||||||
Bitmap bmp = BitmapFactory.decodeStream(stream);
|
Bitmap bmp = BitmapFactory.decodeStream(stream);
|
||||||
return bmp;
|
return bmp;
|
||||||
}
|
} catch (MalformedURLException e) {
|
||||||
catch (MalformedURLException e) {
|
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return null;
|
return null;
|
||||||
}
|
} catch (IOException e) {
|
||||||
catch (IOException e) {
|
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return null;
|
return null;
|
||||||
}
|
} finally {
|
||||||
finally {
|
|
||||||
if (stream != null) {
|
if (stream != null) {
|
||||||
try {
|
try {
|
||||||
stream.close();
|
stream.close();
|
||||||
}
|
} catch (IOException e) {
|
||||||
catch (IOException e) {
|
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user