From 5c710a6a3823f6fb91218c5be5df77cd30b75db7 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Tue, 5 Mar 2002 14:39:05 +0000 Subject: [PATCH] Fixed up the fix-up to obey "Must not be null" etc style. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271750 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/Project.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/main/org/apache/tools/ant/Project.java b/src/main/org/apache/tools/ant/Project.java index 587df87eb..83cfe2cd5 100644 --- a/src/main/org/apache/tools/ant/Project.java +++ b/src/main/org/apache/tools/ant/Project.java @@ -460,8 +460,9 @@ public class Project { * 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 null. + * @param value The property value. Must not be null. */ private void setPropertyInternal(String name, String value) { if (null != userProperties.get(name)) { @@ -638,7 +639,8 @@ public class Project { * * @param token The token to filter. * Must not be null. - * @param value the replacement value. + * @param value The replacement value. + * Must not be null. * @deprecated Use getGlobalFilterSet().addFilter(token,value) * * @see #getGlobalFilterSet() @@ -816,10 +818,11 @@ public class Project { * 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 null. * * @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 @@ public class Project { * 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 */