tmaret commented on code in PR #16:
URL:
https://github.com/apache/sling-org-apache-sling-distribution-journal-messages/pull/16#discussion_r1383540747
##########
src/main/java/org/apache/sling/distribution/journal/messages/PackageMessage.java:
##########
@@ -41,20 +39,42 @@ public class PackageMessage {
String pkgBinaryRef;
String pubAgentName;
String userId;
-
+
@Builder.Default
List<String> paths = new ArrayList<>();
-
+
@Builder.Default
List<String> deepPaths = new ArrayList<>();
-
+
+ Map<String, String> metadata;
Review Comment:
Could we initialise this with an empty map in order to avoid having to check
for null ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]