jskeet 02/03/05 06:39:05
Modified: src/main/org/apache/tools/ant Project.java
Log:
Fixed up the fix-up to obey "Must not be null" etc style.
Revision Changes Path
1.99 +10 -7 jakarta-ant/src/main/org/apache/tools/ant/Project.java
Index: Project.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Project.java,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- Project.java 5 Mar 2002 14:21:36 -0000 1.98
+++ Project.java 5 Mar 2002 14:39:05 -0000 1.99
@@ -81,7 +81,7 @@
*
* @author [EMAIL PROTECTED]
*
- * @version $Revision: 1.98 $
+ * @version $Revision: 1.99 $
*/
public class Project {
@@ -460,8 +460,9 @@
* Sets a property unless it is already defined as a user property
* (in which case the method returns silently).
*
- * @param name the name of the property.
- * @param value the property value.
+ * @param name The name of the property.
+ * Must not be <code>null</code>.
+ * @param value The property value. Must not be <code>null</code>.
*/
private void setPropertyInternal(String name, String value) {
if (null != userProperties.get(name)) {
@@ -638,7 +639,8 @@
*
* @param token The token to filter.
* Must not be <code>null</code>.
- * @param value the replacement value.
+ * @param value The replacement value.
+ * Must not be <code>null</code>.
* @deprecated Use getGlobalFilterSet().addFilter(token,value)
*
* @see #getGlobalFilterSet()
@@ -816,10 +818,11 @@
* Ant task implementation classes must be public, concrete, and have
* a no-arg constructor.
*
- * @param taskClass the class to be checked.
+ * @param taskClass The class to be checked.
+ * Must not be <code>null</code>.
*
* @exception BuildException if the class is unsuitable for being an Ant
- * task. An error level message is logged
before
+ * task. An error level message is logged
before
* this exception is thrown.
*/
public void checkTaskClass(final Class taskClass) throws BuildException {
@@ -1446,7 +1449,7 @@
* the resulting file should be set to that
* of the source file.
*
- * @exception IOException if the copying fails
+ * @exception IOException if the file cannot be copied.
*
* @deprecated
*/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>