From a3f1b124532a7084a397c5569c27feb29b3c224f Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Tue, 21 Jun 2016 15:23:17 +0000 Subject: [PATCH] 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 --- .../server/GcubeCkanDataCatalogServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java index 9f7040a..6448f7a 100644 --- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java +++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/server/GcubeCkanDataCatalogServiceImpl.java @@ -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);