mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-12 13:05:06 +00:00
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 static <T> T deserialize(final byte[] objectData) {
|
||||
if (objectData == 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…
x
Reference in New Issue
Block a user