diff options
| author | Sergey Bylokhov <serb@openjdk.org> | 2020-10-06 10:49:56 +0000 |
|---|---|---|
| committer | Sergey Bylokhov <serb@openjdk.org> | 2020-10-06 10:49:56 +0000 |
| commit | f397b60ae15a6d355ea7ebd2ab4ba5eef263df49 (patch) | |
| tree | 6d45abea53f5bfee99a53bd5bd6ad31b92f3f3be /src/java.desktop/share/classes/java/awt/Component.java | |
| parent | c9d1dcc63d3da0eb8f96e0d19336940eb11d6b92 (diff) | |
| download | openjdk-f397b60ae15a6d355ea7ebd2ab4ba5eef263df49.tar.gz openjdk-f397b60ae15a6d355ea7ebd2ab4ba5eef263df49.zip | |
8251123: doclint warnings about missing javadoc tags and comments
Reviewed-by: jdv, prr
Diffstat (limited to 'src/java.desktop/share/classes/java/awt/Component.java')
| -rw-r--r-- | src/java.desktop/share/classes/java/awt/Component.java | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/java.desktop/share/classes/java/awt/Component.java b/src/java.desktop/share/classes/java/awt/Component.java index 7b63b1b111c..ad19383cd58 100644 --- a/src/java.desktop/share/classes/java/awt/Component.java +++ b/src/java.desktop/share/classes/java/awt/Component.java @@ -716,6 +716,9 @@ public abstract class Component implements ImageObserver, MenuContainer, return acc; } + /** + * Whether the component is packed or not; + */ boolean isPacked = false; /** @@ -8328,7 +8331,7 @@ public abstract class Component implements ImageObserver, MenuContainer, return hasFocus(); } - /* + /** * Used to disallow auto-focus-transfer on disposal of the focus owner * in the process of disposing its parent container. */ @@ -8903,7 +8906,8 @@ public abstract class Component implements ImageObserver, MenuContainer, * The non-serializable listeners are detected and * no attempt is made to serialize them. * - * @param s the {@code ObjectOutputStream} to write + * @param s the {@code ObjectOutputStream} to write + * @throws IOException if an I/O error occurs * @serialData {@code null} terminated sequence of * 0 or more pairs; the pair consists of a {@code String} * and an {@code Object}; the {@code String} indicates @@ -8974,7 +8978,10 @@ public abstract class Component implements ImageObserver, MenuContainer, * of events fired by the component. * Unrecognized keys or values will be ignored. * - * @param s the {@code ObjectInputStream} to read + * @param s the {@code ObjectInputStream} to read + * @throws ClassNotFoundException if the class of a serialized object could + * not be found + * @throws IOException if an I/O error occurs * @see #writeObject(ObjectOutputStream) */ private void readObject(ObjectInputStream s) |
