Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3.4
-
None
Description
The Quata class's andByStorageType method is intended to apply bitwise and to each bit of StorageType.values( ) (the converted value), returning true only if all the values are true.
So the initial value of res should be true and then loop through the array to perform the bitwise and operation.
However, since res starts with fasle, the bitwise and always evaluates to false, so we should fix res to start with true.
Attachments
Attachments
Issue Links
- links to