maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: jakarta-turbine-maven/src/java/org/apache/maven AbstractMavenComponent.java
Date Tue, 31 Dec 2002 06:59:51 GMT
jvanzyl     2002/12/30 22:59:51

  Modified:    src/java/org/apache/maven AbstractMavenComponent.java
  Log:
  refactoring. update to follow
  
  Revision  Changes    Path
  1.5       +6 -42     jakarta-turbine-maven/src/java/org/apache/maven/AbstractMavenComponent.java
  
  Index: AbstractMavenComponent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/AbstractMavenComponent.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractMavenComponent.java	7 Dec 2002 02:19:08 -0000	1.4
  +++ AbstractMavenComponent.java	31 Dec 2002 06:59:51 -0000	1.5
  @@ -26,12 +26,12 @@
    *    if and wherever such third-party acknowledgments normally appear.
    *
    * 4. The names "Apache" and "Apache Software Foundation" and
  - *    "Apache Maven" must not be used to endorse or promote products
  + *    "Apache MavenSession" must not be used to endorse or promote products
    *    derived from this software without prior written permission. For
    *    written permission, please contact apache@apache.org.
    *
    * 5. Products derived from this software may not be called "Apache",
  - *    "Apache Maven", nor may "Apache" appear in their name, without
  + *    "Apache MavenSession", nor may "Apache" appear in their name, without
    *    prior written permission of the Apache Software Foundation.
    *
    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  @@ -69,62 +69,26 @@
   public abstract class AbstractMavenComponent
   {
       // ------------------------------------------------------------
  -    // I N S T A N C E  M E M B E R S
  +    // C O N S T R U C T O R S
       // ------------------------------------------------------------
   
  -    /** Jelly conext. */
  -    private MavenJellyContext context;
  -
  -    /** Project. */
       private Project project;
   
  -    // ------------------------------------------------------------
  -    // C O N S T R U C T O R S
  -    // ------------------------------------------------------------
  -
       /** Default Constructor. */
       public AbstractMavenComponent()
       {
       }
   
  -    // ------------------------------------------------------------
  -    // A C C E S S O R S
  -    // ------------------------------------------------------------
  -
  -    /**
  -     * Set the context.
  -     *
  -     * @param context Maven jelly context.
  -     */
  -    public void setContext( MavenJellyContext context )
  -    {
  -        this.context = context;
  -    }
  -
  -    /** Retrieve the Jelly context.
  -     *
  -     *  @return The Jelly context.
  -     */
  -    public MavenJellyContext getContext()
  +    public AbstractMavenComponent( Project project )
       {
  -        return context;
  +        this.project = project;
       }
   
  -    /**
  -     * Set maven project explicity.
  -     *
  -     * @param project Maven project.
  -     */
       public void setProject( Project project )
       {
           this.project = project;
       }
   
  -    /**
  -     * Get explicity set maven project.
  -     *
  -     * @return Explicitly set Maven project.
  -     */
       public Project getProject()
       {
           return project;
  
  
  

Mime
View raw message