You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2011/04/26 22:56:59 UTC

svn commit: r1096908 - /chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/CMIS.groovy

Author: fmui
Date: Tue Apr 26 20:56:58 2011
New Revision: 1096908

URL: http://svn.apache.org/viewvc?rev=1096908&view=rev
Log:
fixed Groovy script

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

Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/CMIS.groovy
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/CMIS.groovy?rev=1096908&r1=1096907&r2=1096908&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/CMIS.groovy (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/resources/scripts/CMIS.groovy Tue Apr 26 20:56:58 2011
@@ -250,7 +250,7 @@ class CMIS {
         CmisObject parentFolder = getFolder(parent)
         
         def name = file.getName()
-        def mimetype = org.apache.chemistry.opencmis.workbench.model.MIMETypes.getMIMEType(file)
+        def mimetype = org.apache.chemistry.opencmis.commons.impl.MimeTypes.getMIMEType(file)
         
         def properties = [
                     (PropertyIds.OBJECT_TYPE_ID): type,