jvanzyl     2003/12/04 00:04:12

  Modified:    maven-model/src/java/org/apache/maven/model Model.java
  Log:
  o remove determination of the presence of the repository. we'll put it in the 
project.
  
  Revision  Changes    Path
  1.14      +1 -49     
maven-components/maven-model/src/java/org/apache/maven/model/Model.java
  
  Index: Model.java
  ===================================================================
  RCS file: 
/home/cvs/maven-components/maven-model/src/java/org/apache/maven/model/Model.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Model.java        4 Dec 2003 07:45:36 -0000       1.13
  +++ Model.java        4 Dec 2003 08:04:12 -0000       1.14
  @@ -183,9 +183,6 @@
       /** Name */
       private String name;
   
  -    /** Properties */
  -    private Map properties;
  -
       /**
        * Default constructor.
        */
  @@ -717,17 +714,6 @@
       }
   
       /**
  -     * Get flag to indicate the presence of a source repository.
  -     *
  -     * @return <code>true</code> if the project is part of a repository,
  -     * <code>false</code> otherwise
  -     */
  -    public boolean hasRepository()
  -    {
  -        return ( repository != null );
  -    }
  -
  -    /**
        * Sets the version attribute of the Project object.
        *
        * @param version the current version number of the project, e.g.
  @@ -935,39 +921,5 @@
       public void addBranch( Branch b )
       {
           branches.add( b );
  -    }
  -
  -
  -    /**
  -     *
  -     * @param key
  -     * @param value
  -     */
  -    public void addProperty( String key, Object value )
  -    {
  -        getProperties().put( key, value );
  -    }
  -
  -    /**
  -     *
  -     * @param properties
  -     */
  -    public void setProperties( Map properties )
  -    {
  -        this.properties = properties;
  -    }
  -
  -    /**
  -     *
  -     * @return
  -     */
  -    public Map getProperties()
  -    {
  -        if ( properties == null )
  -        {
  -            properties = new HashMap();
  -        }
  -
  -        return properties;
       }
   }
  
  
  

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

Reply via email to