Browse Source

remove tabs

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@472660 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 18 years ago
parent
commit
a7414cb320
4 changed files with 19 additions and 19 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java
  2. +2
    -2
      src/main/org/apache/tools/ant/types/DataType.java
  3. +15
    -15
      src/main/org/apache/tools/ant/types/EnumeratedAttribute.java
  4. +1
    -1
      src/main/org/apache/tools/ant/util/UUEncoder.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java View File

@@ -1066,7 +1066,7 @@ public class FTP
* @since Ant 1.7
*/
public void setAccount(String pAccount) {
this.account = pAccount;
this.account = pAccount;
}




+ 2
- 2
src/main/org/apache/tools/ant/types/DataType.java View File

@@ -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;
}


+ 15
- 15
src/main/org/apache/tools/ant/types/EnumeratedAttribute.java View File

@@ -65,22 +65,22 @@ public abstract class EnumeratedAttribute {
* 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


+ 1
- 1
src/main/org/apache/tools/ant/util/UUEncoder.java View File

@@ -40,7 +40,7 @@ public class UUEncoder {
* 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.
*/


Loading…
Cancel
Save