diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java b/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
index ec7d41609..8425fb957 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
@@ -1066,7 +1066,7 @@ public class FTP
* @since Ant 1.7
*/
public void setAccount(String pAccount) {
- this.account = pAccount;
+ this.account = pAccount;
}
diff --git a/src/main/org/apache/tools/ant/types/DataType.java b/src/main/org/apache/tools/ant/types/DataType.java
index 6999a7346..62be261b5 100644
--- a/src/main/org/apache/tools/ant/types/DataType.java
+++ b/src/main/org/apache/tools/ant/types/DataType.java
@@ -360,8 +360,8 @@ public abstract class DataType extends ProjectComponent implements Cloneable {
DataType dt = (DataType) super.clone();
dt.setDescription(getDescription());
if (getRefid() != null) {
- dt.setRefid(getRefid());
- }
+ dt.setRefid(getRefid());
+ }
dt.setChecked(isChecked());
return dt;
}
diff --git a/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java b/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java
index 225ed8c12..8ae036029 100644
--- a/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java
+++ b/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java
@@ -65,22 +65,22 @@ public abstract class EnumeratedAttribute {
* http://issues.apache.org/bugzilla/show_bug.cgi?id=14831
*/
public static EnumeratedAttribute getInstance(
- Class/* extends EnumeratedAttribute>*/ clazz,
- String value) throws BuildException {
- if (!EnumeratedAttribute.class.isAssignableFrom(clazz)) {
- throw new BuildException("You have to provide a subclass from EnumeratedAttribut as clazz-parameter.");
- }
- EnumeratedAttribute ea = null;
- try {
- ea = (EnumeratedAttribute) clazz.newInstance();
- } catch (Exception e) {
- throw new BuildException(e);
- }
- ea.setValue(value);
- return ea;
- }
+ Class/* extends EnumeratedAttribute>*/ clazz,
+ String value) throws BuildException {
+ if (!EnumeratedAttribute.class.isAssignableFrom(clazz)) {
+ throw new BuildException("You have to provide a subclass from EnumeratedAttribut as clazz-parameter.");
+ }
+ EnumeratedAttribute ea = null;
+ try {
+ ea = (EnumeratedAttribute) clazz.newInstance();
+ } catch (Exception e) {
+ throw new BuildException(e);
+ }
+ ea.setValue(value);
+ return ea;
+ }
- /**
+ /**
* Invoked by {@link org.apache.tools.ant.IntrospectionHelper IntrospectionHelper}.
* @param value the String
value of the attribute
* @throws BuildException if the value is not valid for the attribute
diff --git a/src/main/org/apache/tools/ant/util/UUEncoder.java b/src/main/org/apache/tools/ant/util/UUEncoder.java
index 8b8e144e9..9105dacc5 100644
--- a/src/main/org/apache/tools/ant/util/UUEncoder.java
+++ b/src/main/org/apache/tools/ant/util/UUEncoder.java
@@ -40,7 +40,7 @@ public class UUEncoder {
* Constructor specifing a name for the encoded buffer, begin
* line will be:
*
- * begin 644 [NAME] + * begin 644 [NAME] ** @param name the name of the encoded buffer. */