Skip to content

Commit

Permalink
4934362: see also refers to self
Browse files Browse the repository at this point in the history
Reviewed-by: prr, serb, aivanov
  • Loading branch information
prsadhuk committed Feb 6, 2023
1 parent 8f195ff commit ab528ce
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
7 changes: 4 additions & 3 deletions src/java.desktop/share/classes/java/awt/Component.java
Expand Up @@ -2265,7 +2265,8 @@ public void resize(int width, int height) {
* @param d the dimension specifying the new size
* of this component
* @throws NullPointerException if {@code d} is {@code null}
* @see #setSize
* @see #setSize(int, int)
* @see #getSize
* @see #setBounds
* @see #invalidate
* @since 1.1
Expand Down Expand Up @@ -8562,7 +8563,7 @@ public void addPropertyChangeListener(
*
* @see #addPropertyChangeListener
* @see #getPropertyChangeListeners
* @see #removePropertyChangeListener(java.lang.String,java.beans.PropertyChangeListener)
* @see #removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)
*/
public void removePropertyChangeListener(
PropertyChangeListener listener) {
Expand Down Expand Up @@ -8626,7 +8627,7 @@ public PropertyChangeListener[] getPropertyChangeListeners() {
*
* @see #removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)
* @see #getPropertyChangeListeners(java.lang.String)
* @see #addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)
* @see #addPropertyChangeListener(java.beans.PropertyChangeListener)
*/
public void addPropertyChangeListener(
String propertyName,
Expand Down
2 changes: 1 addition & 1 deletion src/java.desktop/share/classes/java/awt/List.java
Expand Up @@ -1697,7 +1697,7 @@ public Color getBackground() {
* Set the background color of this object.
*
* @param c the new Color for the background
* @see #setBackground
* @see #getBackground
*/
public void setBackground(Color c) {
parent.setBackground(c);
Expand Down
3 changes: 1 addition & 2 deletions src/java.desktop/share/classes/java/awt/MediaTracker.java
Expand Up @@ -418,7 +418,6 @@ public void waitForAll() throws InterruptedException {
* @return {@code true} if all images were successfully
* loaded; {@code false} otherwise
* @see java.awt.MediaTracker#waitForID(int)
* @see java.awt.MediaTracker#waitForAll(long)
* @see java.awt.MediaTracker#isErrorAny
* @see java.awt.MediaTracker#isErrorID
* @throws InterruptedException if any thread has
Expand Down Expand Up @@ -527,7 +526,7 @@ public boolean checkID(int id) {
* @return {@code true} if all images have finished loading,
* have been aborted, or have encountered
* an error; {@code false} otherwise
* @see java.awt.MediaTracker#checkID(int, boolean)
* @see java.awt.MediaTracker#checkID(int)
* @see java.awt.MediaTracker#checkAll()
* @see java.awt.MediaTracker#isErrorAny()
* @see java.awt.MediaTracker#isErrorID(int)
Expand Down
Expand Up @@ -67,7 +67,7 @@ public interface AccessibleComponent {
* Sets the background color of this object.
*
* @param c the new color for the background
* @see #setBackground
* @see #getBackground
*/
public void setBackground(Color c);

Expand Down
Expand Up @@ -288,7 +288,7 @@ public class AccessibleState extends AccessibleBundle {
* Indicates the orientation of this object is vertical. This is usually
* associated with objects such as scrollbars, sliders, and progress bars.
*
* @see #VERTICAL
* @see #HORIZONTAL
* @see AccessibleRole#SCROLL_BAR
* @see AccessibleRole#SLIDER
* @see AccessibleRole#PROGRESS_BAR
Expand All @@ -300,7 +300,7 @@ public class AccessibleState extends AccessibleBundle {
* Indicates the orientation of this object is horizontal. This is usually
* associated with objects such as scrollbars, sliders, and progress bars.
*
* @see #HORIZONTAL
* @see #VERTICAL
* @see AccessibleRole#SCROLL_BAR
* @see AccessibleRole#SLIDER
* @see AccessibleRole#PROGRESS_BAR
Expand Down
2 changes: 1 addition & 1 deletion src/java.desktop/share/classes/javax/swing/JComboBox.java
Expand Up @@ -155,7 +155,7 @@ public class JComboBox<E> extends JComponent
* This protected field is implementation specific. Do not access directly
* or override. Use the accessor methods instead.
*
* @see #isEditable
* @see #isEditable()
* @see #setEditable
*/
protected boolean isEditable = false;
Expand Down
2 changes: 1 addition & 1 deletion src/java.desktop/share/classes/javax/swing/JList.java
Expand Up @@ -717,7 +717,7 @@ public int getFixedCellWidth() {
*
* @param width the width to be used for all cells in the list
* @see #setPrototypeCellValue
* @see #setFixedCellWidth
* @see #getFixedCellWidth
* @see JComponent#addPropertyChangeListener
*/
@BeanProperty(visualUpdate = true, description
Expand Down
2 changes: 1 addition & 1 deletion src/java.desktop/share/classes/javax/swing/JPopupMenu.java
Expand Up @@ -542,7 +542,7 @@ public String getLabel() {
*
* @param label a string specifying the label for the popup menu
*
* @see #setLabel
* @see #getLabel
*/
@BeanProperty(description
= "The label for the popup menu.")
Expand Down
Expand Up @@ -517,7 +517,7 @@ public void setColumnIdentifiers(Object[] newIdentifiers) {
*
* @param columnCount the new number of columns in the model
*
* @see #setColumnCount
* @see #setRowCount
* @since 1.3
*/
public void setColumnCount(int columnCount) {
Expand Down
20 changes: 10 additions & 10 deletions src/java.desktop/share/classes/javax/swing/text/View.java
Expand Up @@ -349,7 +349,6 @@ public void setParent(View parent) {
* returns 0.
*
* @return the number of views &gt;= 0
* @see View#getViewCount
*/
public int getViewCount() {
return 0;
Expand Down Expand Up @@ -698,7 +697,8 @@ public Shape modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Sha
* @param e the change information from the associated document
* @param a the current allocation of the view
* @param f the factory to use to rebuild if the view has children
* @see View#insertUpdate
* @see View#removeUpdate
* @see View#changedUpdate
*/
public void insertUpdate(DocumentEvent e, Shape a, ViewFactory f) {
if (getViewCount() > 0) {
Expand Down Expand Up @@ -739,7 +739,8 @@ public void insertUpdate(DocumentEvent e, Shape a, ViewFactory f) {
* @param e the change information from the associated document
* @param a the current allocation of the view
* @param f the factory to use to rebuild if the view has children
* @see View#removeUpdate
* @see View#insertUpdate
* @see View#changedUpdate
*/
public void removeUpdate(DocumentEvent e, Shape a, ViewFactory f) {
if (getViewCount() > 0) {
Expand Down Expand Up @@ -780,7 +781,8 @@ public void removeUpdate(DocumentEvent e, Shape a, ViewFactory f) {
* @param e the change information from the associated document
* @param a the current allocation of the view
* @param f the factory to use to rebuild if the view has children
* @see View#changedUpdate
* @see View#insertUpdate
* @see View#removeUpdate
*/
public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) {
if (getViewCount() > 0) {
Expand All @@ -802,7 +804,6 @@ public void changedUpdate(DocumentEvent e, Shape a, ViewFactory f) {
* Fetches the model associated with the view.
*
* @return the view model, <code>null</code> if none
* @see View#getDocument
*/
public Document getDocument() {
return elem.getDocument();
Expand All @@ -813,7 +814,7 @@ public Document getDocument() {
* responsible.
*
* @return the starting offset into the model &gt;= 0
* @see View#getStartOffset
* @see View#getEndOffset
*/
public int getStartOffset() {
return elem.getStartOffset();
Expand All @@ -824,7 +825,7 @@ public int getStartOffset() {
* responsible.
*
* @return the ending offset into the model &gt;= 0
* @see View#getEndOffset
* @see View#getStartOffset
*/
public int getEndOffset() {
return elem.getEndOffset();
Expand All @@ -836,7 +837,6 @@ public int getEndOffset() {
* entire portion of the element.
*
* @return the subject
* @see View#getElement
*/
public Element getElement() {
return elem;
Expand Down Expand Up @@ -1339,7 +1339,7 @@ protected void updateLayout(DocumentEvent.ElementChange ec,
* @return the bounding box of the given position is returned
* @throws BadLocationException if the given position does
* not represent a valid location in the associated document
* @see View#modelToView
* @see View#viewToModel
* @deprecated
*/
@Deprecated
Expand All @@ -1357,7 +1357,7 @@ public Shape modelToView(int pos, Shape a) throws BadLocationException {
* @param a the allocated region in which to render
* @return the location within the model that best represents the
* given point in the view &gt;= 0
* @see View#viewToModel
* @see View#modelToView
* @deprecated
*/
@Deprecated
Expand Down

1 comment on commit ab528ce

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.