Skip to content

Commit

Permalink
6229853: BasicTextAreaUI:create incompletely documents the possible r…
Browse files Browse the repository at this point in the history
…eturned View types

Reviewed-by: aivanov, prr
  • Loading branch information
prsadhuk committed Oct 18, 2022
1 parent 358ac07 commit c33ca0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,10 @@ public Dimension getMinimumSize(JComponent c) {
}

/**
* Creates the view for an element. Returns a WrappedPlainView or
* PlainView.
* Creates a view for an element.
*
* @param elem the element
* @return the view
* @return the view for the element
*/
public View create(Element elem) {
Document doc = elem.getDocument();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ protected String getPropertyPrefix() {
}

/**
* Creates a view (FieldView) based on an element.
* Creates a view for an element.
*
* @param elem the element
* @return the view
* @return the view for the element
*/
public View create(Element elem) {
Document doc = elem.getDocument();
Expand Down

1 comment on commit c33ca0c

@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.