This commit is contained in:
Lucio Lelii 2024-11-27 12:31:50 +01:00
parent 93c54c3524
commit 25a9e4e474
2 changed files with 1 additions and 4 deletions

View File

@ -33,9 +33,7 @@ public class PathUtils {
while (path.substring(path.length() - 1).equals("/")) {
path = path.substring(0, path.length() - 1);
}
if (path.isEmpty()) {
return "";
}
return path.substring(path.lastIndexOf("/") + 1);
}

View File

@ -11,7 +11,6 @@ import org.cache2k.Cache;
import org.cache2k.Cache2kBuilder;
import org.gcube.common.security.AuthorizedTasks;
import org.gcube.common.security.providers.SecretManagerProvider;
import org.gcube.common.security.secrets.GCubeSecret;
import org.gcube.common.security.secrets.Secret;
import org.gcube.common.security.secrets.UmaTokenSecret;
import org.gcube.common.storagehub.client.dsl.ContainerType;