REPO-1058: REST API - minor fix for "fields" param (fka "properties") to handle field names with spaces

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2016-09-20 13:11:22 +00:00
parent 94efedd1b1
commit 6501413922
3 changed files with 42 additions and 25 deletions

View File

@@ -150,7 +150,7 @@ public interface RecognizedParamsExtractor
Set<String> filteredProperties = new HashSet<String>(st.countTokens());
while (st.hasMoreTokens())
{
filteredProperties.add(st.nextToken());
filteredProperties.add(st.nextToken().trim());
}
// if supplied, the select takes precedence over the filter (fields/properties) for top-level bean properties