ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/types Parameter.java
Date Mon, 14 Mar 2005 16:52:40 GMT
peterreilly    2005/03/14 08:52:40

  Modified:    src/main/org/apache/tools/ant/types Parameter.java
  Log:
  javadoc
  
  Revision  Changes    Path
  1.9       +37 -7     ant/src/main/org/apache/tools/ant/types/Parameter.java
  
  Index: Parameter.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/Parameter.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Parameter.java	9 Mar 2004 16:48:41 -0000	1.8
  +++ Parameter.java	14 Mar 2005 16:52:40 -0000	1.9
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2002,2004 The Apache Software Foundation
  + * Copyright  2002,2004-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -25,27 +25,57 @@
       private String type = null;
       private String value = null;
   
  -    public final void setName(final String name) {
  +    /**
  +     * Set the name attribute.
  +     *
  +     * @param name a <code>String</code> value
  +     */
  +    public void setName(final String name) {
           this.name = name;
       }
   
  -    public final void setType(final String type) {
  +    /**
  +     * Set the type attribute.
  +     *
  +     * @param type a <code>String</code> value
  +     */
  +    public void setType(final String type) {
           this.type = type;
       }
   
  -    public final void setValue(final String value) {
  +    /**
  +     * Set the value attribute.
  +     *
  +     * @param value a <code>String</code> value
  +     */
  +    public void setValue(final String value) {
           this.value = value;
       }
   
  -    public final String getName() {
  +    /**
  +     * Get the name attribute.
  +     *
  +     * @return a <code>String</code> value
  +     */
  +    public String getName() {
           return name;
       }
   
  -    public final String getType() {
  +    /**
  +     * Get the type attribute.
  +     *
  +     * @return a <code>String</code> value
  +     */
  +    public String getType() {
           return type;
       }
   
  -    public final String getValue() {
  +    /**
  +     * Get the value attribute.
  +     *
  +     * @return a <code>String</code> value
  +     */
  +    public String getValue() {
           return value;
       }
   }
  
  
  

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


Mime
View raw message