remove plexus-utils usage to commons-*

git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417080 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-12-04 18:16:52 +00:00
parent 75af5e0fec
commit 7ebf8f68ab
3 changed files with 4 additions and 6 deletions

View File

@ -19,16 +19,15 @@ package org.apache.archiva.redback.integration;
* under the License. * under the License.
*/ */
import java.util.Properties; import org.apache.commons.lang.StringUtils;
import org.codehaus.plexus.util.StringUtils; import java.util.Properties;
/** /**
* Collection of Utility methods useful in an Http environment. * Collection of Utility methods useful in an Http environment.
* *
* @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a>
* *
* @todo should move this to plexus-utils or plexus-utils-web
*/ */
public class HttpUtils public class HttpUtils
{ {

View File

@ -31,7 +31,6 @@ import org.apache.archiva.redback.users.User;
import org.apache.archiva.redback.users.UserManager; import org.apache.archiva.redback.users.UserManager;
import org.apache.archiva.redback.users.UserNotFoundException; import org.apache.archiva.redback.users.UserNotFoundException;
import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.StringUtils;
import org.codehaus.plexus.util.IOUtil;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@ -128,7 +127,7 @@ public class AdminAutoCreateCheck
} }
finally finally
{ {
IOUtil.close( fis ); IOUtils.close( fis );
} }
// ensure we have all properties // ensure we have all properties

View File

@ -20,7 +20,7 @@ package org.apache.archiva.redback.system;
*/ */
/** /**
* SecuritySystemConstants - constants for use with contexts that use plexus-security. * SecuritySystemConstants - constants for use with contexts that use redback.
* *
* @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a> * @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a>
* *