You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2019/12/06 12:21:01 UTC

[sling-org-apache-sling-scripting-javascript] branch master updated: SLING-8893 - org.apache.sling.scripting.javascript: Switch from legacy commons collections 3 to commons collections 4

This is an automated email from the ASF dual-hosted git repository.

radu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-javascript.git


The following commit(s) were added to refs/heads/master by this push:
     new f3b7415  SLING-8893 - org.apache.sling.scripting.javascript: Switch from legacy commons collections 3 to commons collections 4
f3b7415 is described below

commit f3b7415b114e6d823ebc993dea0da316afad0bb4
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Fri Dec 6 13:20:24 2019 +0100

    SLING-8893 - org.apache.sling.scripting.javascript: Switch from legacy commons collections 3 to commons collections 4
---
 pom.xml                                                             | 6 +++---
 .../sling/scripting/javascript/wrapper/ScriptableResource.java      | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 0a6965e..645af68 100644
--- a/pom.xml
+++ b/pom.xml
@@ -163,9 +163,9 @@
             <scope>provided</scope>
         </dependency>
         <dependency>
-            <groupId>commons-collections</groupId>
-            <artifactId>commons-collections</artifactId>
-            <version>3.2.1</version>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-collections4</artifactId>
+            <version>4.1</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
diff --git a/src/main/java/org/apache/sling/scripting/javascript/wrapper/ScriptableResource.java b/src/main/java/org/apache/sling/scripting/javascript/wrapper/ScriptableResource.java
index 93d64ff..cf6e88c 100644
--- a/src/main/java/org/apache/sling/scripting/javascript/wrapper/ScriptableResource.java
+++ b/src/main/java/org/apache/sling/scripting/javascript/wrapper/ScriptableResource.java
@@ -16,7 +16,7 @@
  */
 package org.apache.sling.scripting.javascript.wrapper;
 
-import org.apache.commons.collections.IteratorUtils;
+import org.apache.commons.collections4.IteratorUtils;
 import org.apache.sling.api.resource.Resource;
 import org.apache.sling.api.resource.ValueMap;
 import org.apache.sling.scripting.javascript.SlingWrapper;