Author: fmui
Date: Tue Sep  4 14:54:51 2012
New Revision: 1380673

URL: http://svn.apache.org/viewvc?rev=1380673&view=rev
Log:
Workbench: fixed type counting script

Modified:
    
chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/counttypes.groovy

Modified: 
chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/counttypes.groovy
URL: 
http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/counttypes.groovy?rev=1380673&r1=1380672&r2=1380673&view=diff
==============================================================================
--- 
chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/counttypes.groovy
 (original)
+++ 
chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/counttypes.groovy
 Tue Sep  4 14:54:51 2012
@@ -34,6 +34,7 @@ int countTypes(String typeId) {
 
     try {
         session.getTypeDescendants(typeId, -1, false).each { counter += 1 + 
count(it) }
+        counter++
     }
     catch(CmisBaseException e) { }
     


Reply via email to