You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by pe...@apache.org on 2006/11/08 23:04:48 UTC

svn commit: r472660 - in /ant/core/trunk/src/main/org/apache/tools/ant: taskdefs/optional/net/FTP.java types/DataType.java types/EnumeratedAttribute.java util/UUEncoder.java

Author: peterreilly
Date: Wed Nov  8 14:04:47 2006
New Revision: 472660

URL: http://svn.apache.org/viewvc?view=rev&rev=472660
Log:
remove tabs

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
    ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java
    ant/core/trunk/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java
    ant/core/trunk/src/main/org/apache/tools/ant/util/UUEncoder.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java?view=diff&rev=472660&r1=472659&r2=472660
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java Wed Nov  8 14:04:47 2006
@@ -1066,7 +1066,7 @@
      * @since Ant 1.7
      */
     public void setAccount(String pAccount) {
-    	this.account = pAccount;
+        this.account = pAccount;
     }
 
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java?view=diff&rev=472660&r1=472659&r2=472660
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/DataType.java Wed Nov  8 14:04:47 2006
@@ -360,8 +360,8 @@
         DataType dt = (DataType) super.clone();
         dt.setDescription(getDescription());
         if (getRefid() != null) {
-	    dt.setRefid(getRefid());
-	}
+            dt.setRefid(getRefid());
+        }
         dt.setChecked(isChecked());
         return dt;
     }

Modified: ant/core/trunk/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java?view=diff&rev=472660&r1=472659&r2=472660
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/types/EnumeratedAttribute.java Wed Nov  8 14:04:47 2006
@@ -65,22 +65,22 @@
      * http://issues.apache.org/bugzilla/show_bug.cgi?id=14831</a>
      */
     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 <code>String</code> value of the attribute
      * @throws BuildException if the value is not valid for the attribute

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/UUEncoder.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/UUEncoder.java?view=diff&rev=472660&r1=472659&r2=472660
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/UUEncoder.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/UUEncoder.java Wed Nov  8 14:04:47 2006
@@ -40,7 +40,7 @@
      * Constructor specifing a name for the encoded buffer, begin
      * line will be:
      * <pre>
-     *	begin 644 [NAME]
+     *   begin 644 [NAME]
      * </pre>
      * @param name the name of the encoded buffer.
      */



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org