groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: fix method access on two methods - accidental change during an earlier cherry-pick
Date Sat, 09 Jul 2016 00:32:40 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 380ae614a -> a009d432a


fix method access on two methods - accidental change during an earlier cherry-pick


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

Branch: refs/heads/master
Commit: a009d432a7daa83094d59181addb14f64d0f857a
Parents: 380ae61
Author: paulk <paulk@asert.com.au>
Authored: Sat Jul 9 10:32:29 2016 +1000
Committer: paulk <paulk@asert.com.au>
Committed: Sat Jul 9 10:32:29 2016 +1000

----------------------------------------------------------------------
 src/main/groovy/lang/ObjectRange.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/a009d432/src/main/groovy/lang/ObjectRange.java
----------------------------------------------------------------------
diff --git a/src/main/groovy/lang/ObjectRange.java b/src/main/groovy/lang/ObjectRange.java
index 6f83ce4..d198e42 100644
--- a/src/main/groovy/lang/ObjectRange.java
+++ b/src/main/groovy/lang/ObjectRange.java
@@ -527,7 +527,7 @@ public class ObjectRange extends AbstractList implements Range {
      * @param value the value to increment
      * @return the incremented value
      */
-    private Object increment(Object value) {
+    protected Object increment(Object value) {
         return InvokerHelper.invokeMethod(value, "next", null);
     }
 
@@ -537,7 +537,7 @@ public class ObjectRange extends AbstractList implements Range {
      * @param value the value to decrement
      * @return the decremented value
      */
-    private Object decrement(Object value) {
+    protected Object decrement(Object value) {
         return InvokerHelper.invokeMethod(value, "previous", null);
     }
 


Mime
View raw message