Skip to content

Commit

Permalink
Update src/java.desktop/share/classes/javax/swing/text/html/FormView.…
Browse files Browse the repository at this point in the history
…java


FormView.java : Remove a redundant space.

Co-authored-by: Andrey Turbanov <turbanoff@gmail.com>
  • Loading branch information
scientificware and turbanoff committed Aug 30, 2023
1 parent e6308e0 commit 0e08107
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ private JComponent createInputComponent(AttributeSet attr, Object model) {
@SuppressWarnings("deprecation")
URL srcURL = new URL(base, srcAtt);
ImageIcon icon = new ImageIcon(srcURL);
button = icon.getImageLoadStatus() == MediaTracker.COMPLETE ? new JButton(icon) : new JButton(altAtt);
button = icon.getImageLoadStatus() == MediaTracker.COMPLETE ? new JButton(icon) : new JButton(altAtt);
} catch (MalformedURLException e) {
button = new JButton(srcAtt);
}
Expand Down

0 comments on commit 0e08107

Please sign in to comment.