svn commit: r489822 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/Identity.java

[email protected]
Newsgroups gmane.comp.jakarta.ojb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.