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/api/src/java/org/apache/myrmidon/aspects AbstractAspectHandler.java AspectHandler.java
Date Sun, 21 Apr 2002 01:41:33 GMT
donaldp     02/04/20 18:41:33

  Modified:    api/src/java/org/apache/myrmidon/aspects
                        AbstractAspectHandler.java AspectHandler.java
  Log:
  Actually correctly propogate the
  * Parameters -> Properties
  
  change
  
  Revision  Changes    Path
  1.11      +5 -5      jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/aspects/AbstractAspectHandler.java
  
  Index: AbstractAspectHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/aspects/AbstractAspectHandler.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- AbstractAspectHandler.java	21 Apr 2002 01:27:23 -0000	1.10
  +++ AbstractAspectHandler.java	21 Apr 2002 01:41:33 -0000	1.11
  @@ -7,8 +7,8 @@
    */
   package org.apache.myrmidon.aspects;
   
  +import java.util.Properties;
   import org.apache.avalon.framework.logger.Logger;
  -import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.myrmidon.api.Task;
   import org.apache.myrmidon.api.TaskException;
   import org.apache.myrmidon.api.metadata.ModelElement;
  @@ -18,12 +18,12 @@
    *
    * @author Conor MacNeill
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.10 $ $Date: 2002/04/21 01:27:23 $
  + * @version $Revision: 1.11 $ $Date: 2002/04/21 01:41:33 $
    */
   public abstract class AbstractAspectHandler
       implements AspectHandler
   {
  -    private Parameters m_aspectParameters;
  +    private Properties m_aspectParameters;
       private ModelElement[] m_aspectElements;
   
       private Task m_task;
  @@ -36,7 +36,7 @@
           return taskModel;
       }
   
  -    public void aspectSettings( final Parameters parameters, final ModelElement[] elements
)
  +    public void aspectSettings( final Properties parameters, final ModelElement[] elements
)
           throws TaskException
       {
           m_aspectParameters = parameters;
  @@ -108,7 +108,7 @@
           return m_aspectElements;
       }
   
  -    protected final Parameters getAspectParameters()
  +    protected final Properties getAspectParameters()
       {
           return m_aspectParameters;
       }
  
  
  
  1.14      +3 -3      jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/aspects/AspectHandler.java
  
  Index: AspectHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/api/src/java/org/apache/myrmidon/aspects/AspectHandler.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- AspectHandler.java	21 Apr 2002 01:27:23 -0000	1.13
  +++ AspectHandler.java	21 Apr 2002 01:41:33 -0000	1.14
  @@ -7,8 +7,8 @@
    */
   package org.apache.myrmidon.aspects;
   
  +import java.util.Properties;
   import org.apache.avalon.framework.logger.Logger;
  -import org.apache.avalon.framework.parameters.Parameters;
   import org.apache.myrmidon.api.Task;
   import org.apache.myrmidon.api.TaskException;
   import org.apache.myrmidon.api.metadata.ModelElement;
  @@ -18,7 +18,7 @@
    *
    * @author Conor MacNeill
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.13 $ $Date: 2002/04/21 01:27:23 $
  + * @version $Revision: 1.14 $ $Date: 2002/04/21 01:41:33 $
    * @ant:role shorthand="aspect"
    */
   public interface AspectHandler
  @@ -28,7 +28,7 @@
       ModelElement preCreate( ModelElement taskModel )
           throws TaskException;
   
  -    void aspectSettings( Parameters parameters, ModelElement[] children )
  +    void aspectSettings( Properties parameters, ModelElement[] children )
           throws TaskException;
   
       void postCreate( Task task )
  
  
  

--
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