chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r927737 - /incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-support/src/main/java/org/apache/opencmis/server/support/ObjectInfoHelper.java
Date Fri, 26 Mar 2010 08:56:24 GMT
Author: jens
Date: Fri Mar 26 08:56:24 2010
New Revision: 927737

URL: http://svn.apache.org/viewvc?rev=927737&view=rev
Log:
fix original link (just omit for now)

Modified:
    incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-support/src/main/java/org/apache/opencmis/server/support/ObjectInfoHelper.java

Modified: incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-support/src/main/java/org/apache/opencmis/server/support/ObjectInfoHelper.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-support/src/main/java/org/apache/opencmis/server/support/ObjectInfoHelper.java?rev=927737&r1=927736&r2=927737&view=diff
==============================================================================
--- incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-support/src/main/java/org/apache/opencmis/server/support/ObjectInfoHelper.java
(original)
+++ incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-support/src/main/java/org/apache/opencmis/server/support/ObjectInfoHelper.java
Fri Mar 26 08:56:24 2010
@@ -210,7 +210,7 @@ public class ObjectInfoHelper
           objInfo.setIsCurrentVersion(getBooleanProperty(properties, PropertyIds.CMIS_IS_LATEST_VERSION));

           objInfo.setVersionSeriesId(getStringProperty(properties, PropertyIds.CMIS_VERSION_SERIES_ID));
           objInfo.setWorkingCopyId(getStringProperty(properties, PropertyIds.CMIS_VERSION_SERIES_CHECKED_OUT_ID));
-          objInfo.setWorkingCopyOriginalId(getStringProperty(properties, PropertyIds.CMIS_VERSION_SERIES_CHECKED_OUT_ID));
+          objInfo.setWorkingCopyOriginalId(null);
         } else { // unversioned document
           objInfo.setIsCurrentVersion (true); 
           objInfo.setVersionSeriesId(null);
@@ -250,7 +250,7 @@ public class ObjectInfoHelper
         List<String> targetIds = new ArrayList<String>();
         getRelationshipIds(objData, sourceIds, targetIds);
         
-        // Relationships, currently not supported by in-memory provider
+        // Relationships, currently not supported
         objInfo.setSupportsRelationships(supportsRelationships);
         objInfo.setRelationshipSourceIds(sourceIds);
         objInfo.setRelationshipTargetIds(targetIds);



Mime
View raw message