Fix NPE in later code when mavenRepoLocal was defined

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163600 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-17 20:20:49 +00:00
parent 75951aa79d
commit 17b770a2ab
1 changed files with 1 additions and 3 deletions

View File

@ -184,12 +184,10 @@ public class MBoot
String mavenRepoLocal = System.getProperty( "maven.repo.local" );
SettingsReader userModelReader = null;
SettingsReader userModelReader = new SettingsReader();
if ( mavenRepoLocal == null )
{
userModelReader = new SettingsReader();
try
{
String userHome = System.getProperty( "user.home" );