From e616ff66ef71c8a040ec99f5cf96c8857853c803 Mon Sep 17 00:00:00 2001 From: Will Abson Date: Wed, 3 Sep 2014 15:16:06 +0000 Subject: [PATCH] Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud) 79113: ACE-484: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud) 79070: Merged DEV to V4.2-BUG-FIX (4.2.4) 67851: MNT-11223 : Upgrade OpenCMIS library to 0.11.0 on 4.2 code line Updated OpenCMIS to 0.11 version. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82687 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../rest/framework/webscripts/ResourceWebScriptHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/java/org/alfresco/rest/framework/webscripts/ResourceWebScriptHelper.java b/source/java/org/alfresco/rest/framework/webscripts/ResourceWebScriptHelper.java index fceb903c97..c49df16d93 100644 --- a/source/java/org/alfresco/rest/framework/webscripts/ResourceWebScriptHelper.java +++ b/source/java/org/alfresco/rest/framework/webscripts/ResourceWebScriptHelper.java @@ -152,6 +152,7 @@ public class ResourceWebScriptHelper * @param selectParam * @return List bean property names potentially using JSON Pointer syntax */ + @SuppressWarnings("unchecked") public static List getSelectClause(String selectParam) throws InvalidArgumentException { if (selectParam == null) return Collections.emptyList(); @@ -167,8 +168,7 @@ public class ResourceWebScriptHelper { return Arrays.asList(selectedPropsTree.getText()); } - @SuppressWarnings("unchecked") - List children = (List)selectedPropsTree.getChildren(); + List children = (List) selectedPropsTree.getChildren(); if (children!= null && !children.isEmpty()) { List properties = new ArrayList(children.size());