akankshajain18 commented on a change in pull request #24:
URL:
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/24#discussion_r534105814
##########
File path:
src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapConfigurationProvider.java
##########
@@ -85,5 +84,5 @@ public int compareTo(VanityPathConfig o2) {
* If empty set is returned, all paths are allowed.
* @return
*/
- Set<String> getAllowedAliasPaths();
+ CopyOnWriteArrayList<String> getAllowedAliasPaths();
Review comment:
class CopyOnWriteArrayList<E>
implements List<E>, RandomAccess, Cloneable, java.io.Serializable
When i used List<String>, Sonar cloud was throwing the bug
----------------------------------------------------------------
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]