ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs FixCRLF.java
Date Tue, 11 Jul 2000 12:13:11 GMT
bodewig     00/07/11 05:13:11

  Modified:    src/main/org/apache/tools/ant/taskdefs FixCRLF.java
  Log:
  Hope I've got this right this time.
  Submitted by:	Sergey V. Udaltsov <Sergey.Udaltsov@artificial-life.com>
  
  Revision  Changes    Path
  1.10      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java
  
  Index: FixCRLF.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/FixCRLF.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- FixCRLF.java	2000/07/11 12:00:08	1.9
  +++ FixCRLF.java	2000/07/11 12:13:10	1.10
  @@ -179,7 +179,7 @@
        * @param tlength specify the length of tab in spaces, has to be a power of 2
        */
       public void setTablength(int tlength) throws BuildException {
  -        if (tlength < 2 || (tlength & (tlength-1)) == 0) {
  +        if (tlength < 2 || (tlength & (tlength-1)) != 0) {
               throw new BuildException("tablength must be a positive power of 2",
                                        location);
           }
  
  
  

Mime
View raw message