Browse Source

fix indentation

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277871 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
9b13568a17
3 changed files with 17 additions and 18 deletions
  1. +12
    -13
      src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Apt.java
  3. +4
    -4
      src/main/org/apache/tools/ant/taskdefs/Javadoc.java

+ 12
- 13
src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java View File

@@ -350,20 +350,19 @@ public abstract class AbstractCvsTask extends Task {
}
log("Caught exception: " + e.getMessage(), Project.MSG_WARN);
} catch (BuildException e) {
if (failOnError) {
throw(e);
}
Throwable t = e.getException();
if (t == null) {
t = e;
}
log("Caught exception: " + t.getMessage(), Project.MSG_WARN);
if (failOnError) {
throw(e);
}
Throwable t = e.getException();
if (t == null) {
t = e;
}
log("Caught exception: " + t.getMessage(), Project.MSG_WARN);
} catch (Exception e) {
if (failOnError) {
throw new BuildException(e, getLocation());
}
log("Caught exception: " + e.getMessage(), Project.MSG_WARN);
if (failOnError) {
throw new BuildException(e, getLocation());
}
log("Caught exception: " + e.getMessage(), Project.MSG_WARN);
}
}



+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Apt.java View File

@@ -61,7 +61,7 @@ public class Apt

/** Constructor for Option */
public Option() {
//default
//default
}

/**


+ 4
- 4
src/main/org/apache/tools/ant/taskdefs/Javadoc.java View File

@@ -270,7 +270,7 @@ public class Javadoc extends Task {
* Default constructor
*/
public SourceFile() {
//empty
//empty
}

/**
@@ -1200,7 +1200,7 @@ public class Javadoc extends Task {
private File packagelistLoc;

public LinkArgument() {
//empty
//empty
}

public void setHref(String hr) {
@@ -1271,7 +1271,7 @@ public class Javadoc extends Task {

/** Sole constructor. */
public TagArgument () {
//empty
//empty
}

/**
@@ -1404,7 +1404,7 @@ public class Javadoc extends Task {
private Vector packages = new Vector();

public GroupArgument() {
//empty
//empty
}

public void setTitle(String src) {


Loading…
Cancel
Save