Skip to content

Commit 9285d2d

Browse files
committed
Javadoc
1 parent cb056c3 commit 9285d2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/apache/commons/beanutils/BeanMap.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,14 @@ public boolean containsValue(final Object value) {
313313
* Converts the given value to the given type. First, reflection is is used to find a public constructor declared by the given class that takes one
314314
* argument, which must be the precise type of the given value. If such a constructor is found, a new object is created by passing the given value to that
315315
* constructor, and the newly constructed object is returned.
316-
* <P>
317-
*
316+
* <p>
318317
* If no such constructor exists, and the given type is a primitive type, then the given value is converted to a string using its {@link Object#toString()
319318
* toString()} method, and that string is parsed into the correct primitive type using, for instance, {@link Integer#valueOf(String)} to convert the string
320319
* into an {@code int}.
321-
* <P>
322-
*
320+
* </p>
321+
* <p>
323322
* If no special constructor exists and the given type is not a primitive type, this method returns the original value.
323+
* </p>
324324
*
325325
* @param newType the type to convert the value to
326326
* @param value the value to convert

0 commit comments

Comments
 (0)