8304991: Redundant hyphen in @param results in double-dash in javadocs
Reviewed-by: psadhukhan
This commit is contained in:
parent
e3855d0054
commit
42df1a99b7
@ -1949,7 +1949,7 @@ public class List extends Component implements ItemSelectable, Accessible {
|
||||
/**
|
||||
* Resizes this object so that it has width and height.
|
||||
*
|
||||
* @param d - The dimension specifying the new size of the object.
|
||||
* @param d The dimension specifying the new size of the object.
|
||||
* @see #getSize
|
||||
*/
|
||||
public void setSize(Dimension d) {
|
||||
|
@ -126,13 +126,13 @@ public class FontRenderContext {
|
||||
* @param tx the transform which is used to scale typographical points
|
||||
* to pixels in this {@code FontRenderContext}. If null, an
|
||||
* identity transform is used.
|
||||
* @param aaHint - one of the text antialiasing rendering hint values
|
||||
* @param aaHint one of the text antialiasing rendering hint values
|
||||
* defined in {@link java.awt.RenderingHints java.awt.RenderingHints}.
|
||||
* Any other value will throw {@code IllegalArgumentException}.
|
||||
* {@link java.awt.RenderingHints#VALUE_TEXT_ANTIALIAS_DEFAULT VALUE_TEXT_ANTIALIAS_DEFAULT}
|
||||
* may be specified, in which case the mode used is implementation
|
||||
* dependent.
|
||||
* @param fmHint - one of the text fractional rendering hint values defined
|
||||
* @param fmHint one of the text fractional rendering hint values defined
|
||||
* in {@link java.awt.RenderingHints java.awt.RenderingHints}.
|
||||
* {@link java.awt.RenderingHints#VALUE_FRACTIONALMETRICS_DEFAULT VALUE_FRACTIONALMETRICS_DEFAULT}
|
||||
* may be specified, in which case the mode used is implementation
|
||||
|
@ -564,7 +564,7 @@ public abstract class AccessibleContext {
|
||||
* not be treated as the component's accessible parent and is a method that
|
||||
* should only be called by the parent of the accessible child.
|
||||
*
|
||||
* @param a - {@code Accessible} to be set as the parent
|
||||
* @param a {@code Accessible} to be set as the parent
|
||||
*/
|
||||
public void setAccessibleParent(Accessible a) {
|
||||
accessibleParent = a;
|
||||
|
@ -581,7 +581,7 @@ public abstract class JComponent extends Container implements Serializable,
|
||||
* <p>
|
||||
* This is a bound property.
|
||||
*
|
||||
* @param popup - the popup that will be assigned to this component
|
||||
* @param popup the popup that will be assigned to this component
|
||||
* may be null
|
||||
* @see #getComponentPopupMenu
|
||||
* @since 1.5
|
||||
|
Loading…
Reference in New Issue
Block a user