Added toLowerCase

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129220 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-06-21 15:23:17 +00:00
parent 9567a9dbc2
commit a3f1b12453
1 changed files with 1 additions and 2 deletions

View File

@ -158,8 +158,7 @@ public class GcubeCkanDataCatalogServiceImpl extends RemoteServiceServlet implem
for (String vre : listVres) {
vres+=vre+",";
}
vres = vres.substring(0, vres.length()-1); //remove last ","
vres.toLowerCase(); //A CKAN Organization ID must be lower case
vres = vres.substring(0, vres.length()-1).toLowerCase(); //remove last "," and to lower case. A CKAN Organization ID must be lower case
}
logger.debug("List of VREs contains: " +vres);