You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Sergey V. Udaltsov" <Se...@artificial-life.com> on 2000/07/11 14:07:47 UTC

Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs FixCRLF.java

>   -        if (tlength < 2 || (tlength % 2) != 0) {
>   +        if (tlength < 2 || (tlength & (tlength-1)) == 0) {
Probably, this should be 
(tlength & (tlength-1)) != 0
?
... 0x0100 & 0x00FF == 0

Cheers,

-- 
Sergey V. Udaltsov