Skip to content

Commit

Permalink
SITES-21127 - [Core Components] Remove usages of Commons Collections 3 (
Browse files Browse the repository at this point in the history
#2722)

* SITES-21127 - [Core Components] Remove usages of Commons Collections 3

* Replaced Commons Collections 3 with 4

* SITES-21127 - [Core Components] Remove usages of Commons Collections 3

* Removed dependencies
  • Loading branch information
vladbailescu committed Apr 16, 2024
1 parent bc423d7 commit e24d604
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
4 changes: 0 additions & 4 deletions bundles/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,6 @@
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import com.adobe.cq.dam.cfm.ContentFragmentException;
import com.adobe.cq.dam.cfm.ContentVariation;
import com.adobe.cq.dam.cfm.FragmentData;
import org.apache.commons.collections.IteratorUtils;
import org.apache.commons.collections4.IteratorUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.models.annotations.Exporter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

import javax.servlet.Servlet;

import org.apache.commons.collections.IteratorUtils;
import org.apache.commons.collections4.IteratorUtils;
import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.api.resource.ValueMap;
import org.jetbrains.annotations.NotNull;
Expand Down
8 changes: 0 additions & 8 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -718,14 +718,6 @@
<version>2.7</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.2</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
Expand Down

0 comments on commit e24d604

Please sign in to comment.