xiaojunxiang2023 opened a new pull request, #6135: URL: https://github.com/apache/hadoop/pull/6135
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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
