From 8ec46e924cfce5f9a925324cbd40c60d49b27d8f Mon Sep 17 00:00:00 2001 From: Alan Davis Date: Thu, 3 Nov 2016 13:11:24 +0000 Subject: [PATCH] Merged 5.2.N (5.2.1) to HEAD (5.2) 130543 aepure: REPO-1158: Removed extra space from the received message. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@132143 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/java/org/alfresco/rest/api/impl/NodesImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/java/org/alfresco/rest/api/impl/NodesImpl.java b/source/java/org/alfresco/rest/api/impl/NodesImpl.java index 1889c85098..d3cab8822e 100644 --- a/source/java/org/alfresco/rest/api/impl/NodesImpl.java +++ b/source/java/org/alfresco/rest/api/impl/NodesImpl.java @@ -2966,7 +2966,7 @@ public class NodesImpl implements Nodes if (!nodeMatches(nodeRef, Collections.singleton(ContentModel.TYPE_CONTENT), null, false)) { - throw new InvalidArgumentException("Node of type cm:content or a subtype is expected: " + nodeId); + throw new InvalidArgumentException("Node of type cm:content or a subtype is expected: " + nodeId); } lockInfo = validateLockInformation(lockInfo);