diff --git a/pom.xml b/pom.xml index 6451d5cdf8..9fc9e29f72 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ org.alfresco.cmis.client alfresco-opencmis-extension - 0.9 + 1.0 org.apache.ws.commons.schema @@ -85,6 +85,10 @@ org.apache.geronimo.specs geronimo-javamail_1.4_spec + + org.codehaus.woodstox + wstx-asl + @@ -106,6 +110,11 @@ + + org.apache.chemistry.opencmis + chemistry-opencmis-client-impl + ${dependency.opencmis.version} + org.apache.chemistry 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());