commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1478234 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/SerializationUtils.java
Date Wed, 01 May 2013 23:43:35 GMT
Author: sebb
Date: Wed May  1 23:43:35 2013
New Revision: 1478234

URL: http://svn.apache.org/r1478234
Log:
Simpler (the prefix is still needed as .<T> cannot start a method call)

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/SerializationUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/SerializationUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/SerializationUtils.java?rev=1478234&r1=1478233&r2=1478234&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/SerializationUtils.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/SerializationUtils.java
Wed May  1 23:43:35 2013
@@ -250,7 +250,7 @@ public class SerializationUtils {
         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));
     }
 
     /**



Mime
View raw message