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);