Move stripLeadingSlash up to base class

This commit is contained in:
2025-02-19 19:54:58 -06:00
parent 91aa8faca2
commit 31a586f23e

View File

@ -213,20 +213,6 @@ public class AbstractS3Action extends AbstractBaseFilesystemAction<S3ObjectSumma
/*******************************************************************************
**
*******************************************************************************/
private String stripLeadingSlash(String path)
{
if(path == null)
{
return (null);
}
return (path.replaceFirst("^/+", ""));
}
/*******************************************************************************
** Get a string that represents the full path to a file.
*******************************************************************************/