commit | 0ca4e9302cf12f0462ba6f3a056de5b591d4ed4d | [log] [tgz] |
---|---|---|
author | David Pursehouse <david.pursehouse@sonymobile.com> | Mon Feb 24 23:55:44 2014 +0900 |
committer | David Pursehouse <david.pursehouse@sonymobile.com> | Mon Feb 24 23:59:21 2014 +0900 |
tree | 62a15984772be620e9464809225bfe43837a1e97 | |
parent | 4c0c86ca35b871c561247f5486adb447cf731cf5 [diff] |
Use Java 7 style exception handling in IoUtil - The try-with-resources statement ensures that the URLClassReader is always closed, and allows to remove the suppression of Eclipse's warning about an unclosed resource. - Catching multiple exception types in the same block reduces the amount of duplicated code. Change-Id: Iead344269bc0b985b2cd2176f15a764e6a0abb70