wimsymons commented on a change in pull request #24:
URL:
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/24#discussion_r534147144
##########
File path:
src/main/java/org/apache/sling/resourceresolver/impl/CommonResourceResolverFactoryImpl.java
##########
@@ -472,6 +466,19 @@ public boolean hasVanityPathPrecedence() {
return configs;
}
+ @Override
+
+ public CopyOnWriteArrayList<String> getAllowedAliasPaths() {
Review comment:
This should be: ```
public List<String> getAllowedAliasPaths() {
return Collections.unmodifiableSet(this.aliasPathAllowList);
}
```
##########
File path:
src/main/java/org/apache/sling/resourceresolver/impl/CommonResourceResolverFactoryImpl.java
##########
@@ -472,6 +466,19 @@ public boolean hasVanityPathPrecedence() {
return configs;
}
+ @Override
+
+ public CopyOnWriteArrayList<String> getAllowedAliasPaths() {
Review comment:
This should be:
```
public List<String> getAllowedAliasPaths() {
return Collections.unmodifiableSet(this.aliasPathAllowList);
}
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]