eugenegujing commented on code in PR #8647: URL: https://github.com/apache/texera/pull/8647#discussion_r4343866162
########## amber/src/test/scala/org/apache/texera/web/resource/dashboard/hub/HubResourceSpec.scala: ########## @@ -129,6 +129,15 @@ class HubResourceSpec // --------------------------------------------------------------------------- private val thirdUid = 9003 + // An owner whose uid falls inside the java.lang.Integer cache (-128..127), where two + // boxes of the same value are the same object. The isOwner cases below use it next to + // the 9001-9003 uids so both sides of that cache boundary are covered. + private val cachedUid = 42 + // The cache boundary itself. 127 is the highest value java.lang.Integer caches and 128 the + // lowest it does not, so these two are the pair that actually pins where identity stops + // agreeing with value. 42 and 9001 only sit comfortably on either side of them. Review Comment: Reworded in bc028cbc72fdecf9c7a72ae43f8562815613a1b3. -- 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]
