cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r454074 - /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ToManyList.java
Date Sun, 08 Oct 2006 04:13:09 GMT
Author: aadamchik
Date: Sat Oct  7 21:13:09 2006
New Revision: 454074

URL: http://svn.apache.org/viewvc?view=rev&rev=454074
Log:
javadocs - removing obsolete link to user guide

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ToManyList.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ToManyList.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ToManyList.java?view=diff&rev=454074&r1=454073&r2=454074
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ToManyList.java
(original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/access/ToManyList.java
Sat Oct  7 21:13:09 2006
@@ -37,10 +37,6 @@
  * A list that holds objects for to-many relationships. All operations, except for
  * resolving the list from DB, are not synchronized. The safest way to implement custom
  * synchronization is to synchronize on parent ObjectStore.
- * <p>
- * <i>For more information see <a href="../../../../../../userguide/index.html"
- * target="_top">Cayenne User Guide.</a></i>
- * </p>
  * 
  * @author Andrus Adamchik
  */
@@ -358,12 +354,13 @@
             removedFromUnresolved = new LinkedList();
         }
 
-        // No point in adding a new or transient object -- these will never be fetched from
the database.
+        // No point in adding a new or transient object -- these will never be fetched
+        // from the database.
         boolean shouldAddToRemovedFromUnresolvedList = true;
         if (object instanceof DataObject) {
             DataObject dataObject = (DataObject) object;
-            if ( (dataObject.getPersistenceState() == PersistenceState.TRANSIENT)
-              || (dataObject.getPersistenceState() == PersistenceState.NEW) ) {
+            if ((dataObject.getPersistenceState() == PersistenceState.TRANSIENT)
+                    || (dataObject.getPersistenceState() == PersistenceState.NEW)) {
                 shouldAddToRemovedFromUnresolvedList = false;
             }
         }
@@ -376,7 +373,7 @@
         // if an object was present in the list
         return true;
     }
-    
+
     public String toString() {
         return getClass().getName() + "@" + System.identityHashCode(this);
     }



Mime
View raw message