From 35bb8d6f41987da6b053de6f2674ce54a607b496 Mon Sep 17 00:00:00 2001 From: kwahlin Date: Mon, 11 Nov 2024 10:55:42 +0100 Subject: [PATCH] Clarify comment --- .../main/groovy/whelk/housekeeping/BulkChangePreviewAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/housekeeping/src/main/groovy/whelk/housekeeping/BulkChangePreviewAPI.java b/housekeeping/src/main/groovy/whelk/housekeeping/BulkChangePreviewAPI.java index a0d3cf2d0e..7d33263c66 100644 --- a/housekeeping/src/main/groovy/whelk/housekeeping/BulkChangePreviewAPI.java +++ b/housekeeping/src/main/groovy/whelk/housekeeping/BulkChangePreviewAPI.java @@ -172,7 +172,7 @@ private Map makePreviewChangeSet(RecordedChange recordChange) { thingBefore.put(RECORD_KEY, recordBefore); thingAfter.put(RECORD_KEY, recordAfter); - // However when the diff is computed we need "@graph form", hence the record copy at @graph,0 in both versions + // However when the diff is computed we need "@graph form", hence the same record copy at @graph,0 in both versions var beforeDoc = new Document(Map.of(GRAPH_KEY, List.of(recordCopy, thingBefore))); var afterDoc = new Document(Map.of(GRAPH_KEY, List.of(recordCopy, thingAfter))); var id = (String) recordCopy.get(ID_KEY);