You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2013/02/20 17:57:53 UTC
svn commit: r1448293 - in
/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3:
ObjectUtils.java SerializationUtils.java
Author: tn
Date: Wed Feb 20 16:57:52 2013
New Revision: 1448293
URL: http://svn.apache.org/r1448293
Log:
Add generic type parameter javadoc.
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
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/ObjectUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java?rev=1448293&r1=1448292&r2=1448293&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java Wed Feb 20 16:57:52 2013
@@ -839,6 +839,7 @@ public class ObjectUtils {
* have to recompile themselves if the field's value
* changes at some future date.
*
+ * @param <T> the Object type
* @param v the genericized Object value to return (typically a String).
* @return the genericized Object v, unchanged (typically a String).
*/
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=1448293&r1=1448292&r2=1448293&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 Feb 20 16:57:52 2013
@@ -187,7 +187,8 @@ public class SerializationUtils {
* Without Generics in this declaration, the call site must type cast and can cause the same ClassCastException.
* Note that in both cases, the ClassCastException is in the call site, not in this method.
* </p>
- *
+ *
+ * @param <T> the object type to be deserialized
* @param inputStream
* the serialized object input stream, must not be null
* @return the deserialized object
@@ -234,6 +235,7 @@ public class SerializationUtils {
* Note that in both cases, the ClassCastException is in the call site, not in this method.
* </p>
*
+ * @param <T> the object type to be deserialized
* @param objectData
* the serialized object, must not be null
* @return the deserialized object