diff --git a/pom.xml b/pom.xml index 9fc9e29f72..6451d5cdf8 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ org.alfresco.cmis.client alfresco-opencmis-extension - 1.0 + 0.9 org.apache.ws.commons.schema @@ -85,10 +85,6 @@ org.apache.geronimo.specs geronimo-javamail_1.4_spec - - org.codehaus.woodstox - wstx-asl - @@ -110,11 +106,6 @@ - - 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 c49df16d93..fceb903c97 100644 --- a/source/java/org/alfresco/rest/framework/webscripts/ResourceWebScriptHelper.java +++ b/source/java/org/alfresco/rest/framework/webscripts/ResourceWebScriptHelper.java @@ -152,7 +152,6 @@ 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(); @@ -168,7 +167,8 @@ public class ResourceWebScriptHelper { return Arrays.asList(selectedPropsTree.getText()); } - List children = (List) selectedPropsTree.getChildren(); + @SuppressWarnings("unchecked") + List children = (List)selectedPropsTree.getChildren(); if (children!= null && !children.isEmpty()) { List properties = new ArrayList(children.size()); diff --git a/source/test-java/org/alfresco/rest/api/tests/TCKEnterpriseTestFixture.java b/source/test-java/org/alfresco/rest/api/tests/TCKEnterpriseTestFixture.java index 58a7b57840..a2ecf8b0c0 100644 --- a/source/test-java/org/alfresco/rest/api/tests/TCKEnterpriseTestFixture.java +++ b/source/test-java/org/alfresco/rest/api/tests/TCKEnterpriseTestFixture.java @@ -12,7 +12,7 @@ public class TCKEnterpriseTestFixture extends EnterpriseTestFixture "rest-api-test-context.xml" }; - public final static String[] CLASS_LOCATIONS = new String[] {"classpath*:/publicapi/lucene/"}; + public final static String[] CLASS_LOCATIONS = new String[] {"classpath*:/publicapi/solr/"}; private static TCKEnterpriseTestFixture instance;