ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/repository Library.java
Date Fri, 21 Jan 2005 14:27:28 GMT
peterreilly    2005/01/21 06:27:28

  Modified:    src/main/org/apache/tools/ant/taskdefs/repository
                        Library.java
  Log:
  space around operands
  
  Revision  Changes    Path
  1.8       +5 -5      ant/src/main/org/apache/tools/ant/taskdefs/repository/Library.java
  
  Index: Library.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/repository/Library.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Library.java	21 Jan 2005 13:15:34 -0000	1.7
  +++ Library.java	21 Jan 2005 14:27:28 -0000	1.8
  @@ -218,13 +218,13 @@
        */
       public void validate() {
           faultIfEmpty(project, ERROR_NO_PROJECT);
  -        if(archive==null) {
  +        if (archive == null) {
               //adopt the name of the project if no archive is specced
  -            archive=project;
  +            archive = project;
           }
           faultIfEmpty(version, ERROR_NO_VERSION);
  -        if(suffix==null) {
  -            suffix="";
  +        if (suffix == null) {
  +            suffix = "";
           }
       }
   
  @@ -250,7 +250,7 @@
       public void bind(File baseDir, boolean flatten) {
           validate();
           if (destinationName == null) {
  -            if(flatten) {
  +            if (flatten) {
                   destinationName = getNormalFilename();
               } else {
                   destinationName = getMavenPath('/');
  
  
  

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


Mime
View raw message