jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r632866 - /jackrabbit/trunk/jackrabbit-ocm/src/main/java/org/apache/jackrabbit/ocm/mapper/model/ClassDescriptor.java
Date Sun, 02 Mar 2008 23:11:53 GMT
Author: clombart
Date: Sun Mar  2 15:11:52 2008
New Revision: 632866

URL: http://svn.apache.org/viewvc?rev=632866&view=rev
Log:
Patch applied for issue JCR-1398

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=632866&r1=632865&r2=632866&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
Sun Mar  2 15:11:52 2008
@@ -288,7 +288,7 @@
      * @return true if the class has an ID
      */
     public boolean hasIdField() {
-        return (this.idFieldDescriptor != null && ! this.idFieldDescriptor.equals(""));
+        return (this.idFieldDescriptor != null && this.idFieldDescriptor.isId());
     }
 
     /**



Mime
View raw message