Odd. I wonder what the author intended ? Maybe a copy-paste from some other
method's javadoc.

+1

-phil.

On 4/2/19, 5:28 AM, Sergey Bylokhov wrote:
Looks fine.

On 02/04/2019 04:28, Prasanta Sadhukhan wrote:
Hi All,

The javadoc description of View#getPreferredSpan API ends with a "See also" link which refers to the method itself, which can be removed.

diff -r 3ee03f1d88c9 src/java.desktop/share/classes/javax/swing/text/View.java --- a/src/java.desktop/share/classes/javax/swing/text/View.java Wed Mar 20 16:07:43 2019 +0530 +++ b/src/java.desktop/share/classes/javax/swing/text/View.java Tue Apr 02 16:55:43 2019 +0530
@@ -229,7 +229,6 @@
       *           Typically the view is told to render into the span
       *           that is returned, although there is no guarantee.
       *           The parent may choose to resize or break the view
-     * @see View#getPreferredSpan
       */
      public abstract float getPreferredSpan(int axis);

Regards
Prasanta


Reply via email to