db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r489822 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/Identity.java
Date Sat, 23 Dec 2006 01:37:25 GMT
Author: arminw
Date: Fri Dec 22 17:37:24 2006
New Revision: 489822

URL: http://svn.apache.org/viewvc?view=rev&rev=489822
Log:
minor improvement, avoid redundant method calls

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/Identity.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/Identity.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/Identity.java?view=diff&rev=489822&r1=489821&r2=489822
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/Identity.java (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/Identity.java Fri Dec 22
17:37:24 2006
@@ -207,7 +207,7 @@
                     }
 
                     // identities must be unique accross extents !
-                    m_objectsTopLevelClass = targetBroker.getTopLevelClass(objectToIdentify.getClass());
+                    m_objectsTopLevelClass = cld.getTopLevelClass();
                     m_objectsRealClass = objectToIdentify.getClass();
 
                     // BRJ: definitely do NOT convertToSql



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message