db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/core/proxy IndirectionHandlerDefaultImpl.java
Date Thu, 10 Jun 2004 22:49:53 GMT
tomdz       2004/06/10 15:49:53

  Modified:    src/java/org/apache/ojb/broker/core/proxy
                        IndirectionHandlerDefaultImpl.java
  Log:
  Better comment for the previous change
  
  Revision  Changes    Path
  1.5       +5 -5      db-ojb/src/java/org/apache/ojb/broker/core/proxy/IndirectionHandlerDefaultImpl.java
  
  Index: IndirectionHandlerDefaultImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/core/proxy/IndirectionHandlerDefaultImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- IndirectionHandlerDefaultImpl.java	10 Jun 2004 22:44:06 -0000	1.4
  +++ IndirectionHandlerDefaultImpl.java	10 Jun 2004 22:49:53 -0000	1.5
  @@ -283,11 +283,11 @@
           {
               // [tomdz]
               // Previously the hashcode of the identity would have been used
  -            // but this requires a compatible hashcode implemenation in the
  -            // proxied object (which is somewhat unlikely)
  +            // but this requires a compatible hashCode implementation in the
  +            // proxied object (which is somewhat unlikely, even the default
  +            // hashCode implementation does not fulfill this requirement)
               // for those that require this behavior, a custom indirection
  -            // handler can be used, or the System.identityHashCode(Object)
  -            // can be used on the identity
  +            // handler can be used, or the hashCode of the identity
               /*
               if ("hashCode".equals(methodName))
               {
  
  
  

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