r7113 - dumbhippo/trunk/server/src/com/dumbhippo/dm/fetch



Author: otaylor
Date: 2007-12-21 12:58:31 -0600 (Fri, 21 Dec 2007)
New Revision: 7113

Modified:
   dumbhippo/trunk/server/src/com/dumbhippo/dm/fetch/BoundFetch.java
Log:
Fix 'old' vs. 'new' typo

Modified: dumbhippo/trunk/server/src/com/dumbhippo/dm/fetch/BoundFetch.java
===================================================================
--- dumbhippo/trunk/server/src/com/dumbhippo/dm/fetch/BoundFetch.java	2007-12-21 16:23:28 UTC (rev 7112)
+++ dumbhippo/trunk/server/src/com/dumbhippo/dm/fetch/BoundFetch.java	2007-12-21 18:58:31 UTC (rev 7113)
@@ -126,7 +126,7 @@
 				 */
 				int oldMax = 0;
 				if (oldOrdering == classOrdering) {
-					oldMax = oldFetch.properties[newIndex].getMax();
+					oldMax = oldFetch.properties[oldIndex].getMax();
 					if (oldMax < property.getDefaultMaxFetch())
 						oldMax = property.getDefaultMaxFetch();
 				}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]