bodewig     2005/03/10 05:05:04

  Modified:    src/main/org/apache/tools/ant/taskdefs AbstractCvsTask.java
                        Apt.java Javadoc.java
  Log:
  fix indentation
  
  Revision  Changes    Path
  1.37      +12 -13    
ant/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java
  
  Index: AbstractCvsTask.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- AbstractCvsTask.java      10 Mar 2005 12:50:57 -0000      1.36
  +++ AbstractCvsTask.java      10 Mar 2005 13:05:03 -0000      1.37
  @@ -350,20 +350,19 @@
               }
               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.8       +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/Apt.java
  
  Index: Apt.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Apt.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Apt.java  10 Mar 2005 12:50:57 -0000      1.7
  +++ Apt.java  10 Mar 2005 13:05:03 -0000      1.8
  @@ -61,7 +61,7 @@
   
           /** Constructor for Option */
           public Option() {
  -                //default
  +            //default
           }
   
           /**
  
  
  
  1.134     +4 -4      ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
  
  Index: Javadoc.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v
  retrieving revision 1.133
  retrieving revision 1.134
  diff -u -r1.133 -r1.134
  --- Javadoc.java      10 Mar 2005 12:50:57 -0000      1.133
  +++ Javadoc.java      10 Mar 2005 13:05:03 -0000      1.134
  @@ -270,7 +270,7 @@
            * Default constructor
            */
           public SourceFile() {
  -                //empty
  +            //empty
           }
   
           /**
  @@ -1200,7 +1200,7 @@
           private File packagelistLoc;
   
           public LinkArgument() {
  -                //empty
  +            //empty
           }
   
           public void setHref(String hr) {
  @@ -1271,7 +1271,7 @@
   
           /** Sole constructor. */
           public TagArgument () {
  -                //empty
  +            //empty
           }
   
           /**
  @@ -1404,7 +1404,7 @@
           private Vector packages = new Vector();
   
           public GroupArgument() {
  -                //empty
  +            //empty
           }
   
           public void setTitle(String src) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to