maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-mboot2/src/main/java MBoot.java
Date Thu, 17 Mar 2005 20:20:49 GMT
brett       2005/03/17 12:20:49

  Modified:    maven-mboot2/src/main/java MBoot.java
  Log:
  Fix NPE in later code when mavenRepoLocal was defined
  
  Revision  Changes    Path
  1.70      +1 -3      maven-components/maven-mboot2/src/main/java/MBoot.java
  
  Index: MBoot.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-mboot2/src/main/java/MBoot.java,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- MBoot.java	17 Mar 2005 06:11:17 -0000	1.69
  +++ MBoot.java	17 Mar 2005 20:20:49 -0000	1.70
  @@ -184,12 +184,10 @@
   
           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" );
  
  
  

Mime
View raw message