From 91cb91a8a2120cc8ed5f8c01c8cf263b6e5e2cef Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Wed, 25 Nov 2009 15:18:54 +0000 Subject: [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 --- .../java/org/apache/archiva/metadata/model/ProjectVersionMetadata.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archiva-modules/metadata/metadata-model/src') 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; } } -- cgit v1.2.3