diff --git a/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java b/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java index 3536f7f35..a00766282 100644 --- a/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java +++ b/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java @@ -440,7 +440,7 @@ public static Method getWriteMethod(final PropertyDescriptor descriptor) { * @param bean Bean to be examined (may be a {@link DynaBean} * @param name Property name to be evaluated * @return {@code true} if the property is readable, otherwise {@code false} - * @throws IllegalArgumentException if {@code bean} or {@code name is null} + * @throws IllegalArgumentException if {@code bean} or {@code name} is {@code null} * @see PropertyUtilsBean#isReadable * @since 1.6 */ @@ -460,7 +460,7 @@ public static boolean isReadable(final Object bean, final String name) { * @param bean Bean to be examined (may be a {@link DynaBean} * @param name Property name to be evaluated * @return {@code true} if the property is writable, otherwise {@code false} - * @throws IllegalArgumentException if {@code bean} or {@code name is null} + * @throws IllegalArgumentException if {@code bean} or {@code name} is {@code null} * @see PropertyUtilsBean#isWriteable * @since 1.6 */ diff --git a/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java b/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java index 0309a15d2..d24f3ea3f 100644 --- a/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java +++ b/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java @@ -1104,7 +1104,7 @@ private boolean isPropertySuppressed(final String name) { * @param bean Bean to be examined (may be a {@link DynaBean} * @param name Property name to be evaluated * @return {@code true} if the property is readable, otherwise {@code false} - * @throws IllegalArgumentException if {@code bean} or {@code name is null} + * @throws IllegalArgumentException if {@code bean} or {@code name} is {@code null} * @since 1.6 */ public boolean isReadable(Object bean, String name) { @@ -1167,7 +1167,7 @@ public boolean isReadable(Object bean, String name) { * @param bean Bean to be examined (may be a {@link DynaBean} * @param name Property name to be evaluated * @return {@code true} if the property is writable, otherwise {@code false} - * @throws IllegalArgumentException if {@code bean} or {@code name is null} + * @throws IllegalArgumentException if {@code bean} or {@code name} is {@code null} * @since 1.6 */ public boolean isWriteable(Object bean, String name) { diff --git a/src/main/java/org/apache/commons/beanutils2/sql/RowSetDynaClass.java b/src/main/java/org/apache/commons/beanutils2/sql/RowSetDynaClass.java index 8fceb032c..351300e25 100644 --- a/src/main/java/org/apache/commons/beanutils2/sql/RowSetDynaClass.java +++ b/src/main/java/org/apache/commons/beanutils2/sql/RowSetDynaClass.java @@ -99,9 +99,6 @@ public RowSetDynaClass(final ResultSet resultSet) throws SQLException { * be lower cased or not, depending on the specified {@code lowerCase} value. *

* - * If {@code limit
is not less than 0, max limit} number of rows will be copied into the resultset. - * - * * @param resultSet The result set to be wrapped * @param lowerCase Should property names be lower cased? * @throws NullPointerException if {@code resultSet} is {@code null} @@ -192,7 +189,7 @@ public RowSetDynaClass(final ResultSet resultSet, final boolean lowerCase, final * lower cased. *

* - * If {@code limit
is not less than 0, max limit} number of rows will be copied into the list. + * If {@code limit} is not less than 0, max {@code limit} number of rows will be copied into the list. * * @param resultSet The result set to be wrapped * @param limit The maximum for the size of the result.