--- old/src/java.desktop/share/classes/java/awt/font/StyledParagraph.java 2014-08-21 20:51:19.064776700 +0400 +++ new/src/java.desktop/share/classes/java/awt/font/StyledParagraph.java 2014-08-21 20:51:18.778760400 +0400 @@ -47,7 +47,7 @@ * on a paragraph of styled text. *

* Currently, this class is optimized for a small number of intervals - * (preferrably 1). + * (preferably 1). */ final class StyledParagraph { @@ -262,7 +262,7 @@ /** * Return the index at which there is a different Font, GraphicAttribute, or - * Dcoration than at the given index. + * Decoration than at the given index. * @param index a valid index in the paragraph * @return the first index where there is a change in attributes from * those at index