jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r960002 - /jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeUtil.java
Date Fri, 02 Jul 2010 14:26:01 GMT
Author: stefan
Date: Fri Jul  2 14:26:01 2010
New Revision: 960002

URL: http://svn.apache.org/viewvc?rev=960002&view=rev
Log:
trivial - fixed typos/comments

Modified:
    jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeUtil.java

Modified: jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeUtil.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeUtil.java?rev=960002&r1=960001&r2=960002&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeUtil.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/api/nodetype/NodeTypeUtil.java
Fri Jul  2 14:26:01 2010
@@ -67,7 +67,7 @@ public class NodeTypeUtil {
         NodeTypeManager manager = session.getWorkspace().getNodeTypeManager();
         NodeTypeIterator types = manager.getAllNodeTypes();
 
-        boolean overjump = false;
+        boolean skip = false;
 
         while (types.hasNext()) {
             NodeType type = types.nextNodeType();
@@ -120,17 +120,17 @@ public class NodeTypeUtil {
 
                 if (!residual) {
                     // if another child node def is a residual definition
-                    // overjump the current node type
+                    // skip the current node type
                     NodeDefinition nodeDefsAll[] = type.getChildNodeDefinitions();
                     for (int j = 0; j < nodeDefsAll.length; j++) {
                         if (nodeDefsAll[j].getName().equals("*")) {
-                            overjump = true;
+                            skip = true;
                             break;
                         }
                     }
-                    if (overjump) {
+                    if (skip) {
                         // break the loop of the current child not defs
-                        overjump = false;
+                        skip = false;
                         break;
                     }
                 }



Mime
View raw message