ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey V. Udaltsov" <Sergey.Udalt...@artificial-life.com>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs FixCRLF.java
Date Tue, 11 Jul 2000 12:07:47 GMT
>   -        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

Mime
View raw message