jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r658860 - /jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/model/ClassDescriptor.java
Date Wed, 21 May 2008 20:50:08 GMT
Author: clombart
Date: Wed May 21 13:50:08 2008
New Revision: 658860

URL: http://svn.apache.org/viewvc?rev=658860&view=rev
Log:
Apply patch for JCR-1537

Modified:
    jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/model/ClassDescriptor.java

Modified: jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/model/ClassDescriptor.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/model/ClassDescriptor.java?rev=658860&r1=658859&r2=658860&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/model/ClassDescriptor.java
(original)
+++ jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/model/ClassDescriptor.java
Wed May 21 13:50:08 2008
@@ -288,7 +288,8 @@
      * @return true if the class has an ID
      */
     public boolean hasIdField() {
-        return (this.idFieldDescriptor != null && this.idFieldDescriptor.isId());
+        return (this.getIdFieldDescriptor() != null
+        		&& this.getIdFieldDescriptor().isId());
     }
 
     /**



Mime
View raw message