aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins/metadata-store-file
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2013-05-19 22:28:52 +0000
committerOlivier Lamy <olamy@apache.org>2013-05-19 22:28:52 +0000
commitcfaf9559dd58f0b52ddd3bb906ff5f428c7e6486 (patch)
tree62d59228a3b1a70b2ede05f4aba77206c5b58f43 /archiva-modules/plugins/metadata-store-file
parent71dded175768d6949b2c4f9363049ffe52af320c (diff)
downloadarchiva-cfaf9559dd58f0b52ddd3bb906ff5f428c7e6486.tar.gz
archiva-cfaf9559dd58f0b52ddd3bb906ff5f428c7e6486.zip
use generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484362 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins/metadata-store-file')
-rw-r--r--archiva-modules/plugins/metadata-store-file/src/main/java/org/apache/archiva/metadata/repository/file/FileMetadataRepository.java2
1 files changed, 1 insertions, 1 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 f0a3abc33..7bc605f67 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
@@ -559,7 +559,7 @@ public class FileMetadataRepository
return false;
}
- public Object obtainAccess( Class<?> aClass )
+ public <T>T obtainAccess( Class<T> aClass )
{
throw new IllegalArgumentException(
"Access using " + aClass + " is not supported on the file metadata storage" );