summaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins/metadata-store-file/src
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-12-31 14:13:56 +0000
committerOlivier Lamy <olamy@apache.org>2012-12-31 14:13:56 +0000
commit7afb00d1c8088c6cf777d3db72bffaaf980e587a (patch)
tree8ebcff2d0365f8fec5d5cecd29184f3d420e8fa2 /archiva-modules/plugins/metadata-store-file/src
parent0daef64c18b2a5f4cf9da278f430aae020982213 (diff)
downloadarchiva-7afb00d1c8088c6cf777d3db72bffaaf980e587a.tar.gz
archiva-7afb00d1c8088c6cf777d3db72bffaaf980e587a.zip
non necessary local variable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427126 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins/metadata-store-file/src')
-rw-r--r--archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java3
1 files changed, 1 insertions, 2 deletions
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 )