6828204: NavigableSet.subSet() documentation refers to nonexistent parameters
authordarcy
Mon, 11 Jan 2010 15:35:28 -0800
changeset 4670 fb58a0e847a6
parent 4669 11d1dbd3598d
child 4671 568f212d297d
6828204: NavigableSet.subSet() documentation refers to nonexistent parameters Reviewed-by: martin
jdk/src/share/classes/java/util/NavigableMap.java
jdk/src/share/classes/java/util/NavigableSet.java
--- a/jdk/src/share/classes/java/util/NavigableMap.java	Mon Jan 11 16:04:05 2010 +0000
+++ b/jdk/src/share/classes/java/util/NavigableMap.java	Mon Jan 11 15:35:28 2010 -0800
@@ -298,7 +298,7 @@
      * Returns a view of the portion of this map whose keys range from
      * {@code fromKey} to {@code toKey}.  If {@code fromKey} and
      * {@code toKey} are equal, the returned map is empty unless
-     * {@code fromExclusive} and {@code toExclusive} are both true.  The
+     * {@code fromInclusive} and {@code toInclusive} are both true.  The
      * returned map is backed by this map, so changes in the returned map are
      * reflected in this map, and vice-versa.  The returned map supports all
      * optional map operations that this map supports.
--- a/jdk/src/share/classes/java/util/NavigableSet.java	Mon Jan 11 16:04:05 2010 +0000
+++ b/jdk/src/share/classes/java/util/NavigableSet.java	Mon Jan 11 15:35:28 2010 -0800
@@ -192,7 +192,7 @@
      * Returns a view of the portion of this set whose elements range from
      * {@code fromElement} to {@code toElement}.  If {@code fromElement} and
      * {@code toElement} are equal, the returned set is empty unless {@code
-     * fromExclusive} and {@code toExclusive} are both true.  The returned set
+     * fromInclusive} and {@code toInclusive} are both true.  The returned set
      * is backed by this set, so changes in the returned set are reflected in
      * this set, and vice-versa.  The returned set supports all optional set
      * operations that this set supports.