db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker Identity.java
Date Fri, 18 Jul 2003 17:19:35 GMT
brj         2003/07/18 10:19:35

  Modified:    src/java/org/apache/ojb/broker Identity.java
  Log:
  removed unnecessary cast
  
  Revision  Changes    Path
  1.22      +2 -2      db-ojb/src/java/org/apache/ojb/broker/Identity.java
  
  Index: Identity.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/Identity.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Identity.java	16 Jul 2003 15:53:42 -0000	1.21
  +++ Identity.java	18 Jul 2003 17:19:34 -0000	1.22
  @@ -171,7 +171,7 @@
                   // Proxy p = (Proxy) objectToIdentitify;
                   // InvocationHandler h = Proxy.getInvocationHandler(p);
                   // IndirectionHandler ih = (IndirectionHandler) h;
  -                IndirectionHandler ih = (IndirectionHandler) Proxy.getInvocationHandler((Proxy)
objectToIdentitify);
  +                IndirectionHandler ih = (IndirectionHandler) Proxy.getInvocationHandler(objectToIdentitify);
                   Identity sourceOID = ih.getIdentity();
                   this.objectsTopLevelClass = sourceOID.objectsTopLevelClass;
                   this.objectsRealClass = sourceOID.objectsRealClass;
  
  
  

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