Fix for ALF-16796 CMIS 0.8 TCK - document with no content incorrectly reports mimetype as "" and zero length content

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@43619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2012-11-14 20:30:02 +00:00
parent 8642f05890
commit 49a5e13574
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ public class ContentStreamLengthProperty extends AbstractProperty
{ {
return contentData.getSize(); return contentData.getSize();
} }
return 0L; return null;
} }
public QName getMappedProperty() public QName getMappedProperty()

View File

@@ -56,7 +56,7 @@ public class ContentStreamMimetypeProperty extends AbstractProperty
{ {
return contentData.getMimetype(); return contentData.getMimetype();
} }
return ""; return null;
} }
public String getLuceneFieldName() public String getLuceneFieldName()