From e0ea87c07251c478f675a043af4e155033428d41 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Thu, 11 Jan 2024 18:53:44 +0100 Subject: [PATCH] feat: Cleanup Dependencies to rely on Spring Dependencies Tree - Meeds-io/MIPs#57 (#23) Upgrade from Commons Lang to apache Lang 3 --- .../antimalware/connector/MalwareDetectionConnector.java | 2 +- .../antimalware/connector/MalwareDetectionFilesConnector.java | 2 +- .../antimalware/connector/MalwareDetectionItemConnector.java | 2 +- .../antimalware/connector/MalwareDetectionJcrConnector.java | 2 +- .../connector/TrendMicroMalwareDetectionConnector.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionConnector.java b/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionConnector.java index e742d886..16b708fe 100644 --- a/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionConnector.java +++ b/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionConnector.java @@ -18,7 +18,7 @@ import java.util.List; -import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang3.StringUtils; import org.exoplatform.container.component.BaseComponentPlugin; import org.exoplatform.container.xml.InitParams; import org.exoplatform.container.xml.PropertiesParam; diff --git a/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionFilesConnector.java b/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionFilesConnector.java index f8685665..f4a189c5 100644 --- a/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionFilesConnector.java +++ b/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionFilesConnector.java @@ -21,7 +21,7 @@ import java.util.List; import java.util.Map; -import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang3.StringUtils; import org.exoplatform.commons.file.model.FileItem; import org.exoplatform.commons.file.services.FileService; import org.exoplatform.container.xml.InitParams; diff --git a/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionItemConnector.java b/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionItemConnector.java index 35d7c3a2..fba624f5 100644 --- a/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionItemConnector.java +++ b/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionItemConnector.java @@ -19,7 +19,7 @@ import java.util.List; import java.util.Map; -import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang3.StringUtils; import org.exoplatform.commons.api.notification.NotificationContext; import org.exoplatform.commons.api.notification.model.ArgumentLiteral; import org.exoplatform.commons.api.notification.model.PluginKey; diff --git a/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionJcrConnector.java b/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionJcrConnector.java index 7a3c6293..9982132a 100644 --- a/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionJcrConnector.java +++ b/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/MalwareDetectionJcrConnector.java @@ -25,7 +25,7 @@ import javax.jcr.Node; import javax.jcr.Property; -import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang3.StringUtils; import org.exoplatform.container.xml.InitParams; import org.exoplatform.services.jcr.RepositoryService; import org.exoplatform.services.jcr.core.ExtendedSession; diff --git a/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/TrendMicroMalwareDetectionConnector.java b/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/TrendMicroMalwareDetectionConnector.java index 7141bc02..4b74e7ef 100644 --- a/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/TrendMicroMalwareDetectionConnector.java +++ b/anti-malware-services/src/main/java/org/exoplatform/antimalware/connector/TrendMicroMalwareDetectionConnector.java @@ -27,7 +27,7 @@ import javax.ws.rs.core.MediaType; -import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang3.StringUtils; import org.exoplatform.container.xml.InitParams; import org.exoplatform.services.log.ExoLogger; import org.exoplatform.services.log.Log;