Actions
Bug #10299
closedProbably, a bug in BitVector.isAll{Set,Reset}
Start date:
04/22/2020
Due date:
% Done:
100%
Estimated time:
Detected in build:
git
Platform:
Published in build:
0.4.34-beta-200916
Description
Does it work properly if the bit length is not multiple of 8?
public final boolean isAllSet() {
for(int index = 0; index < this.getByteSize(); ++index) {
if (-1 != this.getByte(index)) {
return false;
}
}
return true;
}
</post>
Updated by Sergey Smolov over 4 years ago
- Status changed from New to Open
The implementation is incorrect. Will be fixed soon.
Updated by Sergey Smolov over 4 years ago
- Status changed from Open to Resolved
- % Done changed from 0 to 100
Updated by Sergey Smolov over 4 years ago
- Status changed from Resolved to Closed
- Published in build set to 0.4.34-beta-200916
Actions