(InputStream stream)
| 1042 | } |
| 1043 | |
| 1044 | private static byte[] streamToBytes(InputStream stream) { |
| 1045 | try { |
| 1046 | return ByteStreams.toByteArray(stream); |
| 1047 | } catch (IOException ioe) { |
| 1048 | throw new RuntimeException("failure reading serialized stream", ioe); |
| 1049 | } |
| 1050 | } |
| 1051 | } |
no test coverage detected