groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: typo for private method name
Date Mon, 05 Sep 2016 01:29:29 GMT
Repository: groovy
Updated Branches:
  refs/heads/master d6781a4a8 -> 3a6121a47


typo for private method name


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

Branch: refs/heads/master
Commit: 3a6121a47bd4d2ac4aff8cf47ec83f482574872f
Parents: d6781a4
Author: paulk <paulk@asert.com.au>
Authored: Mon Sep 5 11:29:17 2016 +1000
Committer: paulk <paulk@asert.com.au>
Committed: Mon Sep 5 11:29:17 2016 +1000

----------------------------------------------------------------------
 src/main/org/codehaus/groovy/control/ResolveVisitor.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/3a6121a4/src/main/org/codehaus/groovy/control/ResolveVisitor.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/control/ResolveVisitor.java b/src/main/org/codehaus/groovy/control/ResolveVisitor.java
index 0a018c0..b9f5e9f 100644
--- a/src/main/org/codehaus/groovy/control/ResolveVisitor.java
+++ b/src/main/org/codehaus/groovy/control/ResolveVisitor.java
@@ -1285,14 +1285,14 @@ public class ResolveVisitor extends ClassCodeExpressionTransformer
{
             resolveOrFail(anInterface, node, true);
         }
 
-        checkCyclicInheritence(node, node.getUnresolvedSuperClass(), node.getInterfaces());
+        checkCyclicInheritance(node, node.getUnresolvedSuperClass(), node.getInterfaces());
         
         super.visitClass(node);
 
         currentClass = oldNode;
     }
     
-    private void checkCyclicInheritence(ClassNode originalNode, ClassNode parentToCompare,
ClassNode[] interfacesToCompare) {
+    private void checkCyclicInheritance(ClassNode originalNode, ClassNode parentToCompare,
ClassNode[] interfacesToCompare) {
         if(!originalNode.isInterface()) {
             if(parentToCompare == null) return;
             if(originalNode == parentToCompare.redirect()) {
@@ -1308,7 +1308,7 @@ public class ResolveVisitor extends ClassCodeExpressionTransformer {
                 }
             }
             if(parentToCompare == ClassHelper.OBJECT_TYPE) return;
-            checkCyclicInheritence(originalNode, parentToCompare.getUnresolvedSuperClass(),
null);
+            checkCyclicInheritance(originalNode, parentToCompare.getUnresolvedSuperClass(),
null);
         } else {
             if(interfacesToCompare != null && interfacesToCompare.length > 0)
{
                 // check interfaces at this level first
@@ -1320,7 +1320,7 @@ public class ResolveVisitor extends ClassCodeExpressionTransformer {
                 }
                 // check next level of interfaces
                 for(ClassNode intf : interfacesToCompare) {
-                    checkCyclicInheritence(originalNode, null, intf.getInterfaces());
+                    checkCyclicInheritance(originalNode, null, intf.getInterfaces());
                 }
             } else {
                 return;


Mime
View raw message