antoine 2004/07/17 09:31:40
Modified: src/main/org/apache/tools/ant Location.java Project.java
RuntimeConfigurable.java
Log:
Javadoc fixes for RuntimeConfigurable, Project, Location
PR: 30160
Submitted by: Jesse Glick (jglick at netbeans dot org)
Revision Changes Path
1.20 +1 -1 ant/src/main/org/apache/tools/ant/Location.java
Index: Location.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Location.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- Location.java 9 Mar 2004 16:47:59 -0000 1.19
+++ Location.java 17 Jul 2004 16:31:40 -0000 1.20
@@ -113,7 +113,7 @@
* An error message can be appended easily. For unknown locations, an
* empty string is returned.
*
- * @return a String of the form <code>"fileName: lineNumber: "</code>
+ * @return a String of the form <code>"fileName:lineNumber: "</code>
* if both file name and line number are known,
* <code>"fileName: "</code> if only the file name is known,
* and the empty string for unknown locations.
1.171 +6 -6 ant/src/main/org/apache/tools/ant/Project.java
Index: Project.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Project.java,v
retrieving revision 1.170
retrieving revision 1.171
diff -u -r1.170 -r1.171
--- Project.java 24 Jun 2004 19:30:03 -0000 1.170
+++ Project.java 17 Jul 2004 16:31:40 -0000 1.171
@@ -88,31 +88,31 @@
/**
* Version constant for Java 1.0
*
- * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
+ * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_0} instead.
*/
public static final String JAVA_1_0 = JavaEnvUtils.JAVA_1_0;
/**
* Version constant for Java 1.1
*
- * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
+ * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_1} instead.
*/
public static final String JAVA_1_1 = JavaEnvUtils.JAVA_1_1;
/**
* Version constant for Java 1.2
*
- * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
+ * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_2} instead.
*/
public static final String JAVA_1_2 = JavaEnvUtils.JAVA_1_2;
/**
* Version constant for Java 1.3
*
- * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
+ * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_3} instead.
*/
public static final String JAVA_1_3 = JavaEnvUtils.JAVA_1_3;
/**
* Version constant for Java 1.4
*
- * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
+ * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_4} instead.
*/
public static final String JAVA_1_4 = JavaEnvUtils.JAVA_1_4;
1.52 +4 -2
ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java
Index: RuntimeConfigurable.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- RuntimeConfigurable.java 24 May 2004 15:09:55 -0000 1.51
+++ RuntimeConfigurable.java 17 Jul 2004 16:31:40 -0000 1.52
@@ -180,6 +180,7 @@
/** Return the attribute map.
*
* @return Attribute name to attribute value map
+ * @since Ant 1.6
*/
public Hashtable getAttributeMap() {
if (attributeMap != null) {
@@ -192,7 +193,7 @@
/**
* Returns the list of attributes for the wrapped element.
*
- * @deprecated
+ * @deprecated Deprecated since Ant 1.6 in favor of [EMAIL PROTECTED]
#getAttributeMap}.
* @return An AttributeList representing the attributes defined in the
* XML for this element. May be <code>null</code>.
*/
@@ -228,7 +229,7 @@
/**
* Returns an enumeration of all child wrappers.
* @return an enumeration of the child wrappers.
- * @since Ant 1.5.1
+ * @since Ant 1.6
*/
public Enumeration getChildren() {
if (children != null) {
@@ -279,6 +280,7 @@
* multiple fragments.
*
* @return the text content of this element.
+ * @since Ant 1.6
*/
public StringBuffer getText() {
if (characters != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]