Add final modifier to local variables.

This commit is contained in:
Gary Gregory 2016-10-23 10:59:32 -07:00
parent 151f2cd3d8
commit 33884b2264
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class SerializationUtils {
final byte[] objectData = serialize(object);
final ByteArrayInputStream bais = new ByteArrayInputStream(objectData);
try (ClassLoaderAwareObjectInputStream in = new ClassLoaderAwareObjectInputStream(bais,
try (final ClassLoaderAwareObjectInputStream in = new ClassLoaderAwareObjectInputStream(bais,
object.getClass().getClassLoader())) {
/*
* when we serialize and deserialize an object,