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 EnumeratedAttribute.java
Date Fri, 11 Mar 2005 10:10:21 GMT
peterreilly    2005/03/11 02:10:21

  Modified:    src/main/org/apache/tools/ant/types EnumeratedAttribute.java
  Log:
  javadoc
  
  Revision  Changes    Path
  1.17      +5 -1      ant/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java
  
  Index: EnumeratedAttribute.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- EnumeratedAttribute.java	12 Nov 2004 15:15:22 -0000	1.16
  +++ EnumeratedAttribute.java	11 Mar 2005 10:10:21 -0000	1.17
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2000-2002,2004 The Apache Software Foundation
  + * Copyright  2000-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.
  @@ -54,6 +54,8 @@
   
       /**
        * Invoked by {@link org.apache.tools.ant.IntrospectionHelper IntrospectionHelper}.
  +     * @param value the <code>String</code> value of the attribute
  +     * @throws BuildException if the value is not valid for the attribute
        */
       public final void setValue(String value) throws BuildException {
           int idx = indexOfValue(value);
  @@ -66,6 +68,8 @@
   
       /**
        * Is this value included in the enumeration?
  +     * @param value the <code>String</code> value to look up
  +     * @return true if the value is valid
        */
       public final boolean containsValue(String value) {
           return (indexOfValue(value) != -1);
  
  
  

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


Mime
View raw message