Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)

120483 jvonka: FileFolder API - minor (fix typo)
   - edge-case, eg. unknown type of cm:link


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@126388 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 10:38:29 +00:00
parent 7cc4fda5ab
commit 82fb214ab0

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2005-2015 Alfresco Software Limited. * Copyright (C) 2005-2016 Alfresco Software Limited.
* *
* This file is part of Alfresco * This file is part of Alfresco
* *
@@ -604,7 +604,7 @@ public class NodesImpl implements Nodes
node = new Document(nodeRef, parentNodeRef, properties, mapUserInfo, sr); node = new Document(nodeRef, parentNodeRef, properties, mapUserInfo, sr);
node.setIsFolder(null); node.setIsFolder(null);
} }
if (type.equals(Type.DOCUMENT)) else if (type.equals(Type.DOCUMENT))
{ {
node = new Document(nodeRef, parentNodeRef, properties, mapUserInfo, sr); node = new Document(nodeRef, parentNodeRef, properties, mapUserInfo, sr);
} }