cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mgen...@apache.org
Subject svn commit: r532563 - /cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java
Date Thu, 26 Apr 2007 01:53:27 GMT
Author: mgentry
Date: Wed Apr 25 18:53:27 2007
New Revision: 532563

URL: http://svn.apache.org/viewvc?view=rev&rev=532563
Log:
Fixed CAY-781

Modified:
    cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java

Modified: cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java
URL: http://svn.apache.org/viewvc/cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java?view=diff&rev=532563&r1=532562&r2=532563
==============================================================================
--- cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java
(original)
+++ cayenne/main/branches/STABLE-1.2/cayenne/cayenne-java/src/cayenne/java/org/objectstyle/cayenne/CayenneDataObject.java
Wed Apr 25 18:53:27 2007
@@ -165,7 +165,7 @@
         int pathIndex = 0;
 
         for (int i = 0; i < length; i++) {
-            pathIndex += tokenized[i].length();
+            pathIndex += tokenized[i].length() + 1;
 
             object = dataObject.readSimpleProperty(tokenized[i]);
 
@@ -782,4 +782,4 @@
             this.persistenceState = PersistenceState.TRANSIENT;
         }
     }
-}
\ No newline at end of file
+}



Mime
View raw message