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/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs Manifest.java
Date Sun, 20 Jan 2002 00:01:21 GMT
donaldp     02/01/19 16:01:21

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs
                        Manifest.java
  Log:
  addConfiguredX --> addX
  
  Revision  Changes    Path
  1.10      +8 -7      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Manifest.java
  
  Index: Manifest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/Manifest.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Manifest.java	23 Dec 2001 06:33:35 -0000	1.9
  +++ Manifest.java	20 Jan 2002 00:01:21 -0000	1.10
  @@ -32,7 +32,8 @@
    * @author <a href="mailto:conor@apache.org">Conor MacNeill</a>
    * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a>
    */
  -public class Manifest extends Task
  +public class Manifest
  +    extends Task
   {
       /**
        * The standard manifest version header
  @@ -152,7 +153,7 @@
   
               section.setName( nextSectionName );
               nextSectionName = section.read( reader );
  -            addConfiguredSection( section );
  +            addSection( section );
           }
       }
   
  @@ -239,13 +240,13 @@
           return warnings.iterator();
       }
   
  -    public void addConfiguredAttribute( Attribute attribute )
  +    public void addAttribute( final Attribute attribute )
           throws ManifestException, TaskException
       {
  -        mainSection.addConfiguredAttribute( attribute );
  +        mainSection.addAttribute( attribute );
       }
   
  -    public void addConfiguredSection( Section section )
  +    public void addSection( final Section section )
           throws ManifestException, TaskException
       {
           if( section.getName() == null )
  @@ -446,7 +447,7 @@
           {
               try
               {
  -                mainSection.addConfiguredAttribute( new Attribute( ATTRIBUTE_SIGNATURE_VERSION,
signatureVersion ) );
  +                mainSection.addAttribute( new Attribute( ATTRIBUTE_SIGNATURE_VERSION, signatureVersion
) );
               }
               catch( ManifestException e )
               {
  @@ -772,7 +773,7 @@
               return null;
           }
   
  -        public void addConfiguredAttribute( Attribute attribute )
  +        public void addAttribute( Attribute attribute )
               throws ManifestException, TaskException
           {
               String check = addAttributeAndCheck( attribute );
  
  
  

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