parent
7a8dc00b8b
commit
96f2b16b3e
|
@ -119,10 +119,8 @@ public class TestUtils {
|
||||||
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
|
ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
|
||||||
ObjectInputStream si = new ObjectInputStream(bis);
|
ObjectInputStream si = new ObjectInputStream(bis);
|
||||||
return si.readObject();
|
return si.readObject();
|
||||||
} catch (IOException ioe) {
|
} catch (Exception e) {
|
||||||
return null;
|
throw new RuntimeException(e);
|
||||||
} catch (ClassNotFoundException cnfe) {
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue