Skip to content

Commit 9443d02

Browse files
Fix typos in CSSParser.java
I suspect a typo in the documentation comments.
1 parent 4d1bc1b commit 9443d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java.desktop/share/classes/javax/swing/text/html/CSSParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
* <a href=http://www.w3.org/TR/REC-CSS1>http://www.w3.org/TR/REC-CSS1</a>.
5050
* If an error results in parsing, a RuntimeException will be thrown.
5151
* <p>
52-
* This will preserve case. If the callback wishes to treat certain poritions
52+
* This will preserve case. If the callback wishes to treat certain portions
5353
* case insensitively (such as selectors), it should use toLowerCase, or
5454
* something similar.
5555
*

0 commit comments

Comments
 (0)