tmaret commented on a change in pull request #9:
URL:
https://github.com/apache/sling-org-apache-sling-distribution-journal-messages/pull/9#discussion_r821448168
##########
File path:
src/main/java/org/apache/sling/distribution/journal/messages/PackageStatusMessage.java
##########
@@ -47,7 +47,11 @@
/**
* The package has been imported
*/
- IMPORTED(2);
+ IMPORTED(2),
+ /**
+ * The package invalidated the cache
+ */
+ INVALIDATED(3);
Review comment:
I think that we should remove the `INVALIDATED` status and only use
`IMPORTED` because the handling of `INVALIDATED` and `IMPORTED` should be the
same in
https://github.com/apache/sling-org-apache-sling-distribution-journal/pull/101
To be semantically correct, we should `s/IMPORTED/APPLIED` but we can't
easily change that. I suggest to keep the `IMPORTED` constant but extend the
JavaDoc with something along the lines of
```
The package has been applied
```
--
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]