summaryrefslogtreecommitdiffstats
path: root/archiva-modules/metadata/metadata-model/src
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2009-11-25 15:18:54 +0000
committerBrett Porter <brett@apache.org>2009-11-25 15:18:54 +0000
commit91cb91a8a2120cc8ed5f8c01c8cf263b6e5e2cef (patch)
treea7a013981e4651e3c09e6db1b8c6792396b5cfda /archiva-modules/metadata/metadata-model/src
parentb6cf0bf5fa8f2ebcbba0aa96d8c178a5ab871bd1 (diff)
downloadarchiva-91cb91a8a2120cc8ed5f8c01c8cf263b6e5e2cef.tar.gz
archiva-91cb91a8a2120cc8ed5f8c01c8cf263b6e5e2cef.zip
[MRM-1282] fix some problems with the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884134 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata/metadata-model/src')
-rw-r--r--archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java
index c2add5b4f..08f4b5a9c 100644
--- a/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java
+++ b/archiva-modules/metadata/metadata-model/src/main/java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java
@@ -156,6 +156,6 @@ public class ProjectVersionMetadata
public ProjectVersionFacet getFacet( String facetId )
{
- return this.facets.get( facetId );
+ return this.facets != null ? this.facets.get( facetId ) : null;
}
}