From 8bfee9ba527983d5aa78c6437f7b72ca51ed4f8d Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Wed, 20 Feb 2013 16:57:52 +0000 Subject: [PATCH] Add generic type parameter javadoc. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1448293 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/lang3/ObjectUtils.java | 1 + .../java/org/apache/commons/lang3/SerializationUtils.java | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/lang3/ObjectUtils.java b/src/main/java/org/apache/commons/lang3/ObjectUtils.java index 9a09ecb20..bfe5f7ea4 100644 --- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java +++ b/src/main/java/org/apache/commons/lang3/ObjectUtils.java @@ -839,6 +839,7 @@ public class ObjectUtils { * have to recompile themselves if the field's value * changes at some future date. * + * @param the Object type * @param v the genericized Object value to return (typically a String). * @return the genericized Object v, unchanged (typically a String). */ diff --git a/src/main/java/org/apache/commons/lang3/SerializationUtils.java b/src/main/java/org/apache/commons/lang3/SerializationUtils.java index 588d40867..7e95e28bb 100644 --- a/src/main/java/org/apache/commons/lang3/SerializationUtils.java +++ b/src/main/java/org/apache/commons/lang3/SerializationUtils.java @@ -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. *

- * + * + * @param 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. *

* + * @param the object type to be deserialized * @param objectData * the serialized object, must not be null * @return the deserialized object