Commit 3b3c55a1 authored by Geoffrey Métais's avatar Geoffrey Métais

Lighter code

parent f6776fb4
......@@ -75,16 +75,12 @@ public class Util {
}
public static boolean close(Closeable closeable) {
if (closeable != null) {
if (closeable != null)
try {
closeable.close();
return true;
} catch (IOException e) {
return false;
}
} else {
return false;
}
} catch (IOException e) {}
return false;
}
public static boolean isCallable(Intent intent) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment