mirror of
https://gitlab.com/oeffi/oeffi.git
synced 2025-07-07 06:08:51 +00:00
Objects: Collapse catch branches.
This commit is contained in:
parent
2beddb8807
commit
4c8114497a
1 changed files with 1 additions and 3 deletions
|
@ -37,9 +37,7 @@ public class Objects {
|
|||
public static Object deserialize(final byte[] bytes) {
|
||||
try {
|
||||
return new ObjectInputStream(new ByteArrayInputStream(bytes)).readObject();
|
||||
} catch (final ClassNotFoundException x) {
|
||||
throw new RuntimeException(x);
|
||||
} catch (final IOException x) {
|
||||
} catch (final ClassNotFoundException | IOException x) {
|
||||
throw new RuntimeException(x);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue