diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java index a3f0ce9..3f7e1db 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java @@ -63,6 +63,7 @@ public class Access { for(String value : pathValues) { stringWriter.append(first ? " /" : "/"); stringWriter.append(value); + first=false; } first = true; if(map != null) { @@ -71,6 +72,7 @@ public class Access { stringWriter.append(key); stringWriter.append("="); stringWriter.append(map.get(key)); + first=false; } } CalledMethodProvider.instance.set(stringWriter.toString());