Merged HEAD-BUG-FIX (5.0/Cloud) to HEAD (5.0/Cloud)

77215: Merged PLATFORM1 (5.0/Cloud) to HEAD-BUG-FIX (5.0/Cloud)
      75542: WIP    ACE-2114    SOLR 4 - port query languages - Part 1
      - move to antlr 3.5.2 to resolve library issue between SOLR and alfresco use of antlr


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@78071 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mark Rogers
2014-07-23 16:35:33 +00:00
parent 8b87bbf09a
commit f146545510

View File

@@ -167,7 +167,8 @@ public class ResourceWebScriptHelper
{ {
return Arrays.asList(selectedPropsTree.getText()); return Arrays.asList(selectedPropsTree.getText());
} }
List<Tree> children = selectedPropsTree.getChildren(); @SuppressWarnings("unchecked")
List<Tree> children = (List<Tree>)selectedPropsTree.getChildren();
if (children!= null && !children.isEmpty()) if (children!= null && !children.isEmpty())
{ {
List<String> properties = new ArrayList<String>(children.size()); List<String> properties = new ArrayList<String>(children.size());