changeset 2085:9d38ab65acff

6828204: NavigableSet.subSet() documentation refers to nonexistent parameters Reviewed-by: martin
author darcy
date Mon, 11 Jan 2010 15:35:28 -0800
parents fc5578368a0c
children ba74184a952c
files src/share/classes/java/util/NavigableMap.java src/share/classes/java/util/NavigableSet.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/NavigableMap.java	Mon Jan 11 16:04:05 2010 +0000
+++ b/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/src/share/classes/java/util/NavigableSet.java	Mon Jan 11 16:04:05 2010 +0000
+++ b/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.