From 74f5fd1b8d729f852d9455d18b0f96e22c063083 Mon Sep 17 00:00:00 2001 From: Sita Date: Fri, 19 Jul 2024 15:20:05 +0200 Subject: [PATCH] minor: Add comment --- .../core/repository/inrepository/InRepositoryService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/place/sita/labelle/core/repository/inrepository/InRepositoryService.java b/core/src/main/java/place/sita/labelle/core/repository/inrepository/InRepositoryService.java index 8f9c53c..5eacfbd 100644 --- a/core/src/main/java/place/sita/labelle/core/repository/inrepository/InRepositoryService.java +++ b/core/src/main/java/place/sita/labelle/core/repository/inrepository/InRepositoryService.java @@ -159,6 +159,7 @@ public void setVisibility(UUID imageId, boolean value) { @Transactional public UUID duplicateImage(UUID selectedImageId) { + // todo consider rewriting this to be event-based. UUID newId = UUID.randomUUID(); UUID newReference = UUID.randomUUID();