minor fixes

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@134950 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-11-28 11:38:47 +00:00
parent f69d326145
commit 87ddadef7d
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ public class ManageTimeSeriesThread extends Thread{
if(subPath.startsWith(PATH_SEPARATOR))
subPath = subPath.replaceFirst(PATH_SEPARATOR, "");
if(subPath.endsWith(subPath))
if(subPath.endsWith(PATH_SEPARATOR))
subPath = subPath.substring(0, subPath.length() - 1);
logger.debug("Splitting path " + subPath);