<Swing Dev> [12] RFR JDK-6994403:Grammatical error in documentation of javax.swing.GroupLayout.ParallelGroup
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Fri Sep 28 19:44:58 UTC 2018
Looks fine.
On 28/09/2018 01:58, Prasanta Sadhukhan wrote:
> Hi All,
>
> Please review another doc fix where "its" is misspelt as "it's". Correct
> string should be as written in file copyright itself, "Copyright (c)
> 2006, 2015, Oracle and/or *its* affiliates"
>
> diff -r b5afdf0bbd9e
> src/java.desktop/share/classes/javax/swing/GroupLayout.java
> --- a/src/java.desktop/share/classes/javax/swing/GroupLayout.java Fri
> Sep 28 09:17:24 2018 +0530
> +++ b/src/java.desktop/share/classes/javax/swing/GroupLayout.java Fri
> Sep 28 14:27:37 2018 +0530
> @@ -430,7 +430,7 @@
> * indicates that if {@code component} is not visible it should
> * not be treated as part of the layout. A value of {@code false}
> * indicates that {@code component} is positioned and sized
> - * regardless of it's visibility. A value of {@code null}
> + * regardless of its visibility. A value of {@code null}
> * indicates the value specified by the single argument method {@code
> * setHonorsVisibility} should be used.
> * <p>
> @@ -667,7 +667,7 @@
> }
>
> /**
> - * Creates and returns a {@code ParallelGroup} that aligns it's
> + * Creates and returns a {@code ParallelGroup} that aligns its
> * elements along the baseline.
> *
> * @param resizable whether the group is resizable
> @@ -2373,12 +2373,12 @@
>
>
> /**
> - * A {@code Group} that aligns and sizes it's children.
> - * {@code ParallelGroup} aligns it's children in
> + * A {@code Group} that aligns and sizes its children.
> + * {@code ParallelGroup} aligns its children in
> * four possible ways: along the baseline, centered, anchored to the
> * leading edge, or anchored to the trailing edge.
> * <h3>Baseline</h3>
> - * A {@code ParallelGroup} that aligns it's children along the
> + * A {@code ParallelGroup} that aligns its children along the
> * baseline must first decide where the baseline is
> * anchored. The baseline can either be anchored to the top, or
> * anchored to the bottom of the group. That is, the distance
> between the
> @@ -2415,7 +2415,7 @@
> * {@code maxDescent} is the maximum descent (preferred height -
> baseline)
> * of all elements that have a baseline and are aligned along the
> baseline.
> * <p>
> - * A {@code ParallelGroup} that aligns it's elements along the baseline
> + * A {@code ParallelGroup} that aligns its elements along the baseline
> * is only useful along the vertical axis. If you create a
> * baseline group and use it along the horizontal axis an
> * {@code IllegalStateException} is thrown when you ask
>
> Regards
> Prasanta
--
Best regards, Sergey.
More information about the swing-dev
mailing list