chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1380673 - /chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/counttypes.groovy
Date Tue, 04 Sep 2012 14:54:51 GMT
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) { }
     



Mime
View raw message