SLING-9959: SystemUser.getPath must reveal the path of the original user node
diff --git a/src/main/java/org/apache/sling/feature/cpconverter/accesscontrol/SystemUser.java b/src/main/java/org/apache/sling/feature/cpconverter/accesscontrol/SystemUser.java
index 95e30c2..d467259 100644
--- a/src/main/java/org/apache/sling/feature/cpconverter/accesscontrol/SystemUser.java
+++ b/src/main/java/org/apache/sling/feature/cpconverter/accesscontrol/SystemUser.java
@@ -27,6 +27,11 @@
private final RepoPath path;
private final RepoPath intermediatePath;
+ /**
+ * @param id - the authorizableId to use.
+ * @param path - the original repository path of the user in the content-package.
+ * @param intermediatePath - the intermediate path the user should have - most likely the (direct) parent of the path.
+ */
public SystemUser(String id, RepoPath path, RepoPath intermediatePath) {
this.id = id;
this.path = path;
diff --git a/src/main/java/org/apache/sling/feature/cpconverter/handlers/SystemUsersEntryHandler.java b/src/main/java/org/apache/sling/feature/cpconverter/handlers/SystemUsersEntryHandler.java
index d45cb56..4162b16 100644
--- a/src/main/java/org/apache/sling/feature/cpconverter/handlers/SystemUsersEntryHandler.java
+++ b/src/main/java/org/apache/sling/feature/cpconverter/handlers/SystemUsersEntryHandler.java
@@ -64,6 +64,11 @@
private final RepoPath intermediatePath;
+ /**
+ * @param converter - the converter to use.
+ * @param path - the original repository path of the user in the content-package.
+ * @param intermediatePath - the intermediate path the user should have - most likely the (direct) parent of the path.
+ */
public SystemUserParser(ContentPackage2FeatureModelConverter converter, RepoPath path, RepoPath intermediatePath) {
super(REP_SYSTEM_USER);
this.converter = converter;