ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/oldmodel Project.java
Date Tue, 11 Jun 2002 04:56:07 GMT
donaldp     2002/06/10 21:56:07

  Modified:    container/src/java/org/apache/myrmidon/components/builder
                        DefaultProject.java
               container/src/java/org/apache/myrmidon/interfaces/oldmodel
                        Project.java
  Log:
  Remove unused getProjectRef(String) method.
  
  Revision  Changes    Path
  1.31      +1 -15     jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/builder/DefaultProject.java
  
  Index: DefaultProject.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/builder/DefaultProject.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- DefaultProject.java	11 Jun 2002 04:47:09 -0000	1.30
  +++ DefaultProject.java	11 Jun 2002 04:56:07 -0000	1.31
  @@ -85,20 +85,6 @@
           return m_descriptor;
       }
   
  -    public ProjectRef getProjectRef( String name )
  -    {
  -        for( int i = 0; i < m_projectRefs.length; i++ )
  -        {
  -            final ProjectRef projectRef = m_projectRefs[ i ];
  -            if( name.equals( projectRef.getName() ) )
  -            {
  -                return projectRef;
  -            }
  -        }
  -
  -        return null;
  -    }
  -
       /**
        * Retrieve base directory of project.
        *
  
  
  
  1.23      +3 -6      jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/oldmodel/Project.java
  
  Index: Project.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/oldmodel/Project.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- Project.java	11 Jun 2002 04:53:11 -0000	1.22
  +++ Project.java	11 Jun 2002 04:56:07 -0000	1.23
  @@ -39,13 +39,10 @@
       ProjectDescriptor getProjectDescriptor();
   
       /**
  -     * Returns the project reference for specified name.
  +     * Return the array of all the {@link ProjectRef} objects in project.
        *
  -     * @param name the project name
  -     * @return the project reference for specified name (May be null).
  +     * @return the array of all the {@link ProjectRef} objects in project.
        */
  -    ProjectRef getProjectRef( String name );
  -
       ProjectRef[] getProjectRefs();
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message