--- a/jdk/src/share/classes/javax/swing/tree/FixedHeightLayoutCache.java Tue Oct 29 16:35:20 2013 +0400
+++ b/jdk/src/share/classes/javax/swing/tree/FixedHeightLayoutCache.java Tue Oct 29 17:01:06 2013 +0400
@@ -936,7 +936,7 @@
}
/**
- * Recreates the receivers path, and all its childrens paths.
+ * Recreates the receivers path, and all its children's paths.
*/
protected void resetChildrenPaths(TreePath parentPath) {
removeMapping(this);
@@ -1079,7 +1079,7 @@
}
/**
- * Resets the receivers childrens rows. Starting with the child
+ * Resets the receivers children's rows. Starting with the child
* at <code>childIndex</code> (and <code>modelIndex</code>) to
* <code>newRow</code>. This uses <code>setRowAndChildren</code>
* to recursively descend children, and uses
@@ -1346,7 +1346,7 @@
return true;
}
else {
- // May have been in last childs bounds.
+ // May have been in last child's bounds.
int lastChildEndRow = 1 + child.row -
(child.childIndex - lastChild.childIndex);
@@ -1474,7 +1474,7 @@
/**
* An enumerator to iterate through visible nodes.
*/
- // This is very similiar to
+ // This is very similar to
// VariableHeightTreeState.VisibleTreeStateNodeEnumeration
private class VisibleFHTreeStateNodeEnumeration
implements Enumeration<TreePath>