dion        2004/01/07 08:28:03

  Modified:    src/java/org/apache/maven Tag: MAVEN-1_0-BRANCH
                        MavenUtils.java
  Log:
  Code cleanup
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.107.4.6 +7 -7      maven/src/java/org/apache/maven/MavenUtils.java
  
  Index: MavenUtils.java
  ===================================================================
  RCS file: /home/cvs/maven/src/java/org/apache/maven/MavenUtils.java,v
  retrieving revision 1.107.4.5
  retrieving revision 1.107.4.6
  diff -u -r1.107.4.5 -r1.107.4.6
  --- MavenUtils.java   6 Jan 2004 08:07:03 -0000       1.107.4.5
  +++ MavenUtils.java   7 Jan 2004 16:28:03 -0000       1.107.4.6
  @@ -166,7 +166,7 @@
   
       /**
        * Create a Project object given a file descriptor and optionally a parent Jelly
  -     * context. 
  +     * context.
        *
        * @param projectDescriptor a maven project.xml [EMAIL PROTECTED] File}
        * @param parentContext the parent context for the new project
  @@ -352,10 +352,10 @@
           project.setContext( null );
           Project parent = project.getParent();
           project.setParent( null );
  -        
  +
           // Interpolate
           project = getInterpolatedPOM(project, context);
  -        
  +
           // Restore parent and context
           project.setParent( parent );
           project.setContext( originalContext );
  @@ -777,7 +777,7 @@
   
           // Set the basedir value in the context.
           context.setVariable( "basedir", descriptorDirectory.getAbsolutePath() );
  -        
  +
           return context;
       }
   
  @@ -819,7 +819,7 @@
                       {
                           value = literalValue;
                       }
  -                    
  +
                       context.setVariable( key, value );
                   }
                   catch ( Exception e )
  @@ -1061,7 +1061,7 @@
       {
           StringTokenizer tok = new StringTokenizer( goalCsv, "," );
           List goals = new ArrayList();
  -        while ( tok.hasMoreTokens() ) 
  +        while ( tok.hasMoreTokens() )
           {
               goals.add( tok.nextToken() );
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to