Author: jens
Date: Wed Aug 1 14:29:42 2012
New Revision: 1368019
URL: http://svn.apache.org/viewvc?rev=1368019&view=rev
Log:
InMemory: fix bug with hasmoreitems in getChildren method
Modified:
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryNavigationServiceImpl.java
Modified:
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryNavigationServiceImpl.java
URL:
http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryNavigationServiceImpl.java?rev=1368019&r1=1368018&r2=1368019&view=diff
==============================================================================
---
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryNavigationServiceImpl.java
(original)
+++
chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/server/InMemoryNavigationServiceImpl.java
Wed Aug 1 14:29:42 2012
@@ -140,7 +140,7 @@ public class InMemoryNavigationServiceIm
validator.getChildren(context,repositoryId, folderId, extension);
int maxItemsInt = maxItems == null ? -1 : maxItems.intValue();
- int skipCountInt = skipCount == null ? -1 : skipCount.intValue();
+ int skipCountInt = skipCount == null ? 0 : skipCount.intValue();
String user = context.getUsername();
ObjectInFolderList res = getChildrenIntern(repositoryId, folderId,
filter, orderBy, includeAllowableActions,
includeRelationships, renditionFilter, includePathSegment,
maxItemsInt, skipCountInt, false,