You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2016/06/28 09:26:21 UTC

groovy git commit: GROOVY-7629: ObjectRange methods duplicate functionality and should not rely on size() (fix minor typo - closes #143)

Repository: groovy
Updated Branches:
  refs/heads/master 37f147dd8 -> 00f379050


GROOVY-7629: ObjectRange methods duplicate functionality and should not rely on size() (fix minor typo - closes #143)


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

Branch: refs/heads/master
Commit: 00f379050bba140939dfd0ba88f707db7e6581bc
Parents: 37f147d
Author: paulk <pa...@asert.com.au>
Authored: Tue Jun 28 19:26:04 2016 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Tue Jun 28 19:26:04 2016 +1000

----------------------------------------------------------------------
 src/main/groovy/lang/ObjectRange.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/00f37905/src/main/groovy/lang/ObjectRange.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/lang/ObjectRange.java b/src/main/groovy/lang/ObjectRange.java
index 529b070..927e1e8 100644
--- a/src/main/groovy/lang/ObjectRange.java
+++ b/src/main/groovy/lang/ObjectRange.java
@@ -158,7 +158,7 @@ public class ObjectRange extends AbstractList implements Range {
                     // starting with number will never reach a non-number, same for string
                     throw new IllegalArgumentException("Incompatible Argument classes for ObjectRange " + smaller.getClass() + ", " + larger.getClass());
                 }
-                // Since normalizing did not help, use original values at users risk
+                // Since normalizing did not help, use original values at user's risk
                 this.from = smaller;
                 this.to = larger;
             }