Permalink
Browse files

Minor cleanup

  • Loading branch information...
1 parent bf8ed64 commit de0d69efa218008d0bea67768da7fbe18d1cddb0 @thomas-kielbus thomas-kielbus committed Jun 11, 2014
@@ -34,9 +34,9 @@
}
@Override
- public T deserialize(byte[] bytes) throws IOException {
- if (bytes.length > 0) {
- ByteArrayInputStream bytesInputStream = new ByteArrayInputStream(bytes);
+ public T deserialize(byte[] serializedValue) throws IOException {
+ if (serializedValue.length > 0) {
+ ByteArrayInputStream bytesInputStream = new ByteArrayInputStream(serializedValue);
ObjectInputStream objectInputStream = new ObjectInputStream(bytesInputStream);
Object object;
try {
@@ -22,5 +22,5 @@
public byte[] serialize(T value) throws IOException;
- public T deserialize(byte[] bytes) throws IOException;
+ public T deserialize(byte[] serializedValue) throws IOException;
}

0 comments on commit de0d69e

Please sign in to comment.