From a7414cb320c3631615d56227a4dd57aab3680701 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Wed, 8 Nov 2006 22:04:47 +0000 Subject: [PATCH] remove tabs git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@472660 13f79535-47bb-0310-9956-ffa450edef68 --- .../tools/ant/taskdefs/optional/net/FTP.java | 2 +- .../org/apache/tools/ant/types/DataType.java | 4 +-- .../tools/ant/types/EnumeratedAttribute.java | 30 +++++++++---------- .../org/apache/tools/ant/util/UUEncoder.java | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) 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/**/ 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/**/ 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. */