changeset 4052:e4e3dd6a7930

7031376: Typos in javadoc of TimSort classes Reviewed-by: darcy Contributed-by: jjb@google.com
author darcy
date Fri, 25 Mar 2011 18:47:57 -0700
parents cf743d5ca712
children 86ace035d04d
files src/share/classes/java/util/ComparableTimSort.java src/share/classes/java/util/TimSort.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/ComparableTimSort.java	Fri Mar 25 18:26:19 2011 -0700
+++ b/src/share/classes/java/util/ComparableTimSort.java	Fri Mar 25 18:47:57 2011 -0700
@@ -241,7 +241,7 @@
              * pivot < all in [left, start), so pivot belongs at left.  Note
              * that if there are elements equal to pivot, left points to the
              * first slot after them -- that's why this sort is stable.
-             * Slide elements over to make room to make room for pivot.
+             * Slide elements over to make room for pivot.
              */
             int n = start - left;  // The number of elements to move
             // Switch is just an optimization for arraycopy in default case
--- a/src/share/classes/java/util/TimSort.java	Fri Mar 25 18:26:19 2011 -0700
+++ b/src/share/classes/java/util/TimSort.java	Fri Mar 25 18:47:57 2011 -0700
@@ -274,7 +274,7 @@
              * pivot < all in [left, start), so pivot belongs at left.  Note
              * that if there are elements equal to pivot, left points to the
              * first slot after them -- that's why this sort is stable.
-             * Slide elements over to make room to make room for pivot.
+             * Slide elements over to make room for pivot.
              */
             int n = start - left;  // The number of elements to move
             // Switch is just an optimization for arraycopy in default case