Removed a TODO and some whitespace.
This commit is contained in:
parent
d4da12c349
commit
a264b10cdb
@ -168,4 +168,6 @@ public class S3ImageServiceTests {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -141,7 +141,7 @@ public class S3ImageService implements ImageService {
|
||||
@PreAuthorize("@imageSecurity.isOwner(#image, #owner)")
|
||||
public void deleteImage(Image image, User owner) throws IOException {
|
||||
this.imageRepository.delete((ImageEntity) image);
|
||||
this.s3Manager.delete("images", image.getObjectName()); // TODO
|
||||
this.s3Manager.delete("images", image.getObjectName());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user