deniskuzZ commented on a change in pull request #1724: URL: https://github.com/apache/hive/pull/1724#discussion_r553315091
########## File path: ql/src/java/org/apache/hadoop/hive/ql/lockmgr/zookeeper/ZooKeeperHiveLockManager.java ########## @@ -429,9 +430,12 @@ private ZooKeeperHiveLock lockPrimitive(HiveLockObject key, if (child.startsWith(exLock)) { childSeq = getSequenceNumber(child, exLock); } - if ((mode == HiveLockMode.EXCLUSIVE) && child.startsWith(shLock)) { + if ((mode == HiveLockMode.EXCLUSIVE) && (child.startsWith(shLock))) { Review comment: unnecessary brackets ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org