Done ticket GEPAFINBE-167
This commit is contained in:
@@ -153,7 +153,7 @@ public class AmazonS3ServiceImpl implements AmazonS3Service {
|
||||
}
|
||||
}
|
||||
|
||||
private String decodeS3Key(String key) {
|
||||
public String decodeS3Key(String key) {
|
||||
return URLDecoder.decode(key, StandardCharsets.UTF_8);
|
||||
}
|
||||
|
||||
@@ -186,11 +186,11 @@ public class AmazonS3ServiceImpl implements AmazonS3Service {
|
||||
}
|
||||
}
|
||||
|
||||
private String cleanNewPath(String oldPath, String newPath) {
|
||||
public String cleanNewPath(String oldPath, String newPath) {
|
||||
return newPath + "/" + oldPath.substring(oldPath.lastIndexOf("/") + 1);
|
||||
}
|
||||
|
||||
private String cleanOldPath(String oldPath) {
|
||||
public String cleanOldPath(String oldPath) {
|
||||
return oldPath.replace(s3Url, "");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user