(String value)
| 326 | } |
| 327 | |
| 328 | private Object deserialize(String value) throws IOException, ClassNotFoundException { |
| 329 | byte[] a = Base64.getDecoder().decode(value); |
| 330 | ByteArrayInputStream b = new ByteArrayInputStream(a); |
| 331 | ObjectInputStream oos = new ObjectInputStream(b); |
| 332 | try { |
| 333 | return oos.readObject(); |
| 334 | } finally { |
| 335 | oos.close(); |
| 336 | } |
| 337 | } |
| 338 | } |
no test coverage detected