jsedding commented on code in PR #54:
URL:
https://github.com/apache/sling-org-apache-sling-jcr-repoinit/pull/54#discussion_r1616872112
##########
src/main/java/org/apache/sling/jcr/repoinit/impl/AclUtil.java:
##########
@@ -567,7 +567,7 @@ private static String toString(JackrabbitAccessControlEntry
entry) throws Reposi
private static void checkState(boolean expression, String msgPattern,
Object... args) {
if (!expression) {
- if (args != null) {
+ if (args == null) {
Review Comment:
Because it was wrong. I noticed the messages with the unsubstituted message
patterns while investigating issues caused by the re-ordering. I didn't think
this small fix was worth its own JIRA ticket.
--
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]