From affb8bcf200d7ed48806296c9fc6153337e02050 Mon Sep 17 00:00:00 2001 From: Kacper Magdziarz Date: Tue, 9 Sep 2025 14:37:24 +0200 Subject: [PATCH] [ACS-9736] Copilot --- .../org/alfresco/repo/audit/AuditRecordUtils.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/repository/src/main/java/org/alfresco/repo/audit/AuditRecordUtils.java b/repository/src/main/java/org/alfresco/repo/audit/AuditRecordUtils.java index d9246cf39d..72bbaf26e9 100644 --- a/repository/src/main/java/org/alfresco/repo/audit/AuditRecordUtils.java +++ b/repository/src/main/java/org/alfresco/repo/audit/AuditRecordUtils.java @@ -39,7 +39,16 @@ public class AuditRecordUtils } /** - * Generates an {@link AuditRecord.Builder} from flat audit data. Translates `key-value` pairs into a nested JSON structure, preloading the builder with arguments. Keys are split by `/` to build the nested structure, with the root key used as the application ID. Each key starts with the same root constructed like this '/' + auditedApplicationName + '/'. Before split, this root is removed from the key. + * Generates an {@link AuditRecord.Builder} from flat audit data. + *

+ * This method: + *

* * @param data * a map containing flat audit data as `key-value` pairs