Fix param name.

This commit is contained in:
Gary Gregory 2020-10-25 10:36:34 -04:00
parent 4d066361c0
commit 54afd64c79
1 changed files with 3 additions and 3 deletions

View File

@ -225,14 +225,14 @@ public class SerializationUtils {
* *
* @param <T> * @param <T>
* the type of the object involved * the type of the object involved
* @param msg * @param obj
* the object to roundtrip * the object to roundtrip
* @return the serialized and deserialized object * @return the serialized and deserialized object
* @since 3.3 * @since 3.3
*/ */
@SuppressWarnings("unchecked") // OK, because we serialized a type `T` @SuppressWarnings("unchecked") // OK, because we serialized a type `T`
public static <T extends Serializable> T roundtrip(final T msg) { public static <T extends Serializable> T roundtrip(final T obj) {
return (T) deserialize(serialize(msg)); return (T) deserialize(serialize(obj));
} }
/** /**