Add final modifier to local variables.
This commit is contained in:
parent
151f2cd3d8
commit
33884b2264
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue