o Prevented NPEs in downstream code

git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@778126 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-05-24 12:11:07 +00:00
parent a28bb83b54
commit a2170b03c6
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,10 @@ public class DefaultProjectBuilderConfiguration
public List<ArtifactRepository> getRemoteRepositories()
{
if ( remoteRepositories == null )
{
remoteRepositories = new ArrayList<ArtifactRepository>();
}
return remoteRepositories;
}