Fix javadoc warnings

This commit is contained in:
Clément Fournier
2018-12-06 16:33:57 +01:00
parent 3cbba391da
commit 3f82a1d71d

View File

@ -46,7 +46,7 @@ import net.sourceforge.pmd.properties.constraints.PropertyConstraint;
* <pre> * <pre>
* class MyRule { * class MyRule {
* // The property descriptor may be static, it can be shared across threads. * // The property descriptor may be static, it can be shared across threads.
* private static final {@link PropertyDescriptor}&lt;Integer> myIntProperty * private static final {@link PropertyDescriptor}&lt;Integer&gt; myIntProperty
* = PropertyFactory.{@linkplain #intProperty(String) intProperty}("myIntProperty") * = PropertyFactory.{@linkplain #intProperty(String) intProperty}("myIntProperty")
* .{@linkplain PropertyBuilder#desc(String) desc}("This is my property") * .{@linkplain PropertyBuilder#desc(String) desc}("This is my property")
* .{@linkplain PropertyBuilder#defaultValue(Object) defaultValue}(3) * .{@linkplain PropertyBuilder#defaultValue(Object) defaultValue}(3)
@ -235,10 +235,10 @@ public final class PropertyFactory {
* Returns a builder for a character property. The property descriptor * Returns a builder for a character property. The property descriptor
* will accept any single character string. No unescaping is performed * will accept any single character string. No unescaping is performed
* other than what the XML parser does itself. That means that Java * other than what the XML parser does itself. That means that Java
* escape sequences are not expanded: "\n", will be represented as the * escape sequences are not expanded: e.g. "\n", will be represented as the
* character sequence '\' 'n', so it's not a valid value for this type * character sequence '\' 'n', so it's not a valid value for this type
* of property. On the other hand, XML character references are expanded, * of property. On the other hand, XML character references are expanded,
* like {@literal &amp;} ('&') or {@literal &lt;} ('<'). * like {@literal &amp;} ('&amp;') or {@literal &lt;} ('&lt;').
* *
* @param name Name of the property to build * @param name Name of the property to build
* *