enapps-enorman commented on code in PR #20:
URL:
https://github.com/apache/sling-org-apache-sling-testing-jcr-mock/pull/20#discussion_r1190586268
##########
src/main/java/org/apache/sling/testing/mock/jcr/MockAuthorizable.java:
##########
@@ -67,7 +66,7 @@ abstract class MockAuthorizable implements Authorizable {
intermediatePath = "/home/users"; // NOSONAR
}
}
- this.path = Paths.get(intermediatePath, this.id).toString();
+ this.path = intermediatePath + "/" + this.id;
Review Comment:
FYI: I've just proposed
https://github.com/apache/sling-org-apache-sling-testing-jcr-mock/pull/21 whose
implementation would remove this specific code path. The users/group would be
backed with a real node in the repository rather than the fake path that was
used before. If that PR is approved, then this one should be no longer needed.
--
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]