db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r489816 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/CollectionDescriptor.java
Date Sat, 23 Dec 2006 01:27:31 GMT
Author: arminw
Date: Fri Dec 22 17:27:30 2006
New Revision: 489816

URL: http://svn.apache.org/viewvc?view=rev&rev=489816
Log:
minor improvement

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

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/CollectionDescriptor.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/CollectionDescriptor.java?view=diff&rev=489816&r1=489815&r2=489816
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/CollectionDescriptor.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/metadata/CollectionDescriptor.java
Fri Dec 22 17:27:30 2006
@@ -325,9 +325,7 @@
     {
         if (m_hasProxyItems == null)
         {
-            DescriptorRepository repo = getClassDescriptor().getRepository();
-            ClassDescriptor cld = repo.getDescriptorFor(getItemClass());
-            m_hasProxyItems = hasProxyItems(cld);
+            m_hasProxyItems = hasProxyItems(getItemClassDescriptor());
         }
 
         return m_hasProxyItems.booleanValue();



---------------------------------------------------------------------
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