You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/10/25 14:46:24 UTC

[commons-lang] 04/06: Fix param name.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git

commit 54afd64c79064d76037b31e88cc68d5895d9b85c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Oct 25 10:36:34 2020 -0400

    Fix param name.
---
 src/main/java/org/apache/commons/lang3/SerializationUtils.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/SerializationUtils.java b/src/main/java/org/apache/commons/lang3/SerializationUtils.java
index 3b316a1..a8269ab 100644
--- a/src/main/java/org/apache/commons/lang3/SerializationUtils.java
+++ b/src/main/java/org/apache/commons/lang3/SerializationUtils.java
@@ -225,14 +225,14 @@ public class SerializationUtils {
      *
      * @param <T>
      *           the type of the object involved
-     * @param msg
+     * @param obj
      *            the object to roundtrip
      * @return the serialized and deserialized object
      * @since 3.3
      */
     @SuppressWarnings("unchecked") // OK, because we serialized a type `T`
-    public static <T extends Serializable> T roundtrip(final T msg) {
-        return (T) deserialize(serialize(msg));
+    public static <T extends Serializable> T roundtrip(final T obj) {
+        return (T) deserialize(serialize(obj));
     }
 
     /**