jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r469196 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/EffectiveNodeType.java
Date Mon, 30 Oct 2006 17:02:38 GMT
Author: stefan
Date: Mon Oct 30 09:02:37 2006
New Revision: 469196

URL: http://svn.apache.org/viewvc?view=rev&rev=469196
Log:
minor cleaning up 

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/EffectiveNodeType.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/EffectiveNodeType.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/EffectiveNodeType.java?view=diff&rev=469196&r1=469195&r2=469196
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/EffectiveNodeType.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/nodetype/EffectiveNodeType.java
Mon Oct 30 09:02:37 2006
@@ -615,7 +615,6 @@
                         break;
                     } catch (ConstraintViolationException e) {
                         cve = e;
-                        continue;
                     }
                 }
                 if (!satisfied) {
@@ -699,10 +698,7 @@
                         // found named node definition
                         return nd;
                     } else {
-                        if (nd.getDefaultPrimaryType() == null) {
-                            // no default node type defined, try next
-                            continue;
-                        } else {
+                        if (nd.getDefaultPrimaryType() != null) {
                             // found node definition with default node type
                             return nd;
                         }



Mime
View raw message