This is an automated email from the ASF dual-hosted git repository.
garydgregory 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 2653f5fc Javadoc: Use {@code}
2653f5fc is described below
commit 2653f5fc3f79123900ab3c8d206f9d232b211f16
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Apr 24 09:12:06 2026 -0400
Javadoc: Use {@code}
---
.../java/org/apache/commons/beanutils2/BeanIntrospectionData.java | 6 +++---
src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java | 2 +-
.../apache/commons/beanutils2/FluentPropertyBeanIntrospector.java | 4 ++--
.../java/org/apache/commons/beanutils2/IntrospectionContext.java | 4 ++--
src/main/java/org/apache/commons/beanutils2/PropertyUtils.java | 4 ++--
src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java | 6 +++---
.../commons/beanutils2/SuppressPropertiesBeanIntrospector.java | 4 ++--
7 files changed, 15 insertions(+), 15 deletions(-)
diff --git
a/src/main/java/org/apache/commons/beanutils2/BeanIntrospectionData.java
b/src/main/java/org/apache/commons/beanutils2/BeanIntrospectionData.java
index e4bc75d1..afa20298 100644
--- a/src/main/java/org/apache/commons/beanutils2/BeanIntrospectionData.java
+++ b/src/main/java/org/apache/commons/beanutils2/BeanIntrospectionData.java
@@ -86,10 +86,10 @@ final class BeanIntrospectionData {
}
/**
- * Returns the {@code PropertyDescriptor} for the property with the
specified name. If this property is unknown, result is <strong>null</strong>.
+ * Returns the {@code PropertyDescriptor} for the property with the
specified name. If this property is unknown, result is {@code null}.
*
* @param name the name of the property in question
- * @return the {@code PropertyDescriptor} for this property or
<strong>null</strong>
+ * @return the {@code PropertyDescriptor} for this property or {@code null}
*/
public PropertyDescriptor getDescriptor(final String name) {
for (final PropertyDescriptor pd : getDescriptors()) {
@@ -117,7 +117,7 @@ final class BeanIntrospectionData {
*
* @param beanCls the class of the affected bean
* @param desc the {@code PropertyDescriptor} of the desired property
- * @return the write method for this property or <strong>null</strong> if
there is none
+ * @return the write method for this property or {@code null} if there is
none
*/
public Method getWriteMethod(final Class<?> beanCls, final
PropertyDescriptor desc) {
Method method = desc.getWriteMethod();
diff --git a/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java
b/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java
index 64859de9..ca6d67ca 100644
--- a/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java
+++ b/src/main/java/org/apache/commons/beanutils2/BeanUtilsBean.java
@@ -214,7 +214,7 @@ public class BeanUtilsBean {
/**
* Performs a type conversion of a property value before it is copied to a
target bean. This method delegates to {@link #convert(Object, Class)}, but
- * <strong>null</strong> values are not converted. This causes
<strong>null</strong> values to be copied verbatim.
+ * {@code null} values are not converted. This causes {@code null} values
to be copied verbatim.
*
* @param value the value to be converted and copied
* @param type the target type of the conversion
diff --git
a/src/main/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospector.java
b/src/main/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospector.java
index 12aed918..e6b60aee 100644
---
a/src/main/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospector.java
+++
b/src/main/java/org/apache/commons/beanutils2/FluentPropertyBeanIntrospector.java
@@ -91,8 +91,8 @@ public class FluentPropertyBeanIntrospector implements
BeanIntrospector {
* Creates a new instance of {@code FluentPropertyBeanIntrospector} and
initializes it with the prefix for write methods used by the classes to be
* inspected.
*
- * @param writePrefix the prefix for write methods (must not be
<strong>null</strong>)
- * @throws IllegalArgumentException if the prefix is <strong>null</strong>
+ * @param writePrefix the prefix for write methods (must not be {@code
null})
+ * @throws IllegalArgumentException if the prefix is {@code null}
*/
public FluentPropertyBeanIntrospector(final String writePrefix) {
writeMethodPrefix = Objects.requireNonNull(writePrefix, "writePrefix");
diff --git
a/src/main/java/org/apache/commons/beanutils2/IntrospectionContext.java
b/src/main/java/org/apache/commons/beanutils2/IntrospectionContext.java
index 6ae25c04..84f053f0 100644
--- a/src/main/java/org/apache/commons/beanutils2/IntrospectionContext.java
+++ b/src/main/java/org/apache/commons/beanutils2/IntrospectionContext.java
@@ -49,10 +49,10 @@ public interface IntrospectionContext {
void addPropertyDescriptors(PropertyDescriptor[] descriptors);
/**
- * Returns the descriptor for the property with the given name or
<strong>null</strong> if this property is unknown.
+ * Returns the descriptor for the property with the given name or {@code
null} if this property is unknown.
*
* @param name the name of the property in question
- * @return the descriptor for this property or <strong>null</strong> if
this property is unknown
+ * @return the descriptor for this property or {@code null} if this
property is unknown
*/
PropertyDescriptor getPropertyDescriptor(String name);
diff --git a/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java
b/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java
index 2b3eb130..e3f964b2 100644
--- a/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java
+++ b/src/main/java/org/apache/commons/beanutils2/PropertyUtils.java
@@ -40,8 +40,8 @@ public final class PropertyUtils {
/**
* Adds a {@code BeanIntrospector}. This object is invoked when the
property descriptors of a class need to be obtained.
*
- * @param introspector the {@code BeanIntrospector} to be added (must not
be <strong>null</strong>
- * @throws IllegalArgumentException if the argument is
<strong>null</strong>
+ * @param introspector the {@code BeanIntrospector} to be added (must not
be {@code null}
+ * @throws IllegalArgumentException if the argument is {@code null}
* @since 1.9
*/
public static void addBeanIntrospector(final BeanIntrospector
introspector) {
diff --git a/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java
b/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java
index 0fd2191d..57a8467a 100644
--- a/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java
+++ b/src/main/java/org/apache/commons/beanutils2/PropertyUtilsBean.java
@@ -130,8 +130,8 @@ public class PropertyUtilsBean {
/**
* Adds a {@code BeanIntrospector}. This object is invoked when the
property descriptors of a class need to be obtained.
*
- * @param introspector the {@code BeanIntrospector} to be added (must not
be <strong>null</strong>
- * @throws IllegalArgumentException if the argument is
<strong>null</strong>
+ * @param introspector the {@code BeanIntrospector} to be added (must not
be {@code null}
+ * @throws IllegalArgumentException if the argument is {@code null}
* @since 1.9
*/
public void addBeanIntrospector(final BeanIntrospector introspector) {
@@ -420,7 +420,7 @@ public class PropertyUtilsBean {
*
* @param beanClass the bean class in question
* @return the {@code BeanIntrospectionData} object for this class
- * @throws IllegalArgumentException if the bean class is
<strong>null</strong>
+ * @throws IllegalArgumentException if the bean class is {@code null}
*/
private BeanIntrospectionData getIntrospectionData(final Class<?>
beanClass) {
Objects.requireNonNull(beanClass, "beanClass");
diff --git
a/src/main/java/org/apache/commons/beanutils2/SuppressPropertiesBeanIntrospector.java
b/src/main/java/org/apache/commons/beanutils2/SuppressPropertiesBeanIntrospector.java
index 8d9b3562..55ce1049 100644
---
a/src/main/java/org/apache/commons/beanutils2/SuppressPropertiesBeanIntrospector.java
+++
b/src/main/java/org/apache/commons/beanutils2/SuppressPropertiesBeanIntrospector.java
@@ -60,8 +60,8 @@ public class SuppressPropertiesBeanIntrospector implements
BeanIntrospector {
/**
* Creates a new instance of {@code SuppressPropertiesBeanIntrospector}
and sets the names of the properties to be suppressed.
*
- * @param propertiesToSuppress the names of the properties to be
suppressed (must not be <strong>null</strong>)
- * @throws IllegalArgumentException if the collection with property names
is <strong>null</strong>
+ * @param propertiesToSuppress the names of the properties to be
suppressed (must not be {@code null})
+ * @throws IllegalArgumentException if the collection with property names
is {@code null}
*/
public SuppressPropertiesBeanIntrospector(final Collection<String>
propertiesToSuppress) {
Objects.requireNonNull(propertiesToSuppress, "propertiesToSuppress");