Close the given closeable object (Stream) in a safe way: check if it is null and catch-log exception thrown. @param closeable the closable object to close
(Closeable closeable)
| 622 | * @param closeable the closable object to close |
| 623 | */ |
| 624 | private static void closeSafe(Closeable closeable) |
| 625 | { |
| 626 | if(closeable != null) |
| 627 | { |
| 628 | try |
| 629 | { |
| 630 | closeable.close(); |
| 631 | } |
| 632 | catch(IOException ignored) |
| 633 | { |
| 634 | } |
| 635 | } |
| 636 | } |
| 637 | // endregion |
| 638 | |
| 639 | // region: Inner class: DecodeBitmapResult |
no outgoing calls
no test coverage detected