git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@565097 13f79535-47bb-0310-9956-ffa450edef68master
@@ -80,13 +80,17 @@ public class AntVersion extends Task implements Condition { | |||||
try { | try { | ||||
new DeweyDecimal(atLeast); | new DeweyDecimal(atLeast); | ||||
} catch (NumberFormatException e) { | } catch (NumberFormatException e) { | ||||
throw new BuildException("The 'atleast' attribute is not a Dewey Decimal eg 1.1.0 : " + atLeast); | |||||
throw new BuildException( | |||||
"The 'atleast' attribute is not a Dewey Decimal eg 1.1.0 : " | |||||
+ atLeast); | |||||
} | } | ||||
} else { | } else { | ||||
try { | try { | ||||
new DeweyDecimal(exactly); | new DeweyDecimal(exactly); | ||||
} catch (NumberFormatException e) { | } catch (NumberFormatException e) { | ||||
throw new BuildException("The 'exactly' attribute is not a Dewey Decimal eg 1.1.0 : " + exactly); | |||||
throw new BuildException( | |||||
"The 'exactly' attribute is not a Dewey Decimal eg 1.1.0 : " | |||||
+ exactly); | |||||
} | } | ||||
} | } | ||||
} | } | ||||
@@ -20,9 +20,6 @@ package org.apache.tools.ant.taskdefs.condition; | |||||
import java.util.Enumeration; | import java.util.Enumeration; | ||||
import java.util.Vector; | import java.util.Vector; | ||||
import org.apache.tools.ant.Project; | |||||
import org.apache.tools.ant.DynamicElement; | |||||
import org.apache.tools.ant.ComponentHelper; | |||||
import org.apache.tools.ant.ProjectComponent; | import org.apache.tools.ant.ProjectComponent; | ||||
import org.apache.tools.ant.taskdefs.Available; | import org.apache.tools.ant.taskdefs.Available; | ||||
import org.apache.tools.ant.taskdefs.Checksum; | import org.apache.tools.ant.taskdefs.Checksum; | ||||
@@ -35,7 +35,7 @@ public class Equals implements Condition { | |||||
/** | /** | ||||
* Set the first argument | * Set the first argument | ||||
* @param arg1 | |||||
* @param arg1 the first argument. | |||||
* @since Ant 1.8 | * @since Ant 1.8 | ||||
*/ | */ | ||||
public void setArg1(Object arg1) { | public void setArg1(Object arg1) { | ||||
@@ -54,7 +54,7 @@ public class Equals implements Condition { | |||||
/** | /** | ||||
* Set the second argument | * Set the second argument | ||||
* @param arg2 | |||||
* @param arg2 the second argument. | |||||
* @since Ant 1.8 | * @since Ant 1.8 | ||||
*/ | */ | ||||
public void setArg2(Object arg2) { | public void setArg2(Object arg2) { | ||||