summaryrefslogtreecommitdiffstats
path: root/redback-data-management/src/main
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-12-04 18:19:03 +0000
committerOlivier Lamy <olamy@apache.org>2012-12-04 18:19:03 +0000
commit5d166ecce8ecccb8d190b509a954269efe4ce26d (patch)
tree0c9fc1e2d867718f5a32695ba6f9f152d03ef9a4 /redback-data-management/src/main
parent7ebf8f68ab0d8cc754f30a94ad39b481765be8c1 (diff)
downloadarchiva-5d166ecce8ecccb8d190b509a954269efe4ce26d.tar.gz
archiva-5d166ecce8ecccb8d190b509a954269efe4ce26d.zip
rid of plexus utils usage
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1417083 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'redback-data-management/src/main')
-rw-r--r--redback-data-management/src/main/java/org/apache/archiva/redback/management/JdoDataManagementTool.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/redback-data-management/src/main/java/org/apache/archiva/redback/management/JdoDataManagementTool.java b/redback-data-management/src/main/java/org/apache/archiva/redback/management/JdoDataManagementTool.java
index 59e9edea6..22c5fbda2 100644
--- a/redback-data-management/src/main/java/org/apache/archiva/redback/management/JdoDataManagementTool.java
+++ b/redback-data-management/src/main/java/org/apache/archiva/redback/management/JdoDataManagementTool.java
@@ -55,7 +55,7 @@ import org.apache.archiva.redback.users.User;
import org.apache.archiva.redback.users.jdo.UserDatabase;
import org.apache.archiva.redback.users.jdo.io.stax.UsersManagementStaxReader;
import org.apache.archiva.redback.users.jdo.io.stax.UsersManagementStaxWriter;
-import org.codehaus.plexus.util.IOUtil;
+import org.apache.commons.io.IOUtils;
import org.springframework.stereotype.Service;
/**
@@ -92,7 +92,7 @@ public class JdoDataManagementTool
}
finally
{
- IOUtil.close( fileWriter );
+ IOUtils.closeQuietly( fileWriter );
}
}
@@ -110,7 +110,7 @@ public class JdoDataManagementTool
}
finally
{
- IOUtil.close( fileWriter );
+ IOUtils.closeQuietly( fileWriter );
}
}
@@ -137,7 +137,7 @@ public class JdoDataManagementTool
}
finally
{
- IOUtil.close( fileWriter );
+ IOUtils.closeQuietly( fileWriter );
}
}
@@ -156,7 +156,7 @@ public class JdoDataManagementTool
}
finally
{
- IOUtil.close( fileReader );
+ IOUtils.closeQuietly( fileReader );
}
Map<String, Permission> permissionMap = new HashMap<String, Permission>();
@@ -245,7 +245,7 @@ public class JdoDataManagementTool
}
finally
{
- IOUtil.close( fileReader );
+ IOUtils.closeQuietly( fileReader );
}
for ( User user : (List<User>) database.getUsers() )
@@ -269,7 +269,7 @@ public class JdoDataManagementTool
}
finally
{
- IOUtil.close( fileReader );
+ IOUtils.closeQuietly( fileReader );
}
for ( AuthenticationKey key : (List<AuthenticationKey>) database.getKeys() )