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-beanutils.git
The following commit(s) were added to refs/heads/master by this push: new 0c977ae6 Javadoc 0c977ae6 is described below commit 0c977ae6349154707d37b10f7695b36b10f6b624 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Jun 23 16:14:48 2024 -0400 Javadoc --- src/main/java/org/apache/commons/beanutils2/DynaProperty.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/beanutils2/DynaProperty.java b/src/main/java/org/apache/commons/beanutils2/DynaProperty.java index 7d4b46ab..83c6cca2 100644 --- a/src/main/java/org/apache/commons/beanutils2/DynaProperty.java +++ b/src/main/java/org/apache/commons/beanutils2/DynaProperty.java @@ -322,13 +322,10 @@ public class DynaProperty implements Serializable { } /** - * Writes this object safely. - * There are issues with serializing primitive class types on certain JVM versions - * (including Java 1.3). - * This method provides a workaround. + * Serializes this object to an ObjectOutputStream. * - * @param out {@link ObjectOutputStream} to write object to - * @throws IOException if the object can't be written + * @param out the target ObjectOutputStream/ + * @throws IOException thrown when an I/O errors occur writing to the underlying stream */ private void writeObject(final ObjectOutputStream out) throws IOException { writeAnyClass(this.type, out);