Simpler (the prefix is still needed as .<T> cannot start a method call)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1478234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5c2471f896
commit
640da9075b
|
@ -250,7 +250,7 @@ public class SerializationUtils {
|
||||||
if (objectData == null) {
|
if (objectData == null) {
|
||||||
throw new IllegalArgumentException("The byte[] must not be null");
|
throw new IllegalArgumentException("The byte[] must not be null");
|
||||||
}
|
}
|
||||||
return org.apache.commons.lang3.SerializationUtils.<T>deserialize(new ByteArrayInputStream(objectData));
|
return SerializationUtils.<T>deserialize(new ByteArrayInputStream(objectData));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue