aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-configuration
diff options
context:
space:
mode:
authorHenri Yandell <bayard@apache.org>2006-12-01 23:44:12 +0000
committerHenri Yandell <bayard@apache.org>2006-12-01 23:44:12 +0000
commit8f58ff76643174be2c7db8c87a0c55e576bc5a23 (patch)
treef2438a3a80efd309ac799c7adab17a73b620d6a3 /archiva-configuration
parent9edce822a781760f898939e5b6d13e6b14d9a286 (diff)
downloadarchiva-8f58ff76643174be2c7db8c87a0c55e576bc5a23.tar.gz
archiva-8f58ff76643174be2c7db8c87a0c55e576bc5a23.zip
Moved from Plexus-Util StringUtils to Lang StringUtils. replace, split and join should just have had performance improvements (probably won't be noticed). isEmpty no longer trims, but usually people don't expect that so that's a semi bugfix. I've also switched a couple of \!isEmpty's to isNotEmpty.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@481446 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-configuration')
-rw-r--r--archiva-configuration/pom.xml4
-rw-r--r--archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultConfigurationStore.java2
-rw-r--r--archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/MavenProxyPropertyLoader.java2
3 files changed, 6 insertions, 2 deletions
diff --git a/archiva-configuration/pom.xml b/archiva-configuration/pom.xml
index 7725fa2ec..efa11bdff 100644
--- a/archiva-configuration/pom.xml
+++ b/archiva-configuration/pom.xml
@@ -40,6 +40,10 @@
<version>1.2_Java1.3</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ </dependency>
</dependencies>
<build>
<plugins>
diff --git a/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultConfigurationStore.java b/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultConfigurationStore.java
index 759e635e8..c185a4626 100644
--- a/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultConfigurationStore.java
+++ b/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/DefaultConfigurationStore.java
@@ -20,7 +20,7 @@ import org.apache.maven.archiva.configuration.io.xpp3.ConfigurationXpp3Reader;
import org.apache.maven.archiva.configuration.io.xpp3.ConfigurationXpp3Writer;
import org.codehaus.plexus.logging.AbstractLogEnabled;
import org.codehaus.plexus.util.IOUtil;
-import org.codehaus.plexus.util.StringUtils;
+import org.apache.commons.lang.StringUtils;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
import java.io.File;
diff --git a/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/MavenProxyPropertyLoader.java b/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/MavenProxyPropertyLoader.java
index c8dfd2993..98f9ce7a0 100644
--- a/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/MavenProxyPropertyLoader.java
+++ b/archiva-configuration/src/main/java/org/apache/maven/archiva/configuration/MavenProxyPropertyLoader.java
@@ -16,7 +16,7 @@ package org.apache.maven.archiva.configuration;
* limitations under the License.
*/
-import org.codehaus.plexus.util.StringUtils;
+import org.apache.commons.lang.StringUtils;
import java.io.IOException;
import java.io.InputStream;