mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
".equals()" should not be used to test the values of "Atomic" classes
This commit is contained in:
parent
242ccc2a01
commit
84a79a9760
@ -305,7 +305,7 @@ public class StandardSession implements WxSession, InternalSession {
|
||||
if (this.isValid != session.isValid) return false;
|
||||
if (this.maxInactiveInterval != session.maxInactiveInterval) return false;
|
||||
if (this.thisAccessedTime != session.thisAccessedTime) return false;
|
||||
if (!this.accessCount.equals(session.accessCount)) return false;
|
||||
if (this.accessCount.get() != session.accessCount.get()) return false;
|
||||
if (!this.attributes.equals(session.attributes)) return false;
|
||||
if (!this.facade.equals(session.facade)) return false;
|
||||
if (!this.id.equals(session.id)) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user