Skip to content

Commit

Permalink
Clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kwahlin committed Nov 11, 2024
1 parent 4a28aef commit 35bb8d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 35bb8d6

Please sign in to comment.