db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r489634 - /db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/accesslayer/RelationshipPrefetcherImpl.java
Date Fri, 22 Dec 2006 12:20:24 GMT
Author: arminw
Date: Fri Dec 22 04:20:24 2006
New Revision: 489634

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

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

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/accesslayer/RelationshipPrefetcherImpl.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/accesslayer/RelationshipPrefetcherImpl.java?view=diff&rev=489634&r1=489633&r2=489634
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/accesslayer/RelationshipPrefetcherImpl.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/java/org/apache/ojb/broker/accesslayer/RelationshipPrefetcherImpl.java
Fri Dec 22 04:20:24 2006
@@ -15,7 +15,6 @@
  * limitations under the License.
  */
 
-import org.apache.ojb.broker.PersistenceBroker;
 import org.apache.ojb.broker.PersistenceBrokerException;
 import org.apache.ojb.broker.core.PersistenceBrokerImpl;
 import org.apache.ojb.broker.core.ValueContainer;
@@ -116,8 +115,7 @@
      */
     protected Object[] getFkTargetValuesForObject(Object objOrProxy) throws PersistenceBrokerException
     {
-        PersistenceBroker pb = getBroker();
-        BrokerHelper helper = pb.serviceBrokerHelper();
+        BrokerHelper helper = getBroker().serviceBrokerHelper();
         ObjectReferenceDescriptor rds = getObjectReferenceDescriptor();
         
         ValueContainer[] values = helper.getFkTargetValuesForObject(rds, objOrProxy, false);
@@ -131,8 +129,7 @@
      */
     protected Object[] getFkValuesForObject(Object objOrProxy) throws PersistenceBrokerException
     {
-        PersistenceBroker pb = getBroker();
-        BrokerHelper helper = pb.serviceBrokerHelper();
+        BrokerHelper helper = getBroker().serviceBrokerHelper();
         ObjectReferenceDescriptor rds = getObjectReferenceDescriptor();
 
         ValueContainer[] values = helper.getFkValuesForObject(rds, objOrProxy, false);



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