mirror of https://github.com/apache/maven.git
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:
parent
a28bb83b54
commit
a2170b03c6
|
@ -71,6 +71,10 @@ public class DefaultProjectBuilderConfiguration
|
||||||
|
|
||||||
public List<ArtifactRepository> getRemoteRepositories()
|
public List<ArtifactRepository> getRemoteRepositories()
|
||||||
{
|
{
|
||||||
|
if ( remoteRepositories == null )
|
||||||
|
{
|
||||||
|
remoteRepositories = new ArrayList<ArtifactRepository>();
|
||||||
|
}
|
||||||
return remoteRepositories;
|
return remoteRepositories;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue