From 7afb00d1c8088c6cf777d3db72bffaaf980e587a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 31 Dec 2012 14:13:56 +0000 Subject: non necessary local variable git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427126 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/metadata/repository/file/FileMetadataRepository.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'archiva-modules/plugins/metadata-store-file/src') diff --git a/archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java b/archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java index 0e62fe375..f0a3abc33 100644 --- a/archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java +++ b/archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java @@ -89,8 +89,7 @@ public class FileMetadataRepository { // TODO: should be configurable, like the index String basedir = configuration.getConfiguration().getManagedRepositoriesAsMap().get( repoId ).getLocation(); - File dir = new File( basedir, ".archiva" ); - return dir; + return new File( basedir, ".archiva" ); } private File getDirectory( String repoId ) -- cgit v1.2.3