diff --git a/src/main/org/apache/tools/ant/UnsupportedAttributeException.java b/src/main/org/apache/tools/ant/UnsupportedAttributeException.java index e7b49b8b8..1feced579 100644 --- a/src/main/org/apache/tools/ant/UnsupportedAttributeException.java +++ b/src/main/org/apache/tools/ant/UnsupportedAttributeException.java @@ -1,5 +1,5 @@ /* - * Copyright 2004 The Apache Software Foundation + * Copyright 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. @@ -19,16 +19,16 @@ package org.apache.tools.ant; /** * Used to report attempts to set an unsupported attribute * - * @since Ant 1.7 + * @since Ant 1.6.3 */ public class UnsupportedAttributeException extends BuildException { private String attribute; /** - * Constructs an unsupport attribute exception - * @param msg The string containing the message - * @param attribute The unsupported attribute + * Constructs an unsupported attribute exception. + * @param msg The string containing the message. + * @param attribute The unsupported attribute. */ public UnsupportedAttributeException(String msg, String attribute) { super(msg); @@ -36,9 +36,9 @@ public class UnsupportedAttributeException extends BuildException { } /** - * The attribute that is wrong + * Get the attribute that is wrong. * - * @return the attribute name + * @return the attribute name. */ public String getAttribute() { return attribute; diff --git a/src/main/org/apache/tools/ant/UnsupportedElementException.java b/src/main/org/apache/tools/ant/UnsupportedElementException.java index 1352dc31f..bb21c3fbf 100644 --- a/src/main/org/apache/tools/ant/UnsupportedElementException.java +++ b/src/main/org/apache/tools/ant/UnsupportedElementException.java @@ -1,5 +1,5 @@ /* - * Copyright 2004 The Apache Software Foundation + * Copyright 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. @@ -28,16 +28,16 @@ package org.apache.tools.ant; * This will be done once (in the case of a recursive * call to handlechildren). * - * @since Ant 1.6.3 or Ant 1.7 ? + * @since Ant 1.6.3 */ public class UnsupportedElementException extends BuildException { - private String element; + private String element; /** - * Constructs an unsupport element exception - * @param msg The string containing the message - * @param element The name of the incorrect element + * Constructs an unsupported element exception. + * @param msg The string containing the message. + * @param element The name of the incorrect element. */ public UnsupportedElementException(String msg, String element) { super(msg); @@ -45,9 +45,9 @@ public class UnsupportedElementException extends BuildException { } /** - * The element that is wrong + * Get the element that is wrong. * - * @return the element name + * @return the element name. */ public String getElement() { return element;