Repository: incubator-groovy
Updated Branches:
  refs/heads/master ab4958d08 -> 5ae463832


corrected range operator doco on necessary conditions for range creation


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/f262b3ff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/f262b3ff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/f262b3ff

Branch: refs/heads/master
Commit: f262b3ffacf27fc69953f8b57f05288f94558666
Parents: ab4958d
Author: Shil S <shil.si...@gmail.com>
Authored: Sun Jul 26 15:42:08 2015 -0400
Committer: pascalschumacher <pascalschumac...@gmx.net>
Committed: Sat Aug 1 12:04:03 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/core-operators.adoc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/f262b3ff/src/spec/doc/core-operators.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-operators.adoc b/src/spec/doc/core-operators.adoc
index 0cd248b..1531ad1 100644
--- a/src/spec/doc/core-operators.adoc
+++ b/src/spec/doc/core-operators.adoc
@@ -532,7 +532,8 @@ 
include::{projectdir}/src/spec/test/OperatorsTest.groovy[tags=intrange,indent=0]
 <5> meaning that you can call the `size` method on it
 
 Ranges implementation is lightweight, meaning that only the lower and upper 
bounds are stored. You can create a range
-from any `Comparable` object. For example, you can create a range of 
characters this way:
+from any `Comparable` object that has `next()` and `previous()` methods to 
determine the next / previous item in the range.
+For example, you can create a range of characters this way:
 
 [source,groovy]
 ----

Reply via email to