db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/odmg ObjectEnvelope.java
Date Tue, 06 Sep 2005 11:41:42 GMT
arminw      2005/09/06 04:41:42

  Modified:    src/java/org/apache/ojb/odmg Tag: OJB_1_0_RELEASE
                        ObjectEnvelope.java
  Log:
  update javadoc, code cleanup
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.32.2.18 +6 -4      db-ojb/src/java/org/apache/ojb/odmg/ObjectEnvelope.java
  
  Index: ObjectEnvelope.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/ObjectEnvelope.java,v
  retrieving revision 1.32.2.17
  retrieving revision 1.32.2.18
  diff -u -r1.32.2.17 -r1.32.2.18
  --- ObjectEnvelope.java	6 Sep 2005 11:16:24 -0000	1.32.2.17
  +++ ObjectEnvelope.java	6 Sep 2005 11:41:41 -0000	1.32.2.18
  @@ -529,8 +529,12 @@
       }
   
       /**
  -     * checks whether object and internal clone differ and returns true if so, returns
false else.
  -     * @return boolean
  +     * For internal use only! Only call immediately before commit to guarantee
  +     * that all changes can be detected (because this method cache the detected "change
state"
  +     * thus on eager call changes could be ignored). Checks whether object and internal
clone
  +     * differ and returns <em>true</em> if so, returns <em>false</em>
else.
  +     *
  +     * @return boolean The result.
        */
       public boolean hasChanged(PersistenceBroker broker)
       {
  @@ -971,7 +975,6 @@
           private CollectionProxy collectionHandler;
           private int status;
           private Map references;
  -       // private Collection proxyData;
   
           public EqualsColHelper(CollectionDescriptor des, Object collOrArray)
           {
  @@ -1009,7 +1012,6 @@
                   collectionHandler.removeListener(this);
                   collectionHandler = null;
               }
  -            hasChanged = null;
           }
   
           void assignReferenceObject(Object collOrArray)
  
  
  

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