jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r618326 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDef.java
Date Mon, 04 Feb 2008 16:59:00 GMT
Author: stefan
Date: Mon Feb  4 08:59:00 2008
New Revision: 618326

URL: http://svn.apache.org/viewvc?rev=618326&view=rev
Log:
abstractStatus field not accounted for in clone() and equals()

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDef.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDef.java?rev=618326&r1=618325&r2=618326&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDef.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/nodetype/NodeTypeDef.java
Mon Feb  4 08:59:00 2008
@@ -314,6 +314,7 @@
         clone.supertypes = supertypes; // immutable, thus ok to share
         clone.mixin = mixin;
         clone.orderableChildNodes = orderableChildNodes;
+        clone.abstractStatus = abstractStatus;
         clone.nodeDefs = (HashSet) nodeDefs.clone();
         clone.propDefs = (HashSet) propDefs.clone();
         return clone;
@@ -330,6 +331,7 @@
                     && Arrays.equals(getSupertypes(), other.getSupertypes())
                     && mixin == other.mixin
                     && orderableChildNodes == other.orderableChildNodes
+                    && abstractStatus == other.abstractStatus
                     && propDefs.equals(other.propDefs)
                     && nodeDefs.equals(other.nodeDefs);
         }



Mime
View raw message